NetworkManager crashes every few hours with Lubuntu 14.04.1, removing applet from lxpanel.

Bug #1406712 reported by Uwe Lück on 2014-12-31
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Undecided
Unassigned

Bug Description

Sometimes I don't find any way to get it back without restarting.
(I don't like restarting because then I must re-open
at least 5 LXTerminal tabs I use in every session.)
Sometimes I even can't use WvDial anymore after certain
NetworkManager crashes, "Invalid dial command", maybe
related modem key management by NetworkManager and ...!?

Yes, I usually connect to the web by UMTS; alternatively sometimes
by LAN, rarely by WLAN. I like NetworkManager for its
notifications and its icons in the panel.

This has happened since I switched to Lubuntu 14.04.1.
With Lubuntu 12.10 and Lubuntu 13.04, there only was
the "enable mobile broadband" problem for which I had
workarounds.

Sometimes nm-applet even collapses when it connects successfully.

lubuntu@lubuntu:~$ apt-cache policy network-manager
network-manager:
  Installiert: 0.9.8.8-0ubuntu7
  Installationskandidat: 0.9.8.8-0ubuntu7
  Versionstabelle:
 *** 0.9.8.8-0ubuntu7 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages
        100 /var/lib/dpkg/status

(more like this already have been gathered by apport)

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: network-manager 0.9.8.8-0ubuntu7
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic i686
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: i386
CRDA: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden: 'iw'
CasperVersion: 1.340
CurrentDesktop: LXDE
Date: Wed Dec 31 06:49:22 2014
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
IpRoute:
 default via 10.64.64.64 dev ppp0 proto static
 10.64.64.64 dev ppp0 proto kernel scope link src 10.222.214.5
LiveMediaBuild: Lubuntu 14.04.1 LTS "Trusty Tahr" - Release i386 (20140722.2)
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
WifiSyslog:
 Dec 31 06:19:59 lubuntu kernel: [ 2054.511178] Media[9578]: segfault at 0 ip (null) sp a46a493c error 14
 Dec 31 06:23:09 lubuntu kernel: [ 2244.435972] perf samples too long (2519 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
nmcli-con:
 NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY DBUS-PATH
 Kabelnetzwerkverbindung 1 5b95bb40-4fe3-4710-986e-1d369bbcfb67 802-3-ethernet 1420002089 Mi 31 Dez 2014 06:01:29 CET yes no /org/freedesktop/NetworkManager/Settings/2
 E-Plus Vorgabe 3147833c-6fae-4422-b031-1fb5439dca8e gsm 1420004801 Mi 31 Dez 2014 06:46:41 CET yes no /org/freedesktop/NetworkManager/Settings/1
 pasing 8c214b46-0633-4a14-b287-470ea2f63e01 802-11-wireless 0 never yes no /org/freedesktop/NetworkManager/Settings/0
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 ttyUSB2 gsm connected /org/freedesktop/NetworkManager/Devices/2
 wlan1 802-11-wireless disconnected /org/freedesktop/NetworkManager/Devices/1
 eth1 802-3-ethernet unavailable /org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
 running 0.9.8.8 connected enabled enabled enabled enabled enabled

Uwe Lück (uwe-lueck) wrote :
Uwe Lück (uwe-lueck) wrote :

A first line saying that I often restart NM by nm-applet & seems to have been removed from my expanded report, below heading.

Crashes seem to be accompanied with

    (nm-applet:6848): GLib-CRITICAL **: Source ID 107 was not found when attempting to remove it

as in http://askubuntu.com/questions/506824/nm-applet-does-not-work-ubuntu-14-04. I tried their advice to

    sudo apt-get install --reinstall network-manager

which seemed to change something … not sure, maybe a new strange message appeared instead. I don't want to follow their GNOME-related ideas with Lubuntu, and I think nothing is wrong with the "fallback" message after nm-applet &.

Maybe really notable:
 * occurrs with fragile mobile broadband connection
 * the installation is live persistent on USB pendrive, with modest upgradings. I have another similar installation heavily
    upgraded, it behaves similar regarding NetworkManager; I use too rarely to report about it.

Another funny circumstance is that I have sudo rfkill block wifi in an autostart script, but after some breakdowns of connection/nm-applet/NM, LC_ALL=C nmcli nm status reports WIFI to be enabled, and the applet displays available WLAN points.

Uwe Lück (uwe-lueck) wrote :

I believe that

    CRDA: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden: 'iw'

('iw' not found) is essential.

Cf. also the "expired" #1387119 with the same error message on a German installation of Lubuntu 14.10.

Uwe Lück (uwe-lueck) wrote :

A friend suggested just to accept the crashes and to restart the application
by a trivial loop, so I have some

    ( while :; do nm-applet
               iiig_log lost nm-applet ## log entries from my GSM scripts
               sleep 5 ## problem high-frequency looping
           done; ) >> 3g.log 2>&1 &

From the resulting log entries I can present some NM messages around
crashing last Monday (they really show "every few hours"):

--
** (nm-applet:28364): CRITICAL **: nm_client_get_manager_running: assertion 'NM_IS_CLIENT (client)' failed

** (nm-applet:28364): CRITICAL **: nm_client_get_state: assertion 'NM_IS_CLIENT (client)' failed
./benno.sh: Zeile 6: 28364 Speicherzugriffsfehler (Speicherabzug geschrieben) nm-applet
lost nm-applet -- 09:10:45, Montag
connected 09:10:51
nm-applet-Message: using fallback from indicator to GtkStatusIcon
--
(nm-applet:3322): GLib-CRITICAL **: Source ID 71 was not found when attempting to remove it

(nm-applet:3322): GLib-CRITICAL **: Source ID 1324 was not found when attempting to remove it
./benno.sh: Zeile 6: 3322 Speicherzugriffsfehler (Speicherabzug geschrieben) nm-applet
lost nm-applet -- 10:36:04, Montag
nm-applet-Message: using fallback from indicator to GtkStatusIcon
--
** (nm-applet:5764): WARNING **: async_got_type: could not read properties for /org/freedesktop/NetworkManager/Devices/4: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
--
(nm-applet:5764): GLib-CRITICAL **: Source ID 82 was not found when attempting to remove it

(nm-applet:5764): GLib-CRITICAL **: Source ID 4456 was not found when attempting to remove it
./benno.sh: Zeile 6: 5764 Speicherzugriffsfehler (Speicherabzug geschrieben) nm-applet
lost nm-applet -- 14:33:36, Montag
nm-applet-Message: using fallback from indicator to GtkStatusIcon
--
(nm-applet:10796): GLib-CRITICAL **: Source ID 82 was not found when attempting to remove it

(nm-applet:10796): GLib-CRITICAL **: Source ID 596 was not found when attempting to remove it
./benno.sh: Zeile 6: 10796 Speicherzugriffsfehler (Speicherabzug geschrieben) nm-applet
lost nm-applet -- 14:41:57, Montag
nm-applet-Message: using fallback from indicator to GtkStatusIcon
--
** (nm-applet:11451): CRITICAL **: nm_client_get_state: assertion 'NM_IS_CLIENT (client)' failed

(nm-applet:11451): Gtk-CRITICAL **: gtk_status_icon_set_visible: assertion 'GTK_IS_STATUS_ICON (status_icon)' failed
./benno.sh: Zeile 6: 11451 Speicherzugriffsfehler (Speicherabzug geschrieben) nm-applet
lost nm-applet -- 20:38:24, Montag
nm-applet-Message: using fallback from indicator to GtkStatusIcon

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers