nm-applet crashed with SIGSEGV in add_menu_item()
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Network Manager Applet |
Fix Released
|
Medium
|
||
| | network-manager-applet (Ubuntu) |
Medium
|
Mathieu Trudel-Lapierre | ||
| | Vivid |
Medium
|
Mathieu Trudel-Lapierre | ||
Bug Description
[Impact]
If for any reason ModemManager is unavailable or unable to understand the modem device that pops up as broadband (also, in the case of Desktop-Next), NM-applet may crash due to expecting that there is always a devinfo object from the ModemManager data.
[Test case]
Install, use desktop, with ModemManager disabled.
[Regression potential]
Minimal, this is a patch from upstream which covers a known issue with NM in case ModemManager is unavailable to answer requests; what may happen as a result of devinfo being unavailable but NM continuing without crashing is that icons and pretty device names or signal level might be unavailable.
---
Crash when trying to install the system.
ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: network-
ProcVersionSign
Uname: Linux 3.18.0-12-generic x86_64
ApportVersion: 2.15.1-0ubuntu4
Architecture: amd64
CasperVersion: 1.350
CurrentDesktop: Unity
Date: Thu Feb 5 00:14:28 2015
ExecutablePath: /usr/bin/nm-applet
IfupdownConfig:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
IpRoute:
default via 192.168.179.1 dev wlan0 proto static metric 1024
169.254.0.0/16 dev wlan0 scope link metric 1000
192.168.179.0/24 dev wlan0 proto kernel scope link src 192.168.179.24
LiveMediaBuild: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150203)
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
WimaxEnabled=true
ProcCmdline: nm-applet
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SegvAnalysis:
Segfault happened at: 0x4327a0: mov 0x18(%r14),%rdi
PC (0x004327a0) ok
source "0x18(%r14)" (0x00000018) not located in a known VMA region (needed readable region)!
destination "%rdi" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: network-
StacktraceTop:
?? ()
?? ()
?? ()
?? ()
g_main_
Title: nm-applet crashed with SIGSEGV in g_main_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
nmcli-con:
NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH
WiiNET 0fb694d1-
Wired connection 1 ee5250e7-
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
wlan0 wifi connected /org/freedeskto
eth0 ethernet unavailable /org/freedeskto
ttyACM1 gsm unavailable /org/freedeskto
lo loopback unmanaged /org/freedeskto
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.
| Blümchen Blau (bluemchen-blau) wrote : | #1 |
| Apport retracing service (apport) wrote : | #2 |
| Changed in network-manager-applet (Ubuntu): | |
| importance: | Undecided → Medium |
| summary: |
- nm-applet crashed with SIGSEGV in g_main_context_dispatch() + nm-applet crashed with SIGSEGV in add_menu_item() |
| tags: | removed: need-amd64-retrace |
| Launchpad Janitor (janitor) wrote : | #6 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in network-manager-applet (Ubuntu): | |
| status: | New → Confirmed |
| tags: | added: bugpattern-needed |
| Launchpad Janitor (janitor) wrote : | #7 |
This bug was fixed in the package network-
---------------
network-
* debian/
to NULL. Thanks to Patrik Fimml for the patch. (LP: #1046210)
* debian/
a 30 second timeout, so as to make sure the menu update can't run until
foo_
* debian/
or vlan devices: they were only recently added to NM and nm-applet, and
given that they are usually not managed, showing them tends to be
confusing since they are usually the result of underlying software which
might not expect their state to get changed by NM. (LP: #1423819)
-- Mathieu Trudel-Lapierre <email address hidden> Wed, 01 Apr 2015 16:59:35 -0400
| Changed in network-manager-applet (Ubuntu): | |
| status: | Confirmed → Fix Released |
So, looks like this is still broken, reopening...
| Changed in network-manager-applet (Ubuntu): | |
| status: | Fix Released → New |
| information type: | Private → Public |
| Changed in network-manager-applet (Ubuntu): | |
| status: | New → Triaged |
| Changed in network-manager-applet: | |
| importance: | Unknown → Medium |
| status: | Unknown → Confirmed |
| Changed in network-manager-applet (Ubuntu Vivid): | |
| status: | New → Triaged |
| importance: | Undecided → Medium |
| Changed in network-manager-applet (Ubuntu): | |
| status: | Triaged → In Progress |
| assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
| Changed in network-manager-applet (Ubuntu Vivid): | |
| assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
| status: | Triaged → In Progress |
| description: | updated |
| Launchpad Janitor (janitor) wrote : | #9 |
This bug was fixed in the package network-
---------------
network-
* debian/
when ModemManager is not available. (LP: #1418260)
-- Mathieu Trudel-Lapierre <email address hidden> Fri, 10 Jul 2015 16:11:48 -0400
| Changed in network-manager-applet (Ubuntu): | |
| status: | In Progress → Fix Released |
| Shevek (r-launchpad-anarres-org) wrote : | #10 |
I have an LTE WWAN; these things are somewhat asynchronous, so the diagnosis doesn't surprise me. It is important to test that when the WWAN _does_ finally become available, it will work, e.g. boot the laptop in an area with no LTE signal, then walk to civilization.
Hello Blümchen, or anyone else affected,
Accepted network-
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in network-manager-applet (Ubuntu Vivid): | |
| status: | In Progress → Fix Committed |
| tags: | added: verification-needed |
| wgroiss (wolfgang-groiss-gmx) wrote : | #12 |
I had a look at network-manager in proposed-
I can find:
Version »0.9.10.
And this is the version, i have installed (no problems with this).
But it is not the same, your write above?
You need to look for network-
| wgroiss (wolfgang-groiss-gmx) wrote : Re: [Bug 1418260] Re: nm-applet crashed with SIGSEGV in add_menu_item() | #14 |
aptitude search network-
vivid-proposed repository is activated
please follow the steps in comment #11. If you had a space in your command between the name of the package and /, then this could explain why the command did not work.
| Sebastien Bacher (seb128) wrote : | #16 |
https:/
| tags: |
added: verification-done removed: verification-needed |
| Brian Murray (brian-murray) wrote : | #17 |
I agree with seb128's assessment.
| Launchpad Janitor (janitor) wrote : | #18 |
This bug was fixed in the package network-
---------------
network-
* debian/
when ModemManager is not available. (LP: #1418260)
-- Mathieu Trudel-Lapierre <email address hidden> Fri, 10 Jul 2015 16:32:17 -0400
| Changed in network-manager-applet (Ubuntu Vivid): | |
| status: | Fix Committed → Fix Released |
The verification of the Stable Release Update for network-
| Changed in network-manager-applet: | |
| status: | Confirmed → Fix Released |
| Kevin Cole (kjcole) wrote : | #20 |
Still getting the crash (and auto-reporting it).


StacktraceTop: device- broadband. c:765 entry=NM_ DEVICE_ TYPE_MODEM, all_devices= all_devices@ entry=0x902f80, all_connections =all_connection s@entry= 0xb2b980, menu=menu@ entry=0xaf47f0, applet= applet@ entry=0x93f400) at applet.c:1677 add_devices (applet=0x93f400, menu=0xaf47f0) at applet.c:1795 update_ menu (applet=0x93f400) at applet.c:2441
add_menu_item (device=0xade1a0, multiple_devices=1, connections=0x0, active=0x0, menu=0xaf47f0, applet=0x93f400) at applet-
add_device_items (type=type@
nma_menu_
nma_menu_show_cb (menu=0xaf47f0, applet=0x93f400) at applet.c:2095
indicator_