Network Manager Crashes Shortly after Starting

Bug #1528639 reported by Christopher
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After starting Network Manager It attempts to start a few times and then crashes. Journalctl shows the following error:

Dec 22 08:32:58 nebraska NetworkManager[12519]: <info> Writing DNS information to /sbin/resolvconf
Dec 22 08:32:58 nebraska dnsmasq[11405]: setting upstream servers from DBus
Dec 22 08:32:58 nebraska dnsmasq[11405]: using nameserver 139.49.202.10#53
Dec 22 08:32:58 nebraska dnsmasq[11405]: using nameserver 139.49.202.11#53
Dec 22 08:32:58 nebraska dnsmasq[11405]: using nameserver 10.240.137.51#53
Dec 22 08:32:59 nebraska systemd[1]: NetworkManager.service: Main process exited, code=dumped, status=11/SEGV
Dec 22 08:32:59 nebraska systemd[1]: NetworkManager.service: Unit entered failed state.
Dec 22 08:32:59 nebraska systemd[1]: NetworkManager.service: Failed with result 'core-dump'.
Dec 22 08:32:59 nebraska systemd[1]: NetworkManager.service: Service hold-off time over, scheduling restart.
Dec 22 08:32:59 nebraska systemd[1]: Stopped Network Manager.
Dec 22 08:32:59 nebraska systemd[1]: NetworkManager.service: Start request repeated too quickly.
Dec 22 08:32:59 nebraska systemd[1]: Failed to start Network Manager.
Dec 22 08:32:59 nebraska systemd[1]: NetworkManager.service: Unit entered failed state.
Dec 22 08:32:59 nebraska systemd[1]: NetworkManager.service: Failed with result 'start-limit'.

Network Manager's Version is 1.0.4 and Ubuntu version is 15.10.

Revision history for this message
Christopher (chalbersma-12) wrote :

Additional Note. I have the core dump but when I try to attach it it won't let me file the bug report.

Revision history for this message
Christopher (chalbersma-12) wrote :

I tried running network manager manually using:

sudo /usr/sbin/NetworkManager -d

It has two errors:

...
NetworkManager[5989]: nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed
...
NetworkManager[5989]: <warn> failed to enumerate oFono devices: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files

When I do an echo $? it gives me 139 which based on my research means it segfaulted. Again I have the .crash file from the normal run if needed.

Revision history for this message
Christopher (chalbersma-12) wrote :

I found a fairly jenky work around. If while NetworkManager is off or crashed I use the hardware key combo to turn off wifi it does so. Then NetworkManager will start up. However it will attempt to enable wifi itself. So the next move is while it's starting up right after NetworkManager has turned the wifi chip back on you need to utilize the key combo again to manually disable wifi.

Then if I wait for a bit I can turn on wifi via hardware chip and it will crash in about a minute with the following in the logs:

```
Dec 22 13:21:03 nebraska NetworkManager[24469]: <info> WiFi hardware radio set enabled
Dec 22 13:21:03 nebraska NetworkManager[24469]: <info> WWAN hardware radio set disabled
Dec 22 13:21:03 nebraska NetworkManager[24469]: <info> WiFi now enabled by radio killswitch
Dec 22 13:21:03 nebraska NetworkManager[24469]: <info> (wlp2s0): supplicant interface state: starting -> ready
Dec 22 13:21:03 nebraska NetworkManager[24469]: <info> (wlp2s0): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
Dec 22 13:21:03 nebraska NetworkManager[24469]: <info> Device 'wlp2s0' has no connection; scheduling activate_check in 0 seconds.
Dec 22 13:21:19 nebraska NetworkManager[24469]: <info> WiFi now disabled by radio killswitch
Dec 22 13:21:19 nebraska NetworkManager[24469]: <info> (wlp2s0): device state change: disconnected -> unavailable (reason 'none') [30 20 0]
Dec 22 13:25:50 nebraska NetworkManager[24469]: <info> WiFi now enabled by radio killswitch
Dec 22 13:25:50 nebraska NetworkManager[24469]: <info> (wlp2s0): supplicant interface state: starting -> ready
Dec 22 13:25:50 nebraska NetworkManager[24469]: <info> (wlp2s0): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
Dec 22 13:25:50 nebraska NetworkManager[24469]: <info> Device 'wlp2s0' has no connection; scheduling activate_check in 0 seconds.
Dec 22 13:25:52 nebraska NetworkManager[24469]: <info> (wlp2s0): supplicant interface state: ready -> inactive
Dec 22 13:26:18 nebraska NetworkManager[24469]: <info> (wlp2s0): supplicant interface state: inactive -> scanning
Dec 22 13:26:50 nebraska systemd[1]: NetworkManager.service: Main process exited, code=dumped, status=11/SEGV
Dec 22 13:26:50 nebraska systemd[1]: NetworkManager.service: Unit entered failed state.
Dec 22 13:26:50 nebraska systemd[1]: NetworkManager.service: Failed with result 'core-dump'.
Dec 22 13:26:51 nebraska systemd[1]: NetworkManager.service: Service hold-off time over, scheduling restart.
Dec 22 13:26:51 nebraska systemd[1]: Stopped Network Manager.
Dec 22 13:26:51 nebraska systemd[1]: Starting Network Manager...
```

My first thought is that I might have a wireless chip that's unsupported. However that doesn't seem to be the case given I'm running a certified laptop. I'm still doing some investigation but now I seem to be able to get NetworkManager to "stay up". Even if now I can't connect to wifi.

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