vpn submenu suddenly empty

Bug #960535 reported by Ralf Hildebrandt
62
This bug affects 13 people
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I reported the very same bug 2 or 3 releases ago. As you can see from the attached screenshot, the VPN submenu is empty.
Yet I still can see a VPN connection when editing connections.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: network-manager-gnome 0.9.3.995+git.20120313t141231.c89224f-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-19.30-generic 3.2.11
Uname: Linux 3.2.0-19-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Tue Mar 20 20:16:24 2012
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
IpRoute:
 default via 192.168.178.1 dev wlan0 proto static
 169.254.0.0/16 dev wlan0 scope link metric 1000
 192.168.178.0/24 dev wlan0 proto kernel scope link src 192.168.178.38 metric 2
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=false
 WimaxEnabled=true
SourcePackage: network-manager-applet
UpgradeStatus: Upgraded to precise on 2012-02-21 (28 days ago)
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/1
 eth0 802-3-ethernet unavailable /org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
 running 0.9.3.995 connected enabled enabled enabled enabled disabled

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :
Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

Stopping nm-applet and restarting it makes the menu work again.
But as to why it suddenly became unusable is unclear.

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

Well, it's most likely a side-effect of a memory leak. I changed the way the menus got updated again during the release, but we also (again) fixed a number more of leaks in code. I think this has perhaps been really fixed now.

There's just one report I had of such issues after running a VPN for a number of hours. What would be useful would be to also have valgrind logs; which might help identifying the issue.

Changed in network-manager-applet (Ubuntu):
status: New → Incomplete
Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

Looking at the menus shows that ALL submenus are affected (not only "VPN Connections"): "more networks" is also empty.

When that happens, the functionality is also reduced: "Connection information" doesn't do anything, "Edit Connections" doesn't do anything, nothing works.. I also cannot disconnect from my current WLAN.

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

stracing the process results in:

recvfrom(5, "a\2\312\rm%M\22\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\37%\3\0\0", 4096, 0, NULL, NULL) = 32
recvfrom(5, 0x1e0eff4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(5, 0x1e0eff4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=12, events=POLLIN}, {fd=16, events=POLLIN}, {fd=14, events=POLLIN}, {fd=15, events=POLLIN}, {fd=13, events=POLLIN}, {fd=11, events=POLLIN}], 10, -1) = 1 ([{fd=5, revents=POLLIN}])
read(3, 0x7fffaeb9d500, 16) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(5, "a\2\312\r-&M\22\3\4\4\0\0\0\0\0\0\0\0\4\4\4\4\4\0\0\3\37%\2\0\0", 4096, 0, NULL, NULL) = 32
recvfrom(5, 0x1e0eff4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(5, 0x1e0eff4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=9, events=POLLIN}, {fd=10, events=POLLIN}, {fd=12, events=POLLIN}, {fd=16, events=POLLIN}, {fd=14, events=POLLIN}, {fd=15, events=POLLIN}, {fd=13, events=POLLIN}, {fd=11, events=POLLIN}], 10, -1^C <unfinished ...>

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

But then the strace doesn't differ much from the strace of a "working" nm-applet.

Revision history for this message
Eloy Paris (peloy-chapus) wrote :

There seem to be lots of reports about this same behavior. Bug #930563 is the earliest bug I've been able to find, but I am still looking for the first report, i.e. master bug.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for network-manager-applet (Ubuntu) because there has been no activity for 60 days.]

Changed in network-manager-applet (Ubuntu):
status: Incomplete → Expired
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.