network manager crashed when removing a usb wifi stick after installing broadcom drivers

Bug #1498725 reported by Lyn Perrine
36
This bug affects 5 people
Affects Status Importance Assigned to Milestone
NetworkManager
Fix Released
Medium
network-manager (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

To reprodcuce on a laptop install on wifi with a realtek wifi adapter and then install the bcmwl-kernel-source package then pull the wifi adapter out to remove it and apport reports that network manager has crashed.

network-manager:
  Installed: 1.0.4-0ubuntu3
  Candidate: 1.0.4-0ubuntu3
  Version table:
 *** 1.0.4-0ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
        100 /var/lib/dpkg/status
Description: Ubuntu Wily Werewolf (development branch)
Release: 15.10

I expected network manager not to crash instead it crashed when I removed the usb wifi adapter.

ProblemType: Crash
DistroRelease: Ubuntu 15.10
Package: network-manager 1.0.4-0ubuntu3
ProcVersionSignature: Ubuntu 4.2.0-10.12-generic 4.2.0
Uname: Linux 4.2.0-10-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.18.1-0ubuntu1
Architecture: amd64
Date: Tue Sep 22 18:54:25 2015
ExecutablePath: /usr/sbin/NetworkManager
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2015-09-23 (0 days ago)
InstallationMedia: Lubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150922.1)
IpRoute:
 default via 192.168.88.1 dev wlp2s0 proto static metric 600
 192.168.88.0/24 dev wlp2s0 proto kernel scope link src 192.168.88.253 metric 600
 192.168.88.0/24 dev wlp2s0 proto kernel scope link src 192.168.88.253 metric 601
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
ProcCmdline: /usr/sbin/NetworkManager --no-daemon
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
SegvAnalysis: Skipped: missing required field "Disassembly"
Signal: 11
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
 wlp2s0 wifi connected /org/freedesktop/NetworkManager/Devices/3 Perrine 1 c507f176-1e31-4e59-a57e-eb7a7ff7e008 /org/freedesktop/NetworkManager/ActiveConnection/2
 enp3s0 ethernet unavailable /org/freedesktop/NetworkManager/Devices/0 -- -- --
 lo loopback unmanaged /org/freedesktop/NetworkManager/Devices/1 -- -- --
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.

Revision history for this message
Lyn Perrine (walterorlin) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 nm_device_uses_assumed_connection (self=self@entry=0x22463d0) at devices/nm-device.c:946
 _set_state_full (self=self@entry=0x22463d0, state=state@entry=NM_DEVICE_STATE_FAILED, reason=NM_DEVICE_STATE_REASON_SSID_NOT_FOUND, quitting=quitting@entry=0) at devices/nm-device.c:8436
 nm_device_state_changed (self=self@entry=0x22463d0, state=state@entry=NM_DEVICE_STATE_FAILED, reason=<optimized out>) at devices/nm-device.c:8514
 link_timeout_cb (user_data=<error reading variable: value has been optimized out>) at nm-device-wifi.c:2037
 g_timeout_dispatch (source=0x2259400, callback=<optimized out>, user_data=<optimized out>) at /build/glib2.0-hcw3A1/glib2.0-2.45.7/./glib/gmain.c:4577

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in network-manager (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
information type: Private → Public
Changed in network-manager (Ubuntu):
status: Confirmed → Triaged
Changed in network-manager:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in network-manager:
status: Confirmed → 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.