gnome-session crashed with SIGSEGV in g_main_context_dispatch()

Bug #408481 reported by Nemes Ioan Sorin on 2009-08-03
226
This bug affects 45 people
Affects Status Importance Assigned to Milestone
gnome-session
Fix Released
Critical
gnome-session (Ubuntu)
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-session

after apt-get upgrade I got this error

ProblemType: Crash
Architecture: i386
Date: Sun Aug 2 14:57:25 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gnome-session
Package: gnome-session-bin 2.27.5-0ubuntu1
ProcCmdline: x-session-manager
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-4.23-generic
SegvAnalysis:
 Segfault happened at: 0x805754d <gtk_tree_model_iter_n_children@plt+24285>: mov 0x8(%eax),%ebx
 PC (0x0805754d) ok
 source "0x8(%eax)" (0x00000008) not located in a known VMA region (needed readable region)!
 destination "%ebx" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gnome-session
StacktraceTop:
 ?? ()
 ?? ()
 ?? () from /usr/lib/libglib-2.0.so.0
 g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
 ?? () from /usr/lib/libglib-2.0.so.0
Title: gnome-session crashed with SIGSEGV in g_main_context_dispatch()
Uname: Linux 2.6.31-4-generic i686
UserGroups: adm admin audio avahi avahi-autoipd cdrom debian-xfs dhcp dialout dip fax floppy fuse haldaemon libuuid lpadmin messagebus mlocate netdev ntp plugdev polkituser sambashare saned scanner tape users uucp vboxusers video

Nemes Ioan Sorin (nemes-sorin) wrote :

StacktraceTop:prop_to_command (prop=<value optimized out>)
_on_query_end_session_timeout (manager=0x9c8a020)
g_timeout_dispatch (source=0x9e5b830, callback=0,
IA__g_main_context_dispatch (context=0x9c4e438)
g_main_context_iterate (context=0x9c4e438,

Changed in gnome-session (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Pedro Villavicencio (pedro) wrote :

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: http://bugzilla.gnome.org/show_bug.cgi?id=590828

Changed in gnome-session (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
status: New → Triaged
visibility: private → public
Changed in gnome-session:
status: Unknown → New
Chris Coulson (chrisccoulson) wrote :

This is actually crashing when you log out, but you get the crash report on the next session. I can see whats happening here and will submit a patch for this upstream. Just out of interest, what applications do you still have open when you end your session?

inode77 (simon-gerber) wrote :

Normally it's synergy, screen, urxvtd that are still running.
(I konw the question wasn't really directed at me)

Chris Coulson (chrisccoulson) wrote :

It was directed at anybody experiencing this bug

Thanks!

DougEdey (doug-edey) wrote :

I see this with Screen running too. I normally have loads of programs (I'm a lazy shutdown man)

Lotus Sametime
Lotus Notes
Gnome-terminal
Pidgin
Adobe Air
Java

Chris Coulson (chrisccoulson) wrote :

Does the crash stop happening if you disable synergy? It's the only one of those that links against libsm, so my guess would be that one which triggers it

inode77 (simon-gerber) wrote :

I use synergy daily for work and start it with gnome session automatically.
I'm gonna try and disable synergy to test further.
Is there a possability to invoke a kill command somewhere when shutdown or reboot commands are issued so synergy would not "lock" and crash.

Chris Coulson (chrisccoulson) wrote :

I've just uploaded a version of gnome-session to my PPA which should fix this crash. What should happen now is that you should see the inhibit dialog telling you that an application is not responding.

Please test it and let me know what happens, and then I will send the patch upstream.

My PPA is at https://edge.launchpad.net/~chrisccoulson/+archive/ppa

Thanks

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-session - 2.28.0-0ubuntu1

---------------
gnome-session (2.28.0-0ubuntu1) karmic; urgency=low

  * New upstream version:
    - Trivial code fixes
    - Lock the screen before hibernate/suspend (lp: #428115)
  * debian/patches/98_autotools.patch:
    - new version update

  [ Chris Coulson ]
  * debian/patches/97_fix_query_end_session_crash.patch:
    - Don't crash on XSMP clients which don't respond to SaveYourself
      within the timeout, and which don't have a SmProgram property set
      (lp: #408481, #432692, #433302)

 -- Sebastien Bacher <email address hidden> Tue, 22 Sep 2009 00:39:18 +0200

Changed in gnome-session (Ubuntu):
status: Triaged → Fix Released
Changed in gnome-session:
importance: Unknown → Critical
Changed in gnome-session:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.