GNOME Bugzilla – Bug 711238
segfault in notify_have_shell()
Last modified: 2013-11-09 12:18:24 UTC
The bug has been reported on https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1232419 There is no useful bug description, it might be happening at logout... Stacktrace from 3.8.1 "#0 0x00007fd23205ec76 in notify_have_shell (manager=0x7fd22c013de0, have_shell=0) at gsd-xsettings-manager.c:719 i = 0 __PRETTY_FUNCTION__ = "notify_have_shell"
+ Trace 232692
The issue is not distribution specific, fedora has similar reports, e.g https://bugzilla.redhat.com/show_bug.cgi?id=967087
Looks like we should stop watching the bus name when we stop the the xsettings manager ?
We already do, see shell_name_watch_id(). And 3.8.1? There were 5 bug fixes in the meanwhile.
https://bugzilla.redhat.com/show_bug.cgi?id=967087 is from 3.8.1, the most recent duplicate in Ubuntu (https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1238454) is from 3.8.5
Created attachment 259302 [details] [review] xsettings: unwatch dbus before destroying xsettings managers fix possible race since notify_have_shell is getting called after the managers are destroyed.
Created attachment 259303 [details] [review] xsettings: unwatch dbus before destroying xsettings managers fix possible race since notify_have_shell is getting called after the managers are destroyed.
Created attachment 259306 [details] [review] xsettings: unwatch dbus before destroying xsettings managers fix possible race since notify_have_shell is getting called after the managers are destroyed. make access to priv object consistent with rest of the function
Attachment 259306 [details] pushed as a1acdc0 - xsettings: unwatch dbus before destroying xsettings managers