FS#32456 - [gnome-shell] crashes when trying to open the status menu

Attached to Project: Arch Linux
Opened by Martin Vielsmaier (moser) - Sunday, 04 November 2012, 13:45 GMT
Last edited by Jan de Groot (JGC) - Monday, 01 July 2013, 09:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

When I click on my name in the upper right corner to open the status menu, gnome-shell crashes.

log output from journalctl:
[...]
Nov 04 10:32:21 localhost gnome-session[1575]: GLib-CRITICAL: g_variant_get_va: assertion `value != NULL' failed
Nov 04 10:32:21 localhost gnome-session[1575]: GLib-CRITICAL: g_variant_unref: assertion `value != NULL' failed
Nov 04 10:32:21 localhost gnome-session[1575]: ******************* START ********************************
Nov 04 10:32:21 localhost gnome-session[1575]: Frame 0: gnome-session() [0x41c349]
Nov 04 10:32:21 localhost gnome-session[1575]: Frame 1: gnome-session() [0x41c71a]
Nov 04 10:32:21 localhost gnome-session[1575]: Frame 2: /usr/lib/libc.so.6(+0x35050) [0x7ff6142e3050]
Nov 04 10:32:21 localhost gnome-session[1575]: Frame 3: /usr/lib/libc.so.6(gsignal+0x35) [0x7ff6142e2fd5]
Nov 04 10:32:21 localhost gnome-session[1575]: Frame 4: /usr/lib/libc.so.6(abort+0x148) [0x7ff6142e4458]
Nov 04 10:32:21 localhost gnome-session[1575]: Frame 5: /usr/lib/libc.so.6(+0x73cfb) [0x7ff614321cfb]
Nov 04 10:32:21 localhost gnome-session[1575]: Frame 6: /usr/lib/libc.so.6(+0x798a6) [0x7ff6143278a6]
Nov 04 10:32:21 localhost gnome-session[1575]: Frame 7: gnome-session() [0x417425]
Nov 04 10:32:21 localhost gnome-session[1575]: Frame 8: gnome-session() [0x423030]
Nov 04 10:32:21 localhost gnome-session[1575]: Frame 9: gnome-session() [0x420314]
Nov 04 10:32:21 localhost gnome-session[1575]: Frame 10: /usr/lib/libdbus-glib-1.so.2(+0xd2f2) [0x7ff615bb62f2]
Nov 04 10:32:21 localhost gnome-session[1575]: Frame 11: /usr/lib/libdbus-1.so.3(+0x1ddc5) [0x7ff615980dc5]
Nov 04 10:32:21 localhost gnome-session[1575]: Frame 12: /usr/lib/libdbus-1.so.3(dbus_connection_dispatch+0x3a0) [0x7ff615973020]
Nov 04 10:32:21 localhost gnome-session[1575]: Frame 13: /usr/lib/libdbus-glib-1.so.2(+0xad95) [0x7ff615bb3d95]
Nov 04 10:32:21 localhost gnome-session[1575]: Frame 14: /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x135) [0x7ff614aac865]

Package versions:
$ pacman -Q | grep gnome
gnome-applets 3.5.92-1
gnome-backgrounds 3.6.0-1
gnome-bluetooth 3.6.0-2
gnome-contacts 3.6.1-1
gnome-control-center 3.6.2-1
gnome-desktop 1:3.6.1-1
gnome-disk-utility 3.6.1-1
gnome-icon-theme 3.6.0-1
gnome-icon-theme-extras 3.4.0-1
gnome-icon-theme-symbolic 3.6.0-1
gnome-js-common 0.1.2-2
gnome-keyring 3.6.1-1
gnome-menus 3.6.0-1
gnome-mime-data 2.18.0-6
gnome-mplayer 1.0.7-1
gnome-nettool 3.2.0-1
gnome-online-accounts 3.6.0-1
gnome-panel 3.6.0-1
gnome-power-manager 3.6.0-1
gnome-screensaver 3.6.1-1
gnome-screenshot 3.6.0-1
gnome-session 3.6.1-1
gnome-settings-daemon 3.6.1-2
gnome-shell 3.6.1-3
gnome-system-monitor 3.6.0-1
gnome-terminal 3.6.0-1
gnome-themes-standard 3.6.1-1
gnome-tweak-tool 3.6.1-1
gnome-user-docs 3.6.0-1
gnome-vfs 2.24.4-6
gnome-video-effects 0.4.0-2
libgnome 2.32.1-3
libgnome-data 2.32.1-3
libgnome-keyring 3.6.0-1
libgnomecanvas 2.30.3-2
libgnomekbd 3.6.0-1
libgnomeui 2.24.5-1
libsoup-gnome 2.40.1-1
polkit-gnome 0.105-1

$ pacman -Q | grep gtk
clutter-gtk 1.4.0-1
gtk-engines 2.21.0-1
gtk-sharp-2 2.12.11-1
gtk-update-icon-cache 2.24.13-1
gtk2 2.24.13-1
gtk3 3.6.1-1
gtkhtml 3.32.2-3
gtkhtml4 4.6.0-1
gtkmm 2.24.2-2
gtkmm3 3.6.0-1
gtksourceview3 3.6.0-1
gtkspell 2.0.16-2
lib32-gtk2 2.24.13-1
pygtk 2.24.0-3
webkitgtk2 1.10.1-1
webkitgtk3 1.10.1-1
xdg-user-dirs-gtk 0.9-1
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 01 July 2013, 09:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  Upstream report indicates this is fixed.
Comment by Martin Vielsmaier (moser) - Sunday, 04 November 2012, 13:49 GMT
Can I do something to provide you with better debug output? (function names instead of hex offsets)
Are there other log files that could help you? (~/.xsession-errors was not created)
Comment by Martin Vielsmaier (moser) - Sunday, 04 November 2012, 13:50 GMT
Forgot to mention my glibc version:
glibc 2.16.0-5
Comment by Martin Vielsmaier (moser) - Sunday, 04 November 2012, 17:15 GMT Comment by Graeme Wheeler (SofaCitizen) - Tuesday, 20 November 2012, 18:37 GMT
I had this same issue on a brand new install.

I fixed it by setting a User Account Picture via System Settings as seen @ http://askubuntu.com/questions/78590/gnome-shell-menu-crashes

It's not a fix, but a work around that might work for you also?
Comment by Anton Ageev (antage) - Saturday, 22 December 2012, 22:33 GMT
I have same problem with gnome-session 3.6.2-1. I started /usr/bin/gnome-session in gdb and saw that problem is at gsm-systemd.c:370.
I wrote simple patch that fixes the problem. Need code review.
Comment by Emma Bordiga (oddfox) - Sunday, 23 December 2012, 02:28 GMT
Anton's patch works fine for me here, even with the gnome-session-ubuntu PKGBUILD from the Unity-For-Arch git repo.
Comment by Anton Ageev (antage) - Sunday, 23 December 2012, 12:36 GMT
It's very strange but gnome-session doesn't crashes even without my patch now.

I want to debug the following line to see a error that is returned by g_dbus_proxy_call_sync but there is no error now :(

res = g_dbus_proxy_call_sync (manager->priv->sd_proxy,
"CanPowerOff",
NULL,
0,
G_MAXINT,
NULL,
NULL);


I attach a patch that should to log warning with error message from above line. If anyone can to see what error is returned when gnome-session is crashing, please post it here.

Loading...