crash in dbus-launch

Ray Strode halfline at gmail.com
Mon Nov 13 08:57:52 PST 2006


Hi guys,

So while looking at an odd Fedora gnome-session bug:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=214649

I noticed that the dbus-launch babysitter process in 0.94 and later
crashes while trying to initialize its X11 code.

It tries to pre-create some X atoms that the autolaunch bits need even
when not using --autolaunch, and the end result is a null pointer
dereference caused by trying to read the machine uuid that would have
been passed to --autolaunch.

The attached patch seems to fix things by bypassing the atom creation
code in the case where we don't use --autolaunch.

--Ray
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-0.95-dont-crash.patch
Type: text/x-patch
Size: 1784 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20061113/2c90478b/dbus-0.95-dont-crash.bin


More information about the dbus mailing list