nm-applet assertion failure manipulating widgets

Bug #1853331 reported by Raphael Mankin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
Fix Released
Low
Unassigned
Focal
Fix Released
Undecided
Unassigned

Bug Description

* Impact
the applet keeps logging gtk warnings

* Test case
Under xubuntu connect to a wifi, the journal shouldn't get nm-applet warnings

* Regression potential
The change is in the VPN submenu code, check that the items there are still correctly updated and available when needed

---------------------------

nm-applet is logging a continuous stream of:

Nov 20 15:42:54 X1 nm-applet[3092]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Nov 20 15:42:54 X1 nm-applet[3092]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Nov 20 15:42:54 X1 nm-applet[3092]: Can't set a parent on widget which has a parent
Nov 20 15:44:54 X1 nm-applet[3092]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Nov 20 15:44:54 X1 nm-applet[3092]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Nov 20 15:44:54 X1 nm-applet[3092]: Can't set a parent on widget which has a parent
Nov 20 15:45:55 X1 nm-applet[3092]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Nov 20 15:45:55 X1 nm-applet[3092]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Nov 20 15:45:55 X1 nm-applet[3092]: Can't set a parent on widget which has a parent
Nov 20 15:46:40 X1 nm-applet[3092]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Nov 20 15:46:40 X1 nm-applet[3092]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Nov 20 15:46:40 X1 nm-applet[3092]: Can't set a parent on widget which has a parent
Nov 20 15:46:40 X1 nm-applet[3092]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Nov 20 15:46:40 X1 nm-applet[3092]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Nov 20 15:46:40 X1 nm-applet[3092]: Can't set a parent on widget which has a parent
Nov 20 15:46:55 X1 nm-applet[3092]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Nov 20 15:46:55 X1 nm-applet[3092]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Nov 20 15:46:55 X1 nm-applet[3092]: Can't set a parent on widget which has a parent
Nov 20 15:46:55 X1 nm-applet[3092]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Nov 20 15:46:55 X1 nm-applet[3092]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Nov 20 15:46:55 X1 nm-applet[3092]: Can't set a parent on widget which has a parent

System updated on 19 Nov 2019

 lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: network-manager-gnome 1.8.10-2ubuntu3
ProcVersionSignature: Ubuntu 4.15.0-70.79-generic 4.15.18
Uname: Linux 4.15.0-70-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
Date: Wed Nov 20 15:48:21 2019
InstallationDate: Installed on 2018-11-06 (379 days ago)
InstallationMedia: Ubuntu-Server 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
IpRoute:
 default via 192.168.178.1 dev enx3c18a0095fb1 proto dhcp metric 100
 default via 192.168.178.1 dev wlp4s0 proto dhcp metric 600
 192.168.178.0/24 dev enx3c18a0095fb1 proto kernel scope link src 192.168.178.24 metric 100
 192.168.178.0/24 dev wlp4s0 proto kernel scope link src 192.168.178.29 metric 600
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: network-manager-applet
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-nm:
 RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN
 running 1.10.14 connected started full enabled enabled enabled enabled enabled

Revision history for this message
Raphael Mankin (raph-p) wrote :
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
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Is that still an issue? Which desktop environment do you use? (nm-applet isn't used by GNOME)

Changed in network-manager-applet (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Raphael Mankin (raph-p) wrote : Re: [Bug 1853331] Re: nm-applet assertion failure manipulatng widgets

I start from xfce4 with other odd apps added.

On Tue, 2020-06-16 at 19:16 +0000, Sebastien Bacher wrote:
> Thank you for your bug report. Is that still an issue? Which desktop
> environment do you use? (nm-applet isn't used by GNOME)
>
> ** Changed in: network-manager-applet (Ubuntu)
> Importance: Undecided => Low
>
> ** Changed in: network-manager-applet (Ubuntu)
> Status: Confirmed => Incomplete
>

Changed in network-manager-applet (Ubuntu):
status: Incomplete → Fix Committed
summary: - nm-applet assertion failure manipulatng widgets
+ nm-applet assertion failure manipulating widgets
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager-applet - 1.18.0-1ubuntu2

---------------
network-manager-applet (1.18.0-1ubuntu2) groovy; urgency=medium

  * d/p/Support-hiding-rather-than-desensitizing-disallowed-items.patch!
    - restore initialization code for some of the 'allowed' variables which
      was dropped by error in 16.10, fixes log warnings (lp: #1853331)

 -- Sebastien Bacher <email address hidden> Wed, 29 Jul 2020 17:50:27 +0200

Changed in network-manager-applet (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Raphael, or anyone else affected,

Accepted network-manager-applet into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/network-manager-applet/1.8.24-1ubuntu3 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 on 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, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

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

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in network-manager-applet (Ubuntu Focal):
status: New → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Raphael Mankin (raph-p) wrote : Re: [Bug 1853331] Re: nm-applet assertion failure manipulating widgets

Thank you, but I can't see how to install it.

I have
  deb http://gb.archive.ubuntu.com/ubuntu/ bionic-proposed
universe restricted multiverse main
in /etc/apt/sources.list and I have run apt-update, but the new version
does not appear in synaptic, software-updater or when I do an apt-
search

On Fri, 2020-07-31 at 12:58 +0000, Timo Aaltonen wrote:
> Hello Raphael, or anyone else affected,
>
> Accepted network-manager-applet into focal-proposed. The package will
> build now and be available at https://launchpad.net/ubuntu/+source
> /network-manager-applet/1.8.24-1ubuntu3 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 on
> 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, what testing has
> been
> performed on the package and change the tag from verification-needed-
> focal to verification-done-focal. If it does not fix the bug for you,
> please add a comment stating that, and change the tag to
> verification-
> failed-focal. In either case, without details of your testing we will
> not be able to proceed.
>
> Further information regarding the verification process can be found
> at
> https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you
> in
> advance for helping!
>
> N.B. The updated package will be released to -updates after the
> bug(s)
> fixed by this package have been verified and the package has been in
> -proposed for a minimum of 7 days.
>
> ** Changed in: network-manager-applet (Ubuntu Focal)
> Status: New => Fix Committed
>
> ** Tags added: verification-needed verification-needed-focal
>

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

@Raphael, it could be that your mirror was not updated yet?

what is output of

$ apt policy network-manager-gnome

Revision history for this message
Raphael Mankin (raph-p) wrote :

On Tue, 2020-08-04 at 13:14 +0000, Sebastien Bacher wrote:
> @Raphael, it could be that your mirror was not updated yet?
>
> what is output of
>
> $ apt policy network-manager-gnome
>

# apt policy network-manager-gnome
network-manager-gnome:
  Installed: 1.8.10-2ubuntu3
  Candidate: 1.8.10-2ubuntu3
  Version table:
 *** 1.8.10-2ubuntu3 500
        500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main
amd64 Packages
        100 /var/lib/dpkg/status
     1.8.10-2ubuntu1 500
        500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64
Packages

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

Using 1.8.24-1ubuntu3 on a xubuntu session there is no warning printed in the journal anymore and the applet works without any visible issue

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager-applet - 1.8.24-1ubuntu3

---------------
network-manager-applet (1.8.24-1ubuntu3) focal; urgency=medium

  * d/p/Support-hiding-rather-than-desensitizing-disallowed-items.patch!
    - restore the initialization code for the 'allowed' variables which
      was dropped by error in 16.10, fixes log warnings (lp: #1853331)

 -- Sebastien Bacher <email address hidden> Wed, 29 Jul 2020 23:09:31 +0200

Changed in network-manager-applet (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for network-manager-applet has completed successfully and the package is now being 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.

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.