[SRU] nm-applet crash with assertion failed for some users

Bug #1578962 reported by Tim Richardson on 2016-05-06
30
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Network Manager Applet
Fix Released
Medium
network-manager-applet (Debian)
New
Unknown
network-manager-applet (Ubuntu)
Critical
Aron Xu
Xenial
High
Aron Xu
Yakkety
Critical
Aron Xu

Bug Description

[Impact]

nm-applet crashes for some users with assertion failed

[Test case]

After installing the update, errors.ubuntu.com should receive a much smaller number of assertion failed crash reports.

[Regression Potential]

The assert is removed by upstream and thus backported to archive package because it was believed most of the assertion triggered are false positives, hence the potential of regression is having mis-functionality but the chance is fair low.

Tim Richardson (tim-richardson) wrote :

StacktraceTop:
 g_assertion_message () from /tmp/apport_sandbox_pQFGFj/lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_assertion_message_expr () from /tmp/apport_sandbox_pQFGFj/lib/x86_64-linux-gnu/libglib-2.0.so.0
 applet_get_first_active_vpn_connection (applet=applet@entry=0xdb83b0, out_state=out_state@entry=0x7ffed302fd74) at applet.c:1108
 applet_update_icon (user_data=<optimized out>) at applet.c:2838
 g_main_context_dispatch () from /tmp/apport_sandbox_pQFGFj/lib/x86_64-linux-gnu/libglib-2.0.so.0

Changed in network-manager-applet (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
information type: Private → Public
Changed in network-manager-applet (Ubuntu):
importance: Medium → High
status: New → Triaged

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in network-manager-applet (Debian):
status: Unknown → New
Tim Richardson (tim-richardson) wrote :

I hvae reported this bug here, where I am adding information in response to questions:

https://bugzilla.gnome.org/show_bug.cgi?id=765830

Sebastien Bacher (seb128) wrote :

Upstream indicated that it should be fixed since 1.1.92 which is in the version in xenial ... do you still get the issue?

Changed in network-manager-applet (Ubuntu):
status: Triaged → Incomplete
Sebastien Bacher (seb128) wrote :

https://errors.ubuntu.com/problem/fbb9b6d4d62fefcb267876cca8cd69bda2fbb598 suggests it's not fixed, upstream did more changes and removed the assert since though so that might be better

Changed in network-manager-applet (Ubuntu):
status: Incomplete → Fix Committed

It is not fixed for me. I have proposed-updates and the network-manager version is 1.2.0-0ubuntu0.16.04.2

Changed in network-manager-applet:
importance: Unknown → Medium
status: Unknown → Fix Released
Aron Xu (happyaron) on 2016-05-24
Changed in network-manager-applet (Ubuntu):
status: Fix Committed → Triaged
Changed in network-manager-applet (Ubuntu):
status: Triaged → Fix Committed
Martin Pitt (pitti) wrote :

Please upload the fix to yakkety too.

Aron Xu (happyaron) on 2016-05-25
summary: - nm-applet crashed with SIGABRT in g_assertion_message()
+ [SRU] nm-applet crash with assertion failed for some users
description: updated
Changed in network-manager-applet (Ubuntu Xenial):
importance: Undecided → High
status: New → In Progress
assignee: nobody → Aron Xu (happyaron)
Changed in network-manager-applet (Ubuntu):
status: Fix Committed → Triaged

Hello Tim, or anyone else affected,

Accepted network-manager-applet into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/network-manager-applet/1.2.0-0ubuntu0.16.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in network-manager-applet (Ubuntu Yakkety):
assignee: nobody → Aron Xu (happyaron)
milestone: none → ubuntu-16.06
importance: High → Critical
Changed in network-manager-applet (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed

The bug is fixed. No more assertion, no more crash.
A message informs me that the wired connection is now established.
Then the next message says that the "ethernet" connection is disconnected. Despite that final message, the change from VPN to normal wired connection now works fine.

Sebastien Bacher (seb128) wrote :

Thanks, the error dialog could be worth a new bug

tags: added: verification-done
removed: verification-needed
Adam Conrad (adconrad) wrote :

Hello Tim, or anyone else affected,

Accepted network-manager-applet into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/network-manager-applet/1.2.0-0ubuntu0.16.04.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: removed: verification-done
tags: added: verification-needed
Aron Xu (happyaron) wrote :

This is good for me, setting tag to verification-done.

tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager-applet - 1.2.0-0ubuntu0.16.04.3

---------------
network-manager-applet (1.2.0-0ubuntu0.16.04.3) xenial; urgency=medium

  * debian/patches/apple-set-out_icon_name-for-WWAN-connections-for-ind.patch:
    use available gsm-3g-* icons so that the icon for mobile is different than
    that used for wifi; to avoid confusing people. (LP: #1571574)

network-manager-applet (1.2.0-0ubuntu0.16.04.2) xenial; urgency=medium

  * cherry-pick upstream patches from post 1.2.2:
    - wireless-security-fix-failed-assertion-in-default_fi.patch:
      Fix TLS cert authentication (LP: #1575614)
    - wireless-security-return-error-on-eap_method_validat.patch:
      Return error on eap_method_validate_filepicker() failure
    - applet-remove-assert-s_con-from-applet_get_active_vp.patch
      Remove the assert which lead to many false assertions (LP: #1578962)
    - apple-set-out_icon_name-for-WWAN-connections-for-ind.patch
      WWAN icon should appear when the connection is activated (LP: #1571574)

 -- Mathieu Trudel-Lapierre <email address hidden> Wed, 01 Jun 2016 15:15:49 -0400

Changed in network-manager-applet (Ubuntu Xenial):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for network-manager-applet has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Aron Xu (happyaron) on 2016-06-23
tags: added: desktop-trello-import
Launchpad Janitor (janitor) wrote :

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

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

  * Rebase to upstream stable point release (LP: #1578962)
  * Use git-pq to manage patches.
  * Patches updated:
    - Make-sure-the-behavior-for-policykit-restricted-acti.patch
    - Implement-support-for-hiding-rather-than-desensitizi.patch
  * cherry-pick from upstream post release
    - 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
    - apple-set-out_icon_name-for-WWAN-connections-for-ind.patch
  * Patches dropped:
    - tests-run-tests-on-make-check.patch: merged upstream

 -- Aron Xu <email address hidden> Fri, 20 May 2016 18:09:18 +0800

Changed in network-manager-applet (Ubuntu Yakkety):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.