Skip to content

Bug in GNOME extension causes pamac-checkupdates to spawn and show notifications every 10 seconds #535

@doraeric

Description

@doraeric

Component: GNOME Shell Extension (pamac-updates@manjaro.org)

Overview:

I am reporting a bug involving the pamac-updates@manjaro.org GNOME Shell extension. A fault occurred where the extension began spawning the pamac-checkupdates process continuously, causing a new update notification to appear approximately every 10 seconds.

This was an occasional incident and has not been reproduced since. It is noteworthy that while the bug was active and notifications were appearing, the extension's icon remained visible in the system tray.

System Information:

  • Operating System: Manjaro Linux (rolling)
  • GNOME Shell Version: 48.4
  • Pamac Version: pamac-cli 11.7.3 / libpamac 11.7.3

Evidence from Logs:

System logs captured during the event show the extension encountering errors, which is the likely trigger for the continuous spawning loop. The errors indicate the extension was attempting to access UI elements that had already been destroyed.

 9月 18 10:40:55 host gnome-shell[2292]: updates_checker.vala:59: check updates
 9月 18 10:41:04 host gnome-shell[2292]: updates_checker.vala:59: check updates
 9月 18 10:41:08 host gnome-shell[2292]: Object St.Icon (0x55cf083c31a0), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
                                                   == Stack trace for context 0x55cf03c0c290 ==
                                                   #0   55cf03d04138 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:181 (352140a621a0 @ 49)
                                                   #1   55cf03d040a8 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:232 (352140acd5b0 @ 108)
                                                   #2   55cf03d04018 i   resource:///org/gnome/shell/ui/init.js:21 (c098657ea60 @ 48)
 9月 18 10:41:08 host gnome-shell[2292]: Object St.BoxLayout (0x55cf083ce610), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
                                                   == Stack trace for context 0x55cf03c0c290 ==
                                                   #0   55cf03d041f0 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:197 (352140a7e5b0 @ 34)
                                                   #1   55cf03d04138 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:182 (352140a621a0 @ 119)
                                                   #2   55cf03d040a8 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:232 (352140acd5b0 @ 108)
                                                   #3   55cf03d04018 i   resource:///org/gnome/shell/ui/init.js:21 (c098657ea60 @ 48)
 9月 18 10:41:08 host gnome-shell[2292]: Object Gjs_ui_popupMenu_PopupSubMenuMenuItem (0x55cf083c57b0), 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.
                                                   == Stack trace for context 0x55cf03c0c290 ==
                                                   #0   55cf03d041f0 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:203 (352140a7e5b0 @ 97)
                                                   #1   55cf03d04138 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:182 (352140a621a0 @ 119)
                                                   #2   55cf03d040a8 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:232 (352140acd5b0 @ 108)
                                                   #3   55cf03d04018 i   resource:///org/gnome/shell/ui/init.js:21 (c098657ea60 @ 48)
 9月 18 10:41:08 host gnome-shell[2292]: Object St.Icon (0x55cf083cc1d0), 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.
                                                   == Stack trace for context 0x55cf03c0c290 ==
                                                   #0   55cf03d041f0 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:204 (352140a7e5b0 @ 121)
                                                   #1   55cf03d04138 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:182 (352140a621a0 @ 119)
                                                   #2   55cf03d040a8 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:232 (352140acd5b0 @ 108)
                                                   #3   55cf03d04018 i   resource:///org/gnome/shell/ui/init.js:21 (c098657ea60 @ 48)
 9月 18 10:41:08 host gnome-shell[2292]: Object St.Label (0x55cf083c83f0), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
                                                   == Stack trace for context 0x55cf03c0c290 ==
                                                   #0   55cf03d041f0 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:205 (352140a7e5b0 @ 152)
                                                   #1   55cf03d04138 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:182 (352140a621a0 @ 119)
                                                   #2   55cf03d040a8 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:232 (352140acd5b0 @ 108)
                                                   #3   55cf03d04018 i   resource:///org/gnome/shell/ui/init.js:21 (c098657ea60 @ 48)
 9月 18 10:41:08 host gnome-shell[2292]: clutter_text_get_editable: assertion 'CLUTTER_IS_TEXT (self)' failed
 9月 18 10:41:08 host gnome-shell[2292]: clutter_text_get_text: assertion 'CLUTTER_IS_TEXT (self)' failed
 9月 18 10:41:08 host gnome-shell[2292]: clutter_text_set_text: assertion 'CLUTTER_IS_TEXT (self)' failed
 9月 18 10:41:08 host gnome-shell[2292]: Object Gjs_ui_popupMenu_PopupSubMenuMenuItem (0x55cf083c57b0), 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.
                                                   == Stack trace for context 0x55cf03c0c290 ==
                                                   #0   55cf03d041f0 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:206 (352140a7e5b0 @ 167)
                                                   #1   55cf03d04138 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:182 (352140a621a0 @ 119)
                                                   #2   55cf03d040a8 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:232 (352140acd5b0 @ 108)
                                                   #3   55cf03d04018 i   resource:///org/gnome/shell/ui/init.js:21 (c098657ea60 @ 48)
 9月 18 10:41:08 host gnome-shell[2292]: Object St.BoxLayout (0x55cf083ce610), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
                                                   == Stack trace for context 0x55cf03c0c290 ==
                                                   #0   55cf03d04278 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:209 (352140a89150 @ 45)
                                                   #1   7ffe2b6ba190 I   self-hosted:160 (c09865abd30 @ 245)
                                                   #2   55cf03d041f0 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:208 (352140a7e5b0 @ 241)
                                                   #3   55cf03d04138 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:182 (352140a621a0 @ 119)
                                                   #4   55cf03d040a8 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:232 (352140acd5b0 @ 108)
                                                   #5   55cf03d04018 i   resource:///org/gnome/shell/ui/init.js:21 (c098657ea60 @ 48)
 9月 18 10:41:08 host gnome-shell[2292]: Object St.BoxLayout (0x55cf083ce610), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
                                                   == Stack trace for context 0x55cf03c0c290 ==
                                                   #0   55cf03d04278 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:209 (352140a89150 @ 45)
                                                   #1   7ffe2b6ba190 I   self-hosted:160 (c09865abd30 @ 245)
                                                   #2   55cf03d041f0 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:208 (352140a7e5b0 @ 241)
                                                   #3   55cf03d04138 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:182 (352140a621a0 @ 119)
                                                   #4   55cf03d040a8 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:232 (352140acd5b0 @ 108)
                                                   #5   55cf03d04018 i   resource:///org/gnome/shell/ui/init.js:21 (c098657ea60 @ 48)
 9月 18 10:41:08 host gnome-shell[2292]: Object St.BoxLayout (0x55cf083ce610), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
                                                   == Stack trace for context 0x55cf03c0c290 ==
                                                   #0   55cf03d04278 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:209 (352140a89150 @ 45)
                                                   #1   7ffe2b6ba190 I   self-hosted:160 (c09865abd30 @ 245)
                                                   #2   55cf03d041f0 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:208 (352140a7e5b0 @ 241)
                                                   #3   55cf03d04138 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:182 (352140a621a0 @ 119)
                                                   #4   55cf03d040a8 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:232 (352140acd5b0 @ 108)
                                                   #5   55cf03d04018 i   resource:///org/gnome/shell/ui/init.js:21 (c098657ea60 @ 48)
 9月 18 10:41:08 host gnome-shell[2292]: Object St.BoxLayout (0x55cf083ce610), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
                                                   == Stack trace for context 0x55cf03c0c290 ==
                                                   #0   7ffe2b6b9b60 b   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:209 (352140a89150 @ 45)
                                                   #1   7ffe2b6ba190 I   self-hosted:160 (c09865abd30 @ 245)
                                                   #2   55cf03d041f0 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:208 (352140a7e5b0 @ 241)
                                                   #3   55cf03d04138 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:182 (352140a621a0 @ 119)
                                                   #4   55cf03d040a8 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:232 (352140acd5b0 @ 108)
                                                   #5   55cf03d04018 i   resource:///org/gnome/shell/ui/init.js:21 (c098657ea60 @ 48)
 9月 18 10:41:08 host gnome-shell[2292]: Object St.BoxLayout (0x55cf083ce610), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
                                                   == Stack trace for context 0x55cf03c0c290 ==
                                                   #0   7ffe2b6ba120 b   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:209 (352140a89150 @ 45)
                                                   #1   7ffe2b6ba190 I   self-hosted:160 (c09865abd30 @ 245)
                                                   #2   55cf03d041f0 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:208 (352140a7e5b0 @ 241)
                                                   #3   55cf03d04138 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:182 (352140a621a0 @ 119)
                                                   #4   55cf03d040a8 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:232 (352140acd5b0 @ 108)
                                                   #5   55cf03d04018 i   resource:///org/gnome/shell/ui/init.js:21 (c098657ea60 @ 48)
 9月 18 10:41:08 host gnome-shell[2292]: Object St.BoxLayout (0x55cf083ce610), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
                                                   == Stack trace for context 0x55cf03c0c290 ==
                                                   #0   7ffe2b6ba120 b   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:209 (352140a89150 @ 45)
                                                   #1   7ffe2b6ba190 I   self-hosted:160 (c09865abd30 @ 245)
                                                   #2   55cf03d041f0 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:208 (352140a7e5b0 @ 241)
                                                   #3   55cf03d04138 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:182 (352140a621a0 @ 119)
                                                   #4   55cf03d040a8 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:232 (352140acd5b0 @ 108)
                                                   #5   55cf03d04018 i   resource:///org/gnome/shell/ui/init.js:21 (c098657ea60 @ 48)
 9月 18 10:41:08 host gnome-shell[2292]: Object St.BoxLayout (0x55cf083ce610), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
                                                   == Stack trace for context 0x55cf03c0c290 ==
                                                   #0   7ffe2b6ba120 b   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:209 (352140a89150 @ 45)
                                                   #1   7ffe2b6ba190 I   self-hosted:160 (c09865abd30 @ 245)
                                                   #2   55cf03d041f0 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:208 (352140a7e5b0 @ 241)
                                                   #3   55cf03d04138 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:182 (352140a621a0 @ 119)
                                                   #4   55cf03d040a8 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:232 (352140acd5b0 @ 108)
                                                   #5   55cf03d04018 i   resource:///org/gnome/shell/ui/init.js:21 (c098657ea60 @ 48)
 9月 18 10:41:08 host gnome-shell[2292]: Object Gjs_pamac-updates_manjaro_org_extension_PamacUpdateIndicator (0x55cf083bb8c0), 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.
                                                   == Stack trace for context 0x55cf03c0c290 ==
                                                   #0   55cf03d041f0 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:168 (352140a34b00 @ 80)
                                                   #1   55cf03d04138 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:193 (352140a621a0 @ 251)
                                                   #2   55cf03d040a8 i   file:///usr/share/gnome-shell/extensions/pamac-updates@manjaro.org/extension.js:232 (352140acd5b0 @ 108)
                                                   #3   55cf03d04018 i   resource:///org/gnome/shell/ui/init.js:21 (c098657ea60 @ 48)
 9月 18 10:41:13 host gnome-shell[2292]: updates_checker.vala:59: check updates
 9月 18 10:41:22 host gnome-shell[2292]: updates_checker.vala:59: check updates

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions