Gnome-shell repetitive syslog entries

Hi, I am puzzled to see the following repetitive syslog entries. I can’t figure out the reason.

Blockquote
2023-07-20T10:16:29.013463+02:00 gnome-shell[125584]: clutter_text_get_text: assertion ‘CLUTTER_IS_TEXT (self)’ failed
2023-07-20T10:16:29.013509+02:00 gnome-shell[125584]: clutter_text_set_text: assertion ‘CLUTTER_IS_TEXT (self)’ failed
2023-07-20T10:16:29.013550+02:00 gnome-shell[125584]: Object St.Label (0x558ecd631930), has been already disposed — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
2023-07-20T10:16:29.013592+02:00 gnome-shell[125584]: clutter_text_get_editable: assertion ‘CLUTTER_IS_TEXT (self)’ failed
2023-07-20T10:16:29.013634+02:00 gnome-shell[125584]: clutter_text_get_text: assertion ‘CLUTTER_IS_TEXT (self)’ failed
2023-07-20T10:16:29.013681+02:00 gnome-shell[125584]: clutter_text_set_text: assertion ‘CLUTTER_IS_TEXT (self)’ failed
2023-07-20T10:16:29.013723+02:00 gnome-shell[125584]: Object St.Label (0x558ecac47df0), has been already disposed — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
2023-07-20T10:16:29.013764+02:00 gnome-shell[125584]: clutter_text_get_editable: assertion ‘CLUTTER_IS_TEXT (self)’ failed
2023-07-20T10:16:29.013804+02:00 gnome-shell[125584]: clutter_text_get_text: assertion ‘CLUTTER_IS_TEXT (self)’ failed
2023-07-20T10:16:29.013845+02:00 gnome-shell[125584]: clutter_text_set_text: assertion ‘CLUTTER_IS_TEXT (self)’ failed

Any help to fix it?

Thanks in advance
__
JEMR

It looks like a probable “use-after-free” error, fortunately GJS goes to reasonable lengths to avoid crashes.

More than likely this is in an extension, so you can try disabling any extensions you might have to narrow it down. If the warning still occur after disabling all extensions, do your best to find a way to trigger it and it can be reported at Issues · GNOME / gnome-shell · GitLab

You can use journalctl -f -o cat /usr/bin/gnome-shell in a terminal to follow the current log messages, and sort of open/close all the menus, poke around in the overview, try a search, and so on.

Adding SHELL_DEBUG=backtrace-warnings to the environment will enable additional log messages that should help tracking down the source of the warnings.

1 Like

Thank you very much for your answer.

I have done what you tell me but it is difficult for me to see which extension is causing the problem.

I have turned off all the extensions and it seems to me that the problem persisted.

I have turned off each extension, one by one, to see the result and I can’t see which one is causing problems.

Anyway, I copy a part of the log that comes out in case it gives you any clue.

Blockquote
== Stack trace for context 0x558ec526a640 ==
clutter_text_get_editable: assertion ‘CLUTTER_IS_TEXT (self)’ failed
#0 7fff45dcd0d0 b resource:///org/gnome/shell/ui/dateMenu.js:490 (26ee429417e0 @ 165)
#1 7fff45dcd1c0 b self-hosted:1121 (271c30c7eec0 @ 463)
clutter_text_get_text: assertion ‘CLUTTER_IS_TEXT (self)’ failed
clutter_text_set_text: assertion ‘CLUTTER_IS_TEXT (self)’ failed
Object St.Label (0x558ed1617bd0), has been already disposed — impossible to set any property on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.

All the best
__
JEMR

The label looks to be in the date dropdown, possible one of the world clocks. Other than that, it’s difficult (for me) to say unless you can find a reliable way to reproduce it.

Correct, I have removed the hours that I had from the world clocks and the entries at syslog stopped.

The application that has those errors is Clocks 43.0

I report the bug at https://gitlab.gnome.org/

Thank you very much for the help.
__
JEMR

1 Like

Great, thanks for reporting it!

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.