nm-applet leaks memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
High
|
James M. Leddy | ||
Precise |
Fix Released
|
High
|
James M. Leddy | ||
Quantal |
Fix Released
|
High
|
James M. Leddy | ||
network-manager-applet (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
Precise |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
Quantal |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
The nm-applet embedded in the task bar becomes indeterminestically unresponsive. Clicking on the applet will still show the popup menu, but none of the menu entries respond to mouse clicks. When this happens, the "VPN connections" and "Other networks" menus also show up completely empty (only a small menu stub is displayed).
It is uncertain what causes this behavior. It was originally thought that the cause was memory leaks in nm-applet: nm-applet leaks memory in a fresh install of Natty, increasing to over 200 Mb in 6-8 hours. However, fixes for the memory leaks failed to resolve the occurrence of the anomalous behavior described above.
dbus-monitor shows errors such as the following when clicking a menu item or attempting to access a submenu:
error sender=:1.14 -> dest=:1.67 error_name=
string "The IDs supplied '[80846]' do not refer to any menu items we have"
The errors are returned by bus_event_group or bus_about_
--
Stable Release Update Application:
[Impact]
This issue affects most and any users of nm-applet, especially in environments (such as offices) where the detected wireless networks change a lot, and where roaming can occur frequently.
[Test Case]
Run nm-applet for multiple hours:
- Observe that the VPN Connections submenu still opens and lists connections (if VPN connections are configured)
- Observe that the "More networks" submenu for additional detected wireless networks still opens and lists networks.
A common failure case is where such a submenu will open but show an empty list (a piece of menu a few milimeters long).
[Regression Potential]
Minimal, the fixes have been available for a while in the development release (and in other recent releases) with no regressions; furthermore, this corrects "obviously" wrong memory handling without changing the effective behavior of the application.
Possible issues could be introducing new memory leaks with the changes however, and although the risk is minimal, this could cause the same failure behavior as listed above under [Test Case].
--
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: network-
ProcVersionSign
Uname: Linux 2.6.38-
NonfreeKernelMo
Architecture: i386
CRDA: Error: [Errno 2] No such file or directory
Date: Tue May 10 11:53:09 2011
EcryptfsInUse: Yes
IfupdownConfig:
auto lo
iface lo inet loopback
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110413)
IpRoute:
192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.12 metric 1
169.254.0.0/16 dev eth0 scope link metric 1000
default via 192.168.2.1 dev eth0 proto static
Keyfiles: Error: [Errno 2] No such file or directory
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
ProcEnviron:
LANGUAGE=en_CA:en
PATH=(custom, user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: network-
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Mathieu Trudel-Lapierre: Approve
-
Diff: 1668 lines (+606/-160)5 files modifieddebian/changelog (+13/-0)
debian/patches/git_fix_some_leaks_80ef61b.patch (+336/-0)
debian/patches/git_mac_addr_string_leakage_6dae878.patch (+94/-0)
debian/patches/nm-applet-use-indicator.patch (+161/-160)
debian/patches/series (+2/-0)
- Charles Kerr (community): Approve
-
Diff: 211 lines (+83/-78)1 file modifiedsrc/bridge.c (+83/-78)
Changed in oem-priority: | |
importance: | Undecided → High |
tags: | added: regression-release rls-q-incomming |
Changed in oem-priority: | |
status: | Incomplete → Confirmed |
Changed in network-manager-applet (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in network-manager-applet (Ubuntu Precise): | |
importance: | Undecided → High |
Changed in network-manager-applet (Ubuntu Quantal): | |
importance: | Undecided → High |
Changed in network-manager-applet (Ubuntu Precise): | |
status: | New → In Progress |
Changed in network-manager-applet (Ubuntu Quantal): | |
status: | New → Incomplete |
description: | updated |
Changed in appmenu-gtk (Ubuntu): | |
status: | New → Fix Released |
Changed in appmenu-gtk (Ubuntu Quantal): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in appmenu-gtk (Ubuntu Precise): | |
importance: | Undecided → Medium |
Changed in appmenu-gtk (Ubuntu Quantal): | |
status: | In Progress → Fix Released |
Changed in appmenu-gtk (Ubuntu Precise): | |
status: | New → In Progress |
no longer affects: | appmenu-gtk (Ubuntu) |
no longer affects: | appmenu-gtk (Ubuntu Precise) |
no longer affects: | appmenu-gtk (Ubuntu Quantal) |
Changed in network-manager-applet (Ubuntu Precise): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed |
summary: |
- nm-applet leaks memory and stops functioning after a while + nm-applet becomes unresponsive to interactions and submenus such as 'VPN + Connections' show completly empty |
description: | updated |
Changed in libdbusmenu (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Charles Kerr (charlesk) |
Changed in network-manager-applet (Ubuntu): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in network-manager-applet (Ubuntu Precise): | |
assignee: | Charles Kerr (charlesk) → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in network-manager-applet (Ubuntu Quantal): | |
assignee: | Charles Kerr (charlesk) → Mathieu Trudel-Lapierre (mathieu-tl) |
description: | updated |
tags: |
added: verification-done removed: verification-failed |
summary: |
- nm-applet becomes unresponsive to interactions and submenus such as 'VPN - Connections' show completly empty + nm-applet leaks memory and stops functioning after a while |
tags: | added: verification-done-precise verification-done-quantal |
Changed in network-manager-applet (Ubuntu Quantal): | |
status: | Confirmed → Fix Released |
Changed in oem-priority: | |
status: | Fix Committed → Fix Released |
summary: |
- nm-applet leaks memory and stops functioning after a while + nm-applet leaks memory |
Changed in libdbusmenu (Ubuntu): | |
status: | Confirmed → Invalid |
no longer affects: | libdbusmenu (Ubuntu) |
I don't use any VPNs nor other networks, simply Wifi networks and this is what I got after 9 days of uptime:
fenio 1827 0.0 32.2 968800 633852 ? SLl May01 5:32 nm-applet --sm-disable
633MBs of RAM.
And on my girlfriend's laptop after 4 days 158MB.
sylwia 1602 0.0 15.6 321632 158792 ? Sl May06 3:14 nm-applet --sm-disable
It's quite obvious that there has to be some huge memory leak somewhere.
regards
fEnIo