FS#29222 - [gnome-shell] fails to start without network-manager-daemon

Attached to Project: Arch Linux
Opened by Otto Allmendinger (OttoA) - Sunday, 01 April 2012, 15:33 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 24 April 2012, 08:05 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Ionut Biru (wonder)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

I am setting my network config in /etc/rc.conf and usually don't have the networkmanager daemon running.

Before gnome3.4, the indicator just didn't appear in the shell. Now the gnome-shell crashes with "something has gone wrong". Starting networkmanager daemon fixes it and luckily doesn't interfere with the /etc/rc.conf configuration.

.xsession-errors attached

relevant snippet


*** glibc detected *** /usr/bin/gnome-shell: free(): invalid pointer: 0xb77278a0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x726a2)[0xb6f4b6a2]
/usr/lib/libglib-2.0.so.0(+0x4c89b)[0xb70e289b]
/usr/lib/libglib-2.0.so.0(g_free+0x20)[0xb70e2a10]
/usr/lib/libglib-2.0.so.0(g_error_free+0x29)[0xb70c89d9]
/usr/lib/libnm-glib.so.4(+0x20cfd)[0xb66f6cfd]
/usr/lib/libnm-glib.so.4(nm_remote_settings_list_connections+0x8a)[0xb66f8a0a]
This task depends upon

Closed by  Ionut Biru (wonder)
Tuesday, 24 April 2012, 08:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  networkmanager 0.9.4.0-3
Comment by Ionut Biru (wonder) - Sunday, 01 April 2012, 16:09 GMT
recompile gnome-shell with debug symbols and get a problem gdb trace.
https://wiki.archlinux.org/index.php/Step_By_Step_Debugging_Guide
Comment by Michele Scandale (skadotnet) - Monday, 02 April 2012, 02:21 GMT
I've noticed the same problem, I verified that if you start networkmanager daemon then gnome-shell starts correctly. Given the fact that I also do not use network manager, my personal workaround is to disable the network status applet of gnome-shell.

# cd /usr/share/gnome-shell/js/ui/status
# mv network.js network.js.disabled

This will prevent the loading of the status applet of networking, and solved temporarily the problem for my case :-).

If I have time, I will try to investigate more accurately.
Comment by Jan Alexander Steffens (heftig) - Monday, 02 April 2012, 07:16 GMT
Also compile NM with debug symbols, please.

This patch to NM could fix the problem, please test it as well: http://pkgbuild.com/~heftig/nm.patch
Comment by Tomas M. (eldragon) - Monday, 23 April 2012, 23:25 GMT
yep, that patch works here.
Comment by Ionut Biru (wonder) - Tuesday, 24 April 2012, 08:05 GMT
thanks for testing.

Loading...