nm-applet segfaults

Bug #690413 reported by Daniel Swarbrick
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

nm-applet fails to start at login, and if started manually, only console output is "Segmentation fault".

dmesg/syslog shows relevant line:

nm-applet[6853]: segfault at 38 ip 000000000042dd4e sp 00007fff608f6d90 error 4 in nm-applet[400000+62000]

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: network-manager-gnome 0.8.3+git.20101209t081952.0330eca-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.37-9.22-generic 2.6.37-rc5
Uname: Linux 2.6.37-9-generic x86_64
Architecture: amd64
CRDA: Error: [Errno 2] No such file or directory
Date: Wed Dec 15 00:02:48 2010
EcryptfsInUse: Yes
Gconf:

InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101214)
IpRoute:
 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.34 metric 1
 169.254.0.0/16 dev eth0 scope link metric 1000
 default via 192.168.1.1 dev eth0 proto static
Keyfiles: Error: [Errno 2] No such file or directory
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: network-manager-applet

Revision history for this message
Daniel Swarbrick (pressureman) wrote :
Revision history for this message
Michael Neuffer (neuffer) wrote :

My nm-applet manages to briefly configure my wlan0 interface before crashing

[44590.873295] nm-applet[5560]: segfault at 38 ip 000000000042dd4e sp 00007fff0ab8d480 error 4 in nm-applet[400000+62000]
[44593.321190] wlan0: authenticate with 00:1f:3f:1a:75:67 (try 1)
[44593.323506] wlan0: authenticated
[44593.323539] wlan0: associate with 00:1f:3f:1a:75:67 (try 1)
[44593.325451] wlan0: RX AssocResp from 00:1f:3f:1a:75:67 (capab=0x431 status=0 aid=3)
[44593.325455] wlan0: associated
[44593.362229] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[44603.650047] wlan0: no IPv6 routers present

Unfortunately after a few seconds the configuration is lost again

          RX bytes:16962 (16.9 KB) TX bytes:7335 (7.3 KB)
wlan0 Link encap:Ethernet HWaddr 00:13:e8:80:5d:c9
          inet6 addr: fe80::213:e8ff:fe80:5dc9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:163 errors:0 dropped:0 overruns:0 frame:0
          TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:29907 (29.9 KB) TX bytes:9266 (9.2 KB)

Revision history for this message
Michael Neuffer (neuffer) wrote :

For a test I downgraded to

-rw-r--r-- 1 root src 75272 2010-08-28 18:05 libnm-glib2_0.8.1+git.20100810t184654.ab580f4-0ubuntu2_amd64.deb
-rw-r--r-- 1 root src 141296 2010-08-28 18:05 libnm-glib-dev_0.8.1+git.20100810t184654.ab580f4-0ubuntu2_amd64.deb
-rw-r--r-- 1 root src 133536 2010-08-28 18:05 libnm-util1_0.8.1+git.20100810t184654.ab580f4-0ubuntu2_amd64.deb
-rw-r--r-- 1 root src 149410 2010-08-28 18:05 libnm-util-dev_0.8.1+git.20100810t184654.ab580f4-0ubuntu2_amd64.deb
-rw-r--r-- 1 root src 448686 2010-08-28 18:05 network-manager_0.8.1+git.20100810t184654.ab580f4-0ubuntu2_amd64.deb
-rw-r--r-- 1 root src 7208 2010-08-28 18:05 network-manager-dev_0.8.1+git.20100810t184654.ab580f4-0ubuntu2_amd64.deb
-rw-r--r-- 1 root src 521122 2010-09-16 21:05 network-manager-gnome_0.8.1+git.20100809t190028.290dc70-0ubuntu3_amd64.deb

And besides that fact that I have this dependency currently prevents a proper configuration of the network-manager[-gnome] packages: isc-dhcp-client (4.1.1-P1-15ubuntu2) breaks network-manager (<< 0.8.2~rc1)

nm-applet doesn't crash and works just fine in this setup.

Revision history for this message
Steffen Rusitschka (rusi) wrote :

Happens on 32-bit, Eee PC 901 netbook, too. Haven't tried the downgrade work-around, yet...

Revision history for this message
Daniel Swarbrick (pressureman) wrote :

I think the patch that was introduced to fix the memory leaks inadvertently also introduced a segfault. Perhaps umalloc()'ing a pointer that hasn't been malloc()'ed?

Revision history for this message
Daniel Swarbrick (pressureman) wrote :

Still segfaulting with package ver 0.8.3+git.20101209t081952.0330eca-0ubuntu1

Revision history for this message
Daniel Swarbrick (pressureman) wrote :

Seems to be working OK now with 0.8.3+git.20101209t081952.0330eca-0ubuntu2

Revision history for this message
Jakub Pawlewicz (pan-mimuw) wrote :

Not for me. I have version 0.8.3+git.20101209t081952.0330eca-0ubuntu2 of network-manager-gnome. For me nm-applet is segfaulting, but not always. It is lottery. I have to reboot several time in order to have network working.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Daniel, the change in ubuntu2 revision was to fix GSM/CDMA devices which would cause nm-applet to segfault at start.

Jakub, could you make sure you are running apport, and if a crash dialog pops up to report a new bug with the crash information. Alternatively, you could check if there is a crash file for nm-applet in /var/crash and attach it to this bug so we can look into the remaining issues.

Revision history for this message
Daniel Swarbrick (pressureman) wrote :

Mathieu, that would possibly make sense, because my Thinkpad T500 has an integrated UMTS modem.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

There was no answer from Jakub sadly, but I'm pretty confident that at least the issue described here is corrected (given that following Daniel's comments, it's fixed on his system). Since the issue is fixed for the original reporter, marking Fix Released.

Anybody still having issues should open a separate bug, it's not unlikely that there are other issues with nm-applet ;)

Changed in network-manager-applet (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.