BuddiesOfBudgie / budgie-desktop

Budgie Desktop is a familiar, modern desktop environment.
https://buddiesofbudgie.org
GNU General Public License v2.0
912 stars 46 forks source link

[Bug] Log spam from "_gtk_widget_get_parent" #538

Open solomongrundy6 opened 4 months ago

solomongrundy6 commented 4 months ago

Description

Today I just noticed a lot of lines spamming my journal:

Feb 20 02:44:43 hostname budgie-panel[1699]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 02:44:43 hostname budgie-panel[1699]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 02:44:43 hostname budgie-panel[1699]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 02:44:43 hostname budgie-panel[1699]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 02:44:43 hostname budgie-panel[1699]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 02:44:43 hostname budgie-panel[1699]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 02:44:43 hostname budgie-panel[1699]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 02:44:43 hostname budgie-panel[1699]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 02:44:43 hostname budgie-panel[1699]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 02:44:43 hostname budgie-panel[1699]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 02:44:43 hostname budgie-panel[1699]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 02:44:43 hostname budgie-panel[1699]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 02:44:43 hostname budgie-panel[1699]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed

They appear in large blocks roughly every two minutes.

I also noticed this:

Feb 20 03:22:33 hostname budgie-panel[1699]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 03:22:33 hostname budgie-panel[1699]: '{as}' is not a valid GVariant format string
Feb 20 03:22:33 hostname budgie-panel[1699]: g_variant_iter_next: assertion 'valid_format_string (format_string, TRUE, value)' failed

Budgie version

10.9.1

Operating System

Solus 4.5

Steps to reproduce the issue

journalctl -b 0

Actual result

log spam

Expected result

no or minimal log spam

Additional information

No response

fossfreedom commented 4 months ago

Interesting observation about the two minute interval - so my immediate thought was the clock applet but that is definitely not on a two minute interval.

Would need a bit more investigation - suggest remove all applets from your panel, look at the journal and then add each applet back one at a time until the journal entries start to occur again.

solomongrundy6 commented 4 months ago

I tried removing individual applets one at a time but none of them alone stopped the messages. (I'll try removing the panel entirely later and see if that has an effect.)

I tried uninstalling budgie-extras and rebooting, that didn't help. Although after rebooting I noticed that the delay between the blocks of messages isn't always two minutes - right after rebooting it's much faster until it gradually hits the 2 minute mark and stays there.

For example, these are the first occurrence of the error in each block of my current boot:

Feb 20 22:20:01 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 22:20:08 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 22:20:20 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 22:20:32 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 22:20:52 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 22:21:21 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 22:22:04 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 22:23:10 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 22:24:43 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 22:26:44 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 22:28:45 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 22:30:46 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 22:32:49 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 22:34:48 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 22:36:49 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed
Feb 20 22:38:50 hostname budgie-panel[1841]: gtk_box_pack: assertion '_gtk_widget_get_parent (child) == NULL' failed

It kind of seems like it's just constantly spamming this error out, but something on the system is timing it out for increasing amounts of time until it hits a max of two minutes.

fossfreedom commented 4 months ago

Think it is also worth removing raven widgets one at a time. These also impact the panel.

If you have both an empty raven and empty panel and still see (after a reboot) messages then the panel construction itself is something to focus on.

solomongrundy6 commented 4 months ago

Okay, I finally had a chance to do that, and yes, the lines still get spammed to the log even with zero raven widgets and an empty panel.