gnome-shell crashes with JS callback errors

Bug #2031208 reported by Danny Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
New
Undecided
Unassigned

Bug Description

Every few days gnome shell locks up with lots of errors in the syslog, usually ending with endlessly repeating:
```
Aug 12 09:26:14 chiark gnome-shell[6330]: Attempting to run a JS callback during garbage collection. This is most likely caused by destroying a Clutter actor or GTK widget with ::destroy signal connected, or using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked.
Aug 12 09:26:14 chiark gnome-shell[6330]: The offending callback was SourceFunc().
Aug 12 09:26:14 chiark gnome-shell[6330]: == Stack trace for context 0x55f40c694180 ==
```

I had assumed that this was an incompatibility with the Workspace Matrix extension which I normally use, however I've been running with that disabled for the last few days and still encountered the error. Only enable extensions were the built in Desktop Icons NG, Ubuntu AppIndicators and Ubuntu Dock.

When the lock up occurs, most window management ceases to function, and attempts to restart gnome shell fail causing a log-out.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 42.9-0ubuntu2
ProcVersionSignature: Ubuntu 6.2.0-26.26~22.04.1-generic 6.2.13
Uname: Linux 6.2.0-26-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat Aug 12 09:31:56 2023
DisplayManager: gdm3
GsettingsChanges: b'org.gnome.desktop.app-folders' b'folder-children' b"['Utilities', 'YaST']"
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: mutter-common 42.9-0ubuntu4
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to jammy on 2023-02-18 (174 days ago)

Revision history for this message
Danny Smith (dsnt02518) wrote :
Revision history for this message
Danny Smith (dsnt02518) wrote :

The attached ShellJournal.txt is not going to be valid, since it's post reboot (I normally reboot after this error to get back to a stable system).

Attached ShellSyslog.txt contains 10000 lines from /var/log/syslog from the previous boot (via `grep gnome-shell /var/log/syslog`). System was idle overnight, but I would have logged back in (after screen lock I believe) at around 09:24. I have omitted the remaining repeated `Attempting to run a JS callback` errors (1251212 in total) to keep the file to a manageable size.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1908429, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.