MASTER nm-applet assert failure: ERROR:applet.c:537:applet_menu_add_items_top_and_fold_sorted_helper: assertion failed: (items)

Bug #436061 reported by Beach Ball
196
This bug affects 37 people
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
Fix Released
High
Unassigned

Bug Description

I clicked on the network icon in the panel and got a message that nm-applet crashed.

ProblemType: Crash
Architecture: i386
AssertionMessage: ERROR:applet.c:537:applet_menu_add_items_top_and_fold_sorted_helper: assertion failed: (items)
CRDA: Error: [Errno 2] No such file or directory
Date: Thu Sep 24 11:30:41 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/nm-applet
Gconf:

IfupdownConfig:
 auto lo
 iface lo inet loopback
IpRoute:
 10.15.0.0/24 dev eth0 proto kernel scope link src 10.15.0.180 metric 1
 169.254.0.0/16 dev eth0 scope link metric 1000
 default via 10.15.0.1 dev eth0 proto static
Package: network-manager-gnome 0.8~a~git.20090923t220421.1ac8ffd-0ubuntu2
ProcCmdline: nm-applet --sm-disable
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.35-generic
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Signal: 6
SourcePackage: network-manager-applet
StacktraceTop:
 __kernel_vsyscall ()
 raise () from /lib/tls/i686/cmov/libc.so.6
 abort () from /lib/tls/i686/cmov/libc.so.6
 g_assertion_message () from /usr/lib/libglib-2.0.so.0
 g_assertion_message_expr () from /usr/lib/libglib-2.0.so.0
Title: nm-applet assert failure: ERROR:applet.c:537:applet_menu_add_items_top_and_fold_sorted_helper: assertion failed: (items)
Uname: Linux 2.6.31-10-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Beach Ball (surfin10) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:__kernel_vsyscall ()
*__GI_raise (sig=6)
*__GI_abort () at abort.c:92
g_assertion_message () from /usr/lib/libglib-2.0.so.0
g_assertion_message_expr () from /usr/lib/libglib-2.0.so.0

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in network-manager-applet (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Alexander Sack (asac) wrote : Re: nm-applet assert failure: ERROR:applet.c:537:applet_menu_add_items_top_and_fold_sorted_helper: assertion failed: (items)

dupe of bug 436242 ... see info there.

visibility: private → public
Changed in network-manager-applet (Ubuntu):
status: New → Triaged
importance: Medium → High
Revision history for this message
Alexander Sack (asac) wrote :

please see my comment here: https://bugs.edge.launchpad.net/ubuntu/+source/network-manager-applet/+bug/436242/comments/2

I think i fixed this in bzr. we kicked off a new build in our daily archive: https://edge.launchpad.net/~network-manager/+archive/trunk ... should be available in a few hours.

summary: - nm-applet assert failure:
+ MASTER nm-applet assert failure:
ERROR:applet.c:537:applet_menu_add_items_top_and_fold_sorted_helper:
assertion failed: (items)
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

turning off kill switch nm-applet dies.

Changed in network-manager-applet (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
Alexander Sack (asac) wrote :

from https://bugs.edge.launchpad.net/ubuntu/+source/network-manager-applet/+bug/436242/comments/4

> Unloading the wifi card module: no crash.
>
> Module loaded; rfkill switch activated: nm-applet crashes. The switch only seems to disconnect the radio without
> telling the driver, though. All the driver knows is that there are no scan results.
>
> Module loaded, no rkfill, networks available: no crash.
>

Thanks. that confirms what I thought.

Changed in network-manager-applet (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Andrew Cowie (afcowie) wrote :

So, I just had an apport crash report. It had the same title as this bug, although reading the comments I'm not sure if it's the same problem. I clicked "it's my bug too" anyway. But should I have done that, or should I have sent in my full stack trace anyway and let you dupe it if indeed it is a dupe?

I have debugging symbols for the GNOME stack on board, which means apport uploads are not small, and it's a shame to waste all this bandwidth if dupes aren't going to use the data.

Suggestions welcome.

AfC

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

This bug was fixed in the package network-manager-applet - 0.8~a~git.20090923t220421.1ac8ffd-0ubuntu4

---------------
network-manager-applet (0.8~a~git.20090923t220421.1ac8ffd-0ubuntu4) karmic; urgency=low

  * LP: #436061 - fix nm-applet crash when no APs in proximity; drop assert on a GList, which
    explicitly can be NULL.
    - update debian/patches/nm08-applet-preview.patch
  * LP: #436179 - nm-applet assert failure: ERROR:applet.c:481:applet_menu_item_favorize_helper:
    assertion failed: (favoritePixbuf); simply return with warning if favorize helper is invoked
    without a favorite pixbuf
    - update debian/patches/nm08-applet-preview.patch
  * important UI tweaks for karmic beta: 1. don't use an icon to indicate favorites/known
    connections - the heart was just too ugly; 2. dont put "Active" separator above the
    current active connection; in turn we make the current AP bold; 3. increase xpadding for
    title items (e.g. Wireless Networks) to 10.0; 4. do not visualize all visible connections
    as active if a device is disconnected.
    - update debian/patches/nm08-applet-preview.patch

 -- Alexander Sack <email address hidden> Fri, 25 Sep 2009 10:08:46 +0200

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