p-e-w / argos

Create GNOME Shell extensions in seconds

Home Page:https://extensions.gnome.org/extension/1176/argos/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gnome crash when config script is updated while menu is already open: Object has already been deallocated

mdepot opened this issue · comments

If a shell script in ~/.config/argos is modified (or just touched), the directory monitor inside the enable() function in extension.js will trigger removeButtons() and then addButtons() to refresh the menu options. If this happens while the menu is already open on screen it will crash the Gnome session, sending you all the way back to the login screen. When this happens the following error appears in the log:

Object ... has been already deallocated - impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.

My gnome shell is 3.32.2 on Rocky 8.9, and I'm using the last release of Argos prior to the updates made for Gnome 45.