appMenu extension crash

Hi all,
Hi @fmuellner ,

I decided to use GNOME Shell’s appMenu in the AppMenu is back extension.
Before, I included the GS code for AppMenuButton.

So basically I do:

Main.sessionMode.panel.left.push('appMenu')
Main.panel._updatePanel()

Using the extension or typing these two lines in looking glass, I get some random crashes (go to gdm directly). Especially when I launch Synaptic. I use Ubuntu 25.04 with GS+mutter 48.

I don’t understand why.
I get this in logs:
clutter_actor_set_name: assertion 'CLUTTER_IS_ACTOR (self)' failed
and the crash report tells me that:
clutter_content_invalidate
crashed GS.

Thanks for any help here!

I get this, exactly:
clutter_actor_set_accessible_name: assertion 'CLUTTER_IS_ACTOR (self)' failed
but that’s not, at least immediately, causing a crash.

I suspect the button’s spinner so I did:
Main.panel.statusArea.appMenu._container.remove_child(Main.panel.statusArea.appMenu._spinner)
and it seems to not crash. Waiting for it, though. :wink:

There were some changes in libadwaita/spinner, maybe is this related?

Ok I get no more crashes by removing the spinner child.
So maybe this is simply a spinner bug in AppMenuButton?

@fmuellner should I fill a bug against this?