GNOME Bugzilla – Bug 637949
Apps crash on start when using startup notification
Last modified: 2010-12-27 06:04:57 UTC
I can't start most apps from .desktop files (from gnome-panel, gnome-shell, or even nautilus). It turns out it's a crash happening in gdk when startup notification is used. Program received signal SIGSEGV, Segmentation fault. 0xb7200941 in XInternAtom () from /usr/lib/libX11.so.6 (gdb) bt
+ Trace 225240
XInternAtom() is called with display = NULL, so I guess the GdkDisplay isn't completely initialized.
Oh, and if people want to enjoy gdb in such a case: edit a .desktop file that has StartupNotify=true (for example, gcalctool.desktop) and replace the Exec line with "xterm -e gdb gcalctool". Or define the right environment variable (DESKTOP_STARTUP_ID).
*** Bug 637960 has been marked as a duplicate of this bug. ***
Sorry about that, should be fixed now