gnome-shell crashes with JS callback errors
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
ProcVersionSign
Uname: Linux 6.2.0-26-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat Aug 12 09:31:56 2023
DisplayManager: gdm3
GsettingsChanges: b'org.gnome.
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm-
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
RelatedPackageV
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to jammy on 2023-02-18 (174 days ago)
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.