GNOME Bugzilla – Bug 707533
gnome-session 3.9.91 segfaults with
Last modified: 2013-09-09 21:25:24 UTC
when starting gdm, gnome-session 3.9.91 segfaults relavant part of log Sep 04 20:37:22 obadiah gnome-session[5133]: gnome-session[5133]: Gdk-CRITICAL: gdk_x11_display_get_xdisplay: assertion 'GDK_IS_DISPLAY (display)' failed Sep 04 20:37:22 obadiah gnome-session[5133]: Gdk-CRITICAL: gdk_x11_display_get_xdisplay: assertion 'GDK_IS_DISPLAY (display)' failed Sep 04 20:37:22 obadiah kernel: gnome-session[5133]: segfault at 968 ip 00007f8d26489cb1 sp 00007fffe4599620 error 4 in libX11.so.6.3.0[7f8d26452000+131000] This is a bug that was introduced between gnome-session 3.9.90 and 3.9.91 . I have not tried starting gnome-session without gdm, but I imagine it would be the result would be the same. I am not using mutters wayland branch, and gnome-shell is built without wayland
any chance you can get a backtrace ?
I'm not currently not using the distro where I reported this anymore, so its not very convenient. On a cherry note though, I'm now using fedora 20, and gnome-session 3.9.91 is working well for me here, so it must have been a distro specific issue. Sorry for the trouble, Nathan
Okay, so I have a backtrace please let me know if its acceptable.
Created attachment 254328 [details] gnome-session 3.9.91 backtrace
If it helps, gnome-session still gives the same segfault when run without gdm on X. when run in weston with xwayland it gives a big whale screen. and when run in X without GDM with the --whale it displays the whale screen.
it seems like maybe your X server doesn't support the XSync extension? Is there anything "special" about your X server?
Okay, so I finally found the problem. It seems that between gnome-desktop 3.9.90 and 3.9.91 gnome-desktop changed their raw X calls to mutter calls in GnomeIdleMonitor (https://git.gnome.org/browse/gnome-desktop/commit/?id=545c774e967fa2f21f9b8ee1acbb50bffcee01d0) And the new gnome-session 3.9.91 now depends on gnome-desktop using the mutter calls in GnomeIdleMonitor, which means gnome-session 3.9.91 segfaults with gnome-desktop 3.9.90. I'm not sure if an appropriate version of gnome-desktop should be checked in configure.ac, of if it is assumed that people are supposed to always bump their gnome-desktop packages before anything else.
Created attachment 254515 [details] [review] Patch to require gnome-desktop 3.9.91
ah, of course, makes sense.
thanks pushed.