Bug 121901

Summary: NetworkManager: nm-applet constantly locks up
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Dan Elder <delder>
Component: GNOMEAssignee: Robert Love <rml>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: All   
Whiteboard:
Found By: Third Party Developer/Partner Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Output of nm-applet starting up and then locking up after selecting a network

Description Dan Elder 2005-10-09 22:22:36 UTC
Whenever I try to perform most tasks via nm-applet the applet will lock up and
stock responding.  This occurs when I try to switch between wireless networks
(WEP enabled, never prompts for a password), when it's first launched
immediately after it connects to my existing WEP enabled network manager and
gets an address, and after resuming from a suspend to ram event.  Killing
nm-applet will re-launch it but the applet will lockup again as soon as it's
launched.  Restarting networkmanager will allow the applet to startup and
connect to a network but it will still lockup once it has. I'll attach strace
output shortly.
Thanks,
Dan

NetworkManager-debuginfo-0.4.1cvs20050901-2
NetworkManager-gnome-0.4.1cvs20050901-2
NetworkManager-glib-0.4.1cvs20050901-2
NetworkManager-devel-0.4.1cvs20050901-2
NetworkManager-vpnc-0.3cvs20050901-2
NetworkManager-vpnc-debuginfo-0.3cvs20050901-2
NetworkManager-0.4.1cvs20050901-2
Comment 1 Dan Elder 2005-10-09 22:23:27 UTC
Created attachment 52050 [details]
Output of nm-applet starting up and then locking up after selecting a network
Comment 2 Dan Elder 2005-10-17 22:46:58 UTC
I've rebuilt NetworkManager and all of the associated packages from srpms and still no luck.  Something about nm-applet causes a segfault or something else during certain X events.  This is probably the same problem I'm seeing with bug # 121884 from the nm-applet.  Sometimes it will be able to succesfully prompt me for a WEP key but often it will just hang.  Sometimes it won't load in the panel at all but most of the time it will load, connect, and then freeze.  If nm-applet is launched after a wireless connection is already made sometimes it will actually work for a short time (wireless access points are listed, network interfaces are listed) until any changes are made through it (change network, etc...) and then it will lock back up.  Any suggestions of what debug information would help would be appreciated.  I'm not too handy with gdb but wouldn't mind digging into it.
Thanks,
Dan
Comment 3 Dan Elder 2005-10-20 20:38:30 UTC
I've performed a complete re-install from scratch (previously it was an upgraded rc1 install) from the comercial dvd with networkmanager installed from the start and am still running into the exact same problem (nm-applet lockup and the vpn auth dialog locking up).  I tried building the 0.5 release but ran into the same problem as you encountered (http://mail.gnome.org/archives/networkmanager-list/2005-October/msg00068.html).  I haven't been able to reproduce this at all on an i586 build, just x86_64 so it's something arch dependent apparently.
Comment 4 Robert Love 2005-10-20 20:43:46 UTC
The problem we both encountered is that NM now requires a newer wireless-tools.

I have CVS snapshots of both NM and wireless-tools built, but for i586.  Since you seem capable and willing (the best!), you could try rebuilding these source RPM's on x86-64:

http://primates.ximian.com/~rml/networkmanager/SRPMS/

And see if the problem is resolved.  It very well might be.
Comment 5 Dan Elder 2005-10-20 21:37:25 UTC
Ah, excellent work!  NetworkManager now works flawlessly on my system.  Switching between wired and wireless networks has never been easier.  I feel closer to Utopia already.  I had to rebuild the icon cache with gtk-update-icon-cache -f /opt/gnome/share/icons/hicolor/ but that seems to be a known issue and is an easy solution in any event.  nm-vpnc-auth-dialog still crashes on me for whatever reason but that's not all that important and I'll file that under the correct bug #.  Thank you very much for a job well done.  I've posted the bundle of all the rpms built for x86_64 to http://dan.novacoast.com/nm-0.5.tar.bz2 in case anyone else needs them.
Cheers,
Dan
Comment 6 Robert Love 2005-10-20 22:25:59 UTC
Great!