Touchpad gesture animations trigger Object St.Button (0x56439bd53160), has been already disposed — 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. [windowPreview.js:566]

Bug #1968383 reported by Angel D. Segarra
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
GNOME Shell
Fix Released
Unknown
gnome-shell (Ubuntu)
Fix Released
Medium
Unassigned
Lunar
Fix Released
Medium
Unassigned

Bug Description

Impact
------
On a fresh boot, as soon as you open some applications and do the up touchpad gesture to enter the application grid and then back down to return to the desktop, journal spits out js stacktrace. If you don't trigger the crash then try opening and closing an app and trying again.

Test Case
---------
1. Install the update
2. Open a terminal and run journalctl -f
3. You may need to wait a few moments for some background tasks like NetworkManager or PackageKit to finish what they're doing. The journal should be fairly quiet before proceeding.
3. Open another app
4. Perform the 3 finger swipe up gesture until the app grid displays then swipe down to go back to the desktop.
5. See journal for gnome-shell errors like seen below.
6. If nothing happens try opening an app, closing it and try again.

What Could Go Wrong
-------------------
This is fixed in gnome-shell 44.1. See LP: #2020277 for more details.

Sample stacktrace
-----------------
Apr 08 18:46:18 x1c gnome-shell[1782]: Object St.Button (0x56439a2fd220), has been already disposed — 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.
Apr 08 18:46:18 x1c gnome-shell[1782]: == Stack trace for context 0x564398f2e170 ==
Apr 08 18:46:18 x1c gnome-shell[1782]: #0 56439bea4058 i resource:///org/gnome/shell/ui/windowPreview.js:566 (3be09010ac40 @ 10)
Apr 08 18:46:18 x1c gnome-shell[1782]: == Stack trace for context 0x564398f2e170 ==
Apr 08 18:46:18 x1c gnome-shell[1782]: #0 56439bea4058 i resource:///org/gnome/shell/ui/windowPreview.js:567 (3be09010ac40 @ 36)
Apr 08 18:46:18 x1c gnome-shell[1782]: == Stack trace for context 0x564398f2e170 ==
Apr 08 18:46:18 x1c gnome-shell[1782]: #0 56439bea4058 i resource:///org/gnome/shell/ui/windowPreview.js:570 (3be09010ac40 @ 77)
Apr 08 18:46:18 x1c gnome-shell[1782]: Object St.Label (0x56439a2e4c80), has been already disposed — 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.
Apr 08 18:46:18 x1c gnome-shell[1782]: Object .Gjs_ui_windowPreview_WindowPreview (0x56439a324ef0), has been already disposed — 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.

description: updated
summary: - Touch gesture animations trigger Object St.Button (0x56439bd53160), has
- been already disposed — impossible to get any property from it. This
+ Touchpad gesture animations trigger Object St.Button (0x56439bd53160),
+ has been already disposed — 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.
description: updated
description: updated
summary: Touchpad gesture animations trigger Object St.Button (0x56439bd53160),
has been already disposed — 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.
+ [windowPreview.js:566]
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in gnome-shell (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Changed in gnome-shell:
status: Unknown → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in gnome-shell:
status: New → Unknown
Changed in gnome-shell (Ubuntu):
status: Confirmed → In Progress
Changed in gnome-shell:
status: Unknown → New
Changed in gnome-shell (Ubuntu):
status: In Progress → Fix Committed
tags: added: fixed-in-gnome-shell-44.1 fixed-upstream
Changed in gnome-shell:
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.3 KiB)

This bug was fixed in the package gnome-shell - 44.1-1ubuntu1

---------------
gnome-shell (44.1-1ubuntu1) mantic; urgency=medium

  * Merge with Debian (LP: #2020277, LP: #1968383, LP: #1968390, LP: #2016007)
  * Remaining changes:
    - Add some Recommends:
      + ubuntu-session (| gnome-session) to have the ubuntu session available
      + ubuntu-wallpapers
      + xserver-xorg-legacy
      + yaru-theme-gnome-shell for the default ubuntu theming
    - Move some Recommends to Suggests:
      + chrome-gnome-shell
      + gnome-backgrounds
    - Update debian/gbp.conf with Ubuntu settings
    - debian/ubuntu-session-mods/ubuntu.json: Use Yaru's gnome-shell icons
    - debian/patches: Do not hang & crash if fingerprint service fails to start
      (LP: #1962566)
    - ubuntu/desktop_detect.patch:
      + add caching for desktop detection to avoid querying the current
        desktop env variable as iterate through the list each time. For the
        time of the Shell process, we can expect this env variable to stay
        stable.
    - ubuntu/lightdm-user-switching.patch:
      + Allow user switching when using LightDM.
    - ubuntu/lock_on_suspend.patch
      + Respect Ubuntu's lock-on-suspend setting.
    - ubuntu/background_login.patch
      + Change default background color as we modified the default GDM color
        for our ubuntu session.
    - ubuntu/gdm_alternatives.patch
      + Add support for GDM3 theme alternatives
    - main-show-an-error-message-on-gnome-shell-crash.patch,
      global-make-possible-to-set-debug-flags-dynamically.patch,
      main-increase-the-granularity-of-backtraces-in-SHELL_DEBU.patch,
      main-add-backtrace-crashes-all-and-backtrace-all.patch,
      sessionMode-add-support-for-debugFlags-parameter.patch:
      + Improve debug JS tracing for crash reports
    - ubuntu/smarter_alt_tab.patch:
      + quick alt-tab (without showing up the switcher) switch only between
        the last window of the last 2 applications to be focused instead of
        raising all windows of those apps.
    - magnifier-Show-cursor-when-magnifier-is-enabled-and-scale.patch:
      + Show monitor scaled cursor when magnifier is enabled
    - ubuntu/search-call-XUbuntuCancel-method-on-providers-when-no-dat.patch:
      + stop searches when requested from UI
    - magnifier-Show-cursor-when-magnifier-is-enabled-and-scale.patch
    - u/search-call-XUbuntuCancel-method-on-providers-when-no-dat.patch
    - ubuntu/resolve_alternate_theme_path.patch
    - ubuntu/secure_mode_extension.patch
    - ubuntu/keep-ubuntu-logo-bright-lp1867133-v1.patch
    - ubuntu/configure_login_screen.patch
    - ubuntu/layout-Make-starting-in-the-overview-optional.patch:
      + Makes dock replace overview easier
    - ubuntu/layout-Try-to-allocate-before-getting-size-of-tracke.patch:
      + Ensure windows don't get maximized under the panels / dock
    - debian/patches: Compute system background color from theme (LP: #1965727)
    - ubuntu/configure-login-screen.patch: Use bg color for initial system bg
      (LP: #1965727)
    - debian/patches: Ensure St.Entry's `selected-color` CSS property is
      honored (LP: #1878998)
    - ubuntu/support-loading-Y...

Read more...

Changed in gnome-shell (Ubuntu):
status: Fix Committed → Fix Released
Jeremy Bícha (jbicha)
description: updated
Changed in gnome-shell (Ubuntu Lunar):
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Angel, or anyone else affected,

Accepted gnome-shell into lunar-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-shell/44.1-0ubuntu1 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-lunar to verification-done-lunar. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-lunar. 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 (Ubuntu Lunar):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-lunar
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I installed gnome-shell 44.1-0ubuntu1 and mutter 44.1-0ubuntu1 on Ubuntu 23.04. In my earlier testing, I was unable to reproduce the crash described here after doing the update. Today, though, I was still able to reproduce the crash after doing the update and restarting my computer.

Therefore, I am marking this bug verification-failed.

I request that the SRU team still allow this bugfix update into lunar-updates. We had believed this fix was included in the 44.1 update. The 44.1 update still has many other bugfixes, and the failure to fix this bug isn't a new regression.

tags: added: verification-failed verification-failed-lunar
removed: verification-needed verification-needed-lunar
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I reviewed the bug and the bugfix again today. With gnome-shell 44.0-2ubuntu3 on Ubuntu 23.04, when I do the test case, the journal shows a STACK TRACE. Eventually a crash report shows in /var/crash/ and I get an apport popup informing me of the crash and asking if I want to report the issue.

With gnome-shell 44.1-0ubuntu1, I get
JS ERROR: TypeError: workspace is undefined

I do not get a stack trace, or a crash in /var/crash/ or an apport popup. Therefore, the crash is fixed even though there is still a remaining bug.

Therefore, I am now marking this as verification-done instead of verification-failed.

tags: added: verification-done verification-done-lunar
removed: verification-failed verification-failed-lunar
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 44.1-0ubuntu1

---------------
gnome-shell (44.1-0ubuntu1) lunar; urgency=medium

  [ Jarred Wilson ]
  * New upstream release (LP: #2020277, LP: #1968383)
  * Drop patches applied in new release
  * Rebase patches

  [ Jeremy Bicha ]
  * Drop patch to ensure tray icons windows are shown: applied in new release
  * debian/control.in: Bump minimum mutter to 44.1

 -- Jeremy Bícha <email address hidden> Mon, 22 May 2023 16:33:48 -0400

Changed in gnome-shell (Ubuntu Lunar):
status: Fix Committed → Fix Released
Revision history for this message
Robie Basak (racb) wrote : Update Released

The verification of the Stable Release Update for gnome-shell 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
Robie Basak (racb) wrote :

> Therefore, the crash is fixed even though there is still a remaining bug.

Does this bug need reopening then, or a new bug filed? I leave that up to you - setting Incomplete for now since that's better than Fix Released and this being forgotten.

Changed in gnome-shell (Ubuntu Lunar):
status: Fix Released → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):

The "new" issue in comment #6 isn't really new. It's being tracked in https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5596
 (bug 2037538) and is known to exist in 44 too judging by the duplicates.

Changed in gnome-shell (Ubuntu Lunar):
status: Incomplete → 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.