← Back to team overview

desktop-packages team mailing list archive

[Bug 1418260] Re: nm-applet crashed with SIGSEGV in add_menu_item()

 

** Description changed:

+ [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-manager-gnome 0.9.10.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.18.0-12.13-generic 3.18.4
  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
+  # 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
+  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.state:
-  [main]
-  NetworkingEnabled=true
-  WirelessEnabled=true
-  WWANEnabled=true
-  WimaxEnabled=true
+  [main]
+  NetworkingEnabled=true
+  WirelessEnabled=true
+  WWANEnabled=true
+  WimaxEnabled=true
  ProcCmdline: nm-applet
  ProcEnviron:
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=de_DE.UTF-8
-  SHELL=/bin/bash
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  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
+  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-manager-applet
  StacktraceTop:
-  ?? ()
-  ?? ()
-  ?? ()
-  ?? ()
-  g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
+  ?? ()
+  ?? ()
+  ?? ()
+  ?? ()
+  g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  Title: nm-applet crashed with SIGSEGV in g_main_context_dispatch()
  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-9615-4328-9737-80258a84ae02  802-11-wireless  1423095224  Do 05 Feb 2015 00:13:44 UTC  yes          no        /org/freedesktop/NetworkManager/Settings/2  yes     wlan0   activated  /org/freedesktop/NetworkManager/ActiveConnection/0 
-  Wired connection 1  ee5250e7-00fb-463e-a7a6-9c9259942c9e  802-3-ethernet   1423097919  Do 05 Feb 2015 00:58:39 UTC  yes          no        /org/freedesktop/NetworkManager/Settings/0  no      --      --         --
+  NAME                UUID                                  TYPE             TIMESTAMP   TIMESTAMP-REAL               AUTOCONNECT  READONLY  DBUS-PATH                                   ACTIVE  DEVICE  STATE      ACTIVE-PATH
+  WiiNET              0fb694d1-9615-4328-9737-80258a84ae02  802-11-wireless  1423095224  Do 05 Feb 2015 00:13:44 UTC  yes          no        /org/freedesktop/NetworkManager/Settings/2  yes     wlan0   activated  /org/freedesktop/NetworkManager/ActiveConnection/0
+  Wired connection 1  ee5250e7-00fb-463e-a7a6-9c9259942c9e  802-3-ethernet   1423097919  Do 05 Feb 2015 00:58:39 UTC  yes          no        /org/freedesktop/NetworkManager/Settings/0  no      --      --         --
  nmcli-dev:
-  DEVICE   TYPE      STATE        DBUS-PATH                                  CONNECTION  CON-UUID                              CON-PATH                                           
-  wlan0    wifi      connected    /org/freedesktop/NetworkManager/Devices/2  WiiNET      0fb694d1-9615-4328-9737-80258a84ae02  /org/freedesktop/NetworkManager/ActiveConnection/0 
-  eth0     ethernet  unavailable  /org/freedesktop/NetworkManager/Devices/1  --          --                                    --                                                 
-  ttyACM1  gsm       unavailable  /org/freedesktop/NetworkManager/Devices/4  --          --                                    --                                                 
-  lo       loopback  unmanaged    /org/freedesktop/NetworkManager/Devices/0  --          --                                    --
+  DEVICE   TYPE      STATE        DBUS-PATH                                  CONNECTION  CON-UUID                              CON-PATH
+  wlan0    wifi      connected    /org/freedesktop/NetworkManager/Devices/2  WiiNET      0fb694d1-9615-4328-9737-80258a84ae02  /org/freedesktop/NetworkManager/ActiveConnection/0
+  eth0     ethernet  unavailable  /org/freedesktop/NetworkManager/Devices/1  --          --                                    --
+  ttyACM1  gsm       unavailable  /org/freedesktop/NetworkManager/Devices/4  --          --                                    --
+  lo       loopback  unmanaged    /org/freedesktop/NetworkManager/Devices/0  --          --                                    --
  nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-applet in Ubuntu.
https://bugs.launchpad.net/bugs/1418260

Title:
  nm-applet crashed with SIGSEGV in add_menu_item()

Status in Network Manager Applet:
  Confirmed
Status in network-manager-applet package in Ubuntu:
  In Progress
Status in network-manager-applet source package in Vivid:
  In Progress

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-manager-gnome 0.9.10.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.18.0-12.13-generic 3.18.4
  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.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  ProcCmdline: nm-applet
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   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-manager-applet
  StacktraceTop:
   ?? ()
   ?? ()
   ?? ()
   ?? ()
   g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  Title: nm-applet crashed with SIGSEGV in g_main_context_dispatch()
  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-9615-4328-9737-80258a84ae02  802-11-wireless  1423095224  Do 05 Feb 2015 00:13:44 UTC  yes          no        /org/freedesktop/NetworkManager/Settings/2  yes     wlan0   activated  /org/freedesktop/NetworkManager/ActiveConnection/0
   Wired connection 1  ee5250e7-00fb-463e-a7a6-9c9259942c9e  802-3-ethernet   1423097919  Do 05 Feb 2015 00:58:39 UTC  yes          no        /org/freedesktop/NetworkManager/Settings/0  no      --      --         --
  nmcli-dev:
   DEVICE   TYPE      STATE        DBUS-PATH                                  CONNECTION  CON-UUID                              CON-PATH
   wlan0    wifi      connected    /org/freedesktop/NetworkManager/Devices/2  WiiNET      0fb694d1-9615-4328-9737-80258a84ae02  /org/freedesktop/NetworkManager/ActiveConnection/0
   eth0     ethernet  unavailable  /org/freedesktop/NetworkManager/Devices/1  --          --                                    --
   ttyACM1  gsm       unavailable  /org/freedesktop/NetworkManager/Devices/4  --          --                                    --
   lo       loopback  unmanaged    /org/freedesktop/NetworkManager/Devices/0  --          --                                    --
  nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager-applet/+bug/1418260/+subscriptions