#1011668 gnome-control-center: Hang on "cancelling" wired network settings panel

Package:
gnome-control-center
Source:
gnome-control-center
Description:
utilities to configure the GNOME desktop
Submitter:
undef
Date:
2022-06-23 11:00:03 UTC
Severity:
normal
#1011668#5
Date:
2022-05-26 04:57:41 UTC
From:
To:
Dear Maintainer,

Since at least Gnome Control Center 42 closing the network panel causes g-c-c to hang. The following steps reliably reproduce the issue:
1. Open g-c-c -> Network.
2. Select a network and edit it using the cog icon.
3. Without changing any setting, select cancel in the top left.
4. Observe the hang.

The following error is printed on the console:

(gnome-control-center:96744): Gtk-WARNING **: 03:34:34.701: Finalizing GtkCheckButton 0x5823a9488d70, but it still has children left:

(gnome-control-center:96744): Gtk-WARNING **: 03:34:34.701:    - GtkBox 0x5823aa4bafa0

(gnome-control-center:96744): Gtk-CRITICAL **: 03:34:34.713: WirelessSecurityWPAEAP 0x5823aa68b180 has a parent GtkBox 0x5823aa473680 during dispose. Parents hold a reference, so this should not happen.
Did you call g_object_unref() instead of gtk_widget_unparent()?

(gnome-control-center:96744): Gtk-CRITICAL **: 03:34:34.714: gtk_widget_unparent: assertion 'GTK_IS_WIDGET (widget)' failed

(gnome-control-center:96744): Gtk-CRITICAL **: 03:34:34.714: gtk_widget_unparent: assertion 'GTK_IS_WIDGET (widget)' failed <repeats infinitely>


I have tested this on my Debian desktop machine and my Mobian mobile device (using Debian's g-c-c) to the same effect. A nearby Fedora 36 workstation prints the same two warnings, but not the critical messages and does not hang.

Thank you.

#1011668#10
Date:
2022-06-23 10:48:25 UTC
From:
To:
Hi,
to hang. The following steps reliably reproduce the issue:
GtkCheckButton 0x5823a9488d70, but it still has children left:
0x5823aa4bafa0
WirelessSecurityWPAEAP 0x5823aa68b180 has a parent GtkBox 0x5823aa473680 during
dispose. Parents hold a reference, so this should not happen.
gtk_widget_unparent: assertion 'GTK_IS_WIDGET (widget)' failed
gtk_widget_unparent: assertion 'GTK_IS_WIDGET (widget)' failed <repeats
infinitely>
(using Debian's g-c-c) to the same effect. A nearby Fedora 36 workstation prints
the same two warnings, but not the critical messages and does not hang.

I did run into the same issue at the time, but now it seems to be fixed (or at
least I cannot reproduce it any more).

I think this can be closed?