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) |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
Vivid |
Fix Released
|
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'.
tags: | added: bugpattern-needed |
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 |
Changed in network-manager-applet: | |
status: | Confirmed → Fix Released |
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_