nm-applet coredumped when asking for a new passphrase

Bug #1570738 reported by zebul666
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Network Manager Applet
Fix Released
Medium
network-manager-applet (Ubuntu)
Fix Released
High
Unassigned

Bug Description

So I change the wifi passphrase of my network.

And upon resuming from sleep, nm-applet crashes when asking for the new passphrase.

If I restart nm-applet from command-line I got this:
$ nm-applet
nm-applet-Message: New secrets for whitebox/802-11-wireless-security requested; ask the user
**
GLib:ERROR:/build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gvarianttypeinfo.c:163:g_variant_type_info_check: assertion failed: (info->alignment == 0 || info->alignment == 1 || info->alignment == 3 || info->alignment == 7)
Abandon (core dumped)

The passphrase was stored for only the user (in gnome key store ?)

I can't even connect with ethernet as nm-applet crashes and leave no option to setup the connexion from command-line

on 16.04 2016-02-15

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: network-manager-gnome 1.1.93-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Uname: Linux 4.4.0-18-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Apr 15 09:52:51 2016
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2016-03-31 (14 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160323)
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
SourcePackage: network-manager-applet
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
 enp1s0 ethernet connected /org/freedesktop/NetworkManager/Devices/0 Connexion filaire 256b8a96-5d55-47b2-b41f-d1b73d853f75 /org/freedesktop/NetworkManager/ActiveConnection/1
 tun0 tun connected /org/freedesktop/NetworkManager/Devices/3 tun0 23c775d8-83eb-4f5c-bdf3-3b9823b9fa7a /org/freedesktop/NetworkManager/ActiveConnection/3
 wlp2s0 wifi disconnected /org/freedesktop/NetworkManager/Devices/2 -- -- --
 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
zebul666 (zebul666) wrote :
Revision history for this message
zebul666 (zebul666) wrote :

the vpn thing is not relevant to this bug, I think. It was not setup on the wifi interface

Revision history for this message
zebul666 (zebul666) wrote :

anonymized

Revision history for this message
zebul666 (zebul666) wrote :

NetDevice.wlp2s0.txt anonymized

Revision history for this message
zebul666 (zebul666) wrote :

I have made this https://bugzilla.gnome.org/show_bug.cgi?id=765089

The crash only happen if the passphrase is stored in the gnome keyring (only for this user option)

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in network-manager-applet (Ubuntu):
status: New → Confirmed
Revision history for this message
Lane Roberts (lanecroberts) wrote :

Now fixed upstream

Changed in network-manager-applet (Ubuntu):
importance: Undecided → High
status: Confirmed → Fix Committed
Changed in network-manager-applet:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager-applet - 1.2.4-0ubuntu1

---------------
network-manager-applet (1.2.4-0ubuntu1) yakkety; urgency=medium

  * Rebase to upstream stable point release, include fixes for some
    segfaults (lp: #1570738, #1597151, #1598195)
  * Patches merged upstream (dropped here)
    - wireless-security-fix-failed-assertion-in-default_fi.patch
    - wireless-security-return-error-on-eap_method_validat.patch
    - applet-remove-assert-s_con-from-applet_get_active_vp.patch
    - Set-out_icon_name-which-is-necessary-for-indicator.patch
  * Refresh remaining patches

 -- Aron Xu <email address hidden> Thu, 01 Sep 2016 19:07:19 +0200

Changed in network-manager-applet (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
salsaman (salsaman) wrote :

Hi, would you mind backporting this to Ubuntu 16.04 please ?

Revision history for this message
ubuntu-tester (ubuntu-tester1) wrote :

Is-it possible to fix it for Xenial please ? Thanks.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The new 1.2 version is going to be SRUed to xenial and includes this fix which should solve your issue

Revision history for this message
Florian Rathgeber (florian-rathgeber) wrote :

Sebastien, what's the ETA for this backport?

Revision history for this message
Felipe Reyes (freyes) wrote :

Xenial is receiving network-manager-applet 1.2.6, the SRU is being tracked in bug 1619354

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.