Object .Gjs_AppIndicatorIconActor__1 (0x5582a2e9b240), has been already finalized. Impossible to set any property to it

Bug #1881669 reported by Jerry Quinn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell-extension-appindicator (Ubuntu)
Fix Released
Low
Marco Trevisan (Treviño)
Focal
Fix Released
Low
Marco Trevisan (Treviño)

Bug Description

[ Impact ]

Destroying an appindicator dbusmenu we fail with some (non-fatal) errors

[ Test case ]

Open/Close an application with appindicator
Ensure that gnome-shell journal (journalctl -b0 /usr/bin/gnome-shell) doesn't show any error related to

Jun 01 17:24:15 cerberus gnome-shell[3318]: [AppIndicatorSupport-WARN] While reading menu layout: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.
Jun 01 17:24:15 cerberus gnome-shell[3318]: JS ERROR: TypeError: this._proxy is null
                                            DBusClient<._beginRequestProperties@/<email address hidden>/dbusMenu.js:247:9
                                            wrapper@resource:///org/gnome/gjs/modules

[ Regression potential ]

Indicator may not show at all, but that was what we expect on destruction.

---

jlquinn@cerberus:~$ lsb_release -rd
Description: Ubuntu 18.04.4 LTS
Release: 18.04

jlquinn@cerberus:~/Videos$ apt-cache policy gnome-shell-extension-appindicator
gnome-shell-extension-appindicator:
  Installed: 18.04.1
  Candidate: 18.04.1
  Version table:
 *** 18.04.1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status

This may be related to bug 1879016, but my stack trace is smaller and different. I enabled the appindicator extension, and see the following my logs:

Jun 01 17:24:15 cerberus gnome-shell[3318]: Object .Gjs_AppIndicatorIconActor__1 (0x5582a2e9b240), has been already finalized. Impossible to set any property to it.
Jun 01 17:24:15 cerberus org.gnome.Shell.desktop[3318]: == Stack trace for context 0x5582a28894b0 ==
Jun 01 17:24:15 cerberus org.gnome.Shell.desktop[3318]: #0 0x7ffc718eda00 b resource:///org/gnome/gjs/modules/_legacy.js:83 (0x7f70f00b5de0 @ 87)
Jun 01 17:24:15 cerberus org.gnome.Shell.desktop[3318]: #1 0x5582a2c5a930 i /<email address hidden>/indicatorStatusIcon.js:93 (0x7f6ee00
Jun 01 17:24:15 cerberus org.gnome.Shell.desktop[3318]: #2 0x7ffc718ee5e0 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f70f00b5de0 @ 71)
Jun 01 17:24:15 cerberus org.gnome.Shell.desktop[3318]: #3 0x7ffc718eed80 b self-hosted:916 (0x7f70f00f12b8 @ 367)
Jun 01 17:24:15 cerberus org.gnome.Shell.desktop[3318]: #4 0x7ffc718eee70 b resource:///org/gnome/gjs/modules/signals.js:128 (0x7f70f00d2230 @ 386)
Jun 01 17:24:15 cerberus org.gnome.Shell.desktop[3318]: #5 0x5582a2c5a8a8 i /<email address hidden>/appIndicator.js:190 (0x7f6ee00adf78
Jun 01 17:24:15 cerberus org.gnome.Shell.desktop[3318]: #6 0x7ffc718efac0 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f70f00b5de0 @ 71)
Jun 01 17:24:15 cerberus org.gnome.Shell.desktop[3318]: #7 0x5582a2c5a800 i /<email address hidden>/statusNotifierWatcher.js:176 (0x7f6e
Jun 01 17:24:15 cerberus org.gnome.Shell.desktop[3318]: #8 0x7ffc718f06a0 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f70f00b5de0 @ 71)
Jun 01 17:24:15 cerberus org.gnome.Shell.desktop[3318]: #9 0x5582a2c5a760 i /<email address hidden>/statusNotifierWatcher.js:170 (0x7f6e
Jun 01 17:24:15 cerberus org.gnome.Shell.desktop[3318]: #10 0x7ffc718f1290 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f70f00b5de0 @ 71)
Jun 01 17:24:15 cerberus org.gnome.Shell.desktop[3318]: #11 0x7ffc718f1a50 b self-hosted:918 (0x7f70f00f12b8 @ 394)
Jun 01 17:24:15 cerberus gnome-shell[3318]: [AppIndicatorSupport-WARN] While reading menu layout: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.
Jun 01 17:24:15 cerberus gnome-shell[3318]: JS ERROR: TypeError: this._proxy is null
                                            DBusClient<._beginRequestProperties@/<email address hidden>/dbusMenu.js:247:9
                                            wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22

ProblemType: BugDistroRelease: Ubuntu 18.04
Package: gnome-shell-extension-appindicator 18.04.1
ProcVersionSignature: Ubuntu 5.3.0-53.47~18.04.1-generic 5.3.18
Uname: Linux 5.3.0-53-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.15
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun 1 17:41:57 2020
Dependencies:

InstallationDate: Installed on 2020-05-29 (2 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bashSourcePackage: gnome-shell-extension-appindicator
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jerry Quinn (jlquinn) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:
* Is this reproducible?
* If so, what specific steps should we take to recreate this bug?

This will help us to find and resolve the problem.

Changed in gnome-shell-extension-appindicator (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Jerry Quinn (jlquinn) wrote :
Download full text (11.6 KiB)

Hi Sebastien. It seems to be reproducible, but I don't know how to do it. I see several events in my log today. One clue I see is that there is a gnome-software message as well as the gnome-shell traces. I then ran gnome-software. I see that it last checked at 6:16. And in the log, there's one of these traces at 6:16.

Unfortunately, starting gnome-software and asking it to refresh didn't create another stack trace.

Jun 3 18:16:35 cerberus gnome-shell[3318]: Object .Gjs_AppIndicatorIconActor__1 (0x5582a2cf3450), has been already finalized. Impossible to set any property to it.
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: == Stack trace for context 0x5582a28894b0 ==
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #0 0x7ffc718e6f10 I resource:///org/gnome/gjs/modules/_legacy.js:83 (0x7f70f00b5de0 @ 87)
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #1 0x5582a2c5ae38 i /<email address hidden>/indicatorStatusIcon.js:93 (0x7f6ee00c2340 @ 58)
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #2 0x7ffc718e7af0 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f70f00b5de0 @ 71)
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #3 0x7ffc718e7bb0 b self-hosted:916 (0x7f70f00f12b8 @ 367)
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #4 0x7ffc718e7ca0 b resource:///org/gnome/gjs/modules/signals.js:128 (0x7f70f00d2230 @ 386)
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #5 0x5582a2c5adb0 i /<email address hidden>/appIndicator.js:190 (0x7f6ee00adf78 @ 22)
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #6 0x7ffc718e88f0 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f70f00b5de0 @ 71)
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #7 0x5582a2c5ad08 i /<email address hidden>/statusNotifierWatcher.js:219 (0x7f6ee00ad5e8 @ 225)
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #8 0x7ffc718e94d0 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f70f00b5de0 @ 71)
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #9 0x5582a2c5ac90 i /<email address hidden>/extension.js:61 (0x7f6ee0084780 @ 37)
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #10 0x5582a2c5abd0 i resource:///org/gnome/shell/ui/extensionSystem.js:83 (0x7f70b40592b8 @ 441)
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #11 0x5582a2c5ab50 i resource:///org/gnome/shell/ui/extensionSystem.js:354 (0x7f70b4059d58 @ 13)
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #12 0x7ffc718ea1d0 b self-hosted:251 (0x7f70f00c4ab0 @ 223)
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #13 0x5582a2c5aad0 i resource:///org/gnome/shell/ui/extensionSystem.js:353 (0x7f70b4059cd0 @ 64)
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #14 0x5582a2c5aa50 i resource:///org/gnome/shell/ui/extensionSystem.js:371 (0x7f70b4059de0 @ 87)
Jun 3 18:16:35 cerberus org.gnome.Shell.desktop[3318]: #15 0x7ffc718eb6d0 b resource:///org/gnome/gjs/modules/signals.js:128 (0x7f70f00d2230 @ 386)
Jun...

Jerry Quinn (jlquinn)
Changed in gnome-shell-extension-appindicator (Ubuntu):
status: Incomplete → New
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

This was fixed by gnome-shell-extension-appindicator 34-1

Changed in gnome-shell-extension-appindicator (Ubuntu):
status: New → Fix Released
Changed in gnome-shell-extension-appindicator (Ubuntu Focal):
status: New → In Progress
Changed in gnome-shell-extension-appindicator (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in gnome-shell-extension-appindicator (Ubuntu Focal):
importance: Undecided → Low
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Jerry, or anyone else affected,

Accepted gnome-shell-extension-appindicator into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-shell-extension-appindicator/33.1-0ubuntu0.20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gnome-shell-extension-appindicator (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

tricky ~ SIGINT(2) 17:08:51
❯ apt-cache policy gnome-shell-extension-appindicator
gnome-shell-extension-appindicator:
  Installato: 33.1-0ubuntu0.20.04.1
  Candidato: 33.1-0ubuntu0.20.04.1
  Tabella versione:
 *** 33.1-0ubuntu0.20.04.1 400
        400 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
        400 http://archive.ubuntu.com/ubuntu focal-proposed/main i386 Packages
        100 /var/lib/dpkg/status
     33-1 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu focal/main i386 Packages

tricky ~ 1 17:11:19
❯ journalctl -b0 /usr/bin/gnome-shell |grep -F this._proxy -c
0

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for gnome-shell-extension-appindicator has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell-extension-appindicator - 33.1-0ubuntu0.20.04.1

---------------
gnome-shell-extension-appindicator (33.1-0ubuntu0.20.04.1) focal; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * New upstream stable release
  * debian/gbp.conf:
    - Setup for focal branching and use ubuntu/* tagging
    - Use multimaint-merge in dch and sign tags
  * debian/control:
    - Set Ubuntu Developers as maintainer
    - Update VCS informations to point to ubuntu/focal
  * dbusMenu: Use GCancellable to stop pending async operations (LP: #1881669)
  * dbusMenu: Use proper argument name when parsing error (LP: #1881669)
  * dbusMenu: Stop idle requests if we've been destroyed (LP: #1870795)
  * appIndicator: Remove the callbackIdle if we destroy while waiting it
    (LP: #1849142)
  * StatusNotifierWatcher: Remove ProtocolVersion method (LP: #1896785)
  * appIndicator: Ignore further icons creation during an idle (LP: #1849142)
  * README: Remove statement about indicator-multiload not being supported
  * statusNotifierWatcher: Fix RegisterStatusNotifierHost method name and
    returned error (LP: #1896785)
  * interfaces: Sync interfaces XML with upstream ones (LP: #1896785)
  * StatusNotifierItem: Disable Tooltip properties and signals (LP: #1896785)
  * appIndicator: Don't waste CPU cycles to handle icon updates (LP: #1884396):
    - util: Use Shell's param to handle multiple named arguments
    - util: Delete proxyCancellables only if we didn't cancel already
    - util: Ignore errors if we can't find a listed dbus name
    - appIndicator: Cleanup the interface info properties map computation
    - appIndicator: Don't deep unpack changed properties array
    - appIndicator: Use native checks to look for equal emblems
    - appIndicator: Mark a valid cached icon as inUse again
    - appIndicator: Correctly mark cached GIcon's as in use
    - iconCache: Rewrite simplifying the usage for GIcon's only
    - iconCache: Dispose an icon when we remove it
    - iconCache: Increase the garbage-collector timings
    - appIndicator: Only iterate through the proxy available properties
    - appIndicator: Don't try to check equality on Pixmap variants
    - util: Try to batch properties updates when they comes close enough
    - appIndicator: Accumulate signals to batch close updates
    - appIndicator: Emit the same signal once on properties updates
    - appIndicator: Improve the warning message on lookup failed

  [ Fini Jastrow ]
  * appIndicator: Remove unneeded padding (LP: #1896779)
  * appIndicator: Fix 'reduce padding' for some icons (LP: #1896779)

  [ Sergio Costas ]
  * Wait until the desktop ends starting up (LP: #1870795)
  * Wait until Gtk.IconTheme.get_default() works (LP: #1870795)
  * Don't fail if no icon is found (LP: #1849142)
  * Use signal to detect display availability (LP: #1870795)

  [ Tasos Sahanidis ]
  * kstatusnotifierwatcher: Implement ProtocolVersion property (LP: #1896785)

 -- Marco Trevisan (Treviño) <email address hidden> Wed, 23 Sep 2020 18:47:33 +0200

Changed in gnome-shell-extension-appindicator (Ubuntu Focal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.