gnome-shell libmozjs g_closure_unref: assertion closure->ref_count > 0 failed

Bug #2045632 reported by Pirouette Cacahuète
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

While just using my system, GNOME Shell suddenly disappeared and logs shows:

déc. 05 09:02:23 portable-alex gnome-shell[4341]: g_closure_unref: assertion 'closure->ref_count > 0' failed
déc. 05 09:02:23 portable-alex gnome-shell[4341]: GNOME Shell crashed with signal 11
déc. 05 09:02:23 portable-alex gnome-shell[4341]: == Stack trace for context 0x55996924e410 ==
déc. 05 09:02:23 portable-alex kernel: traps: JS Helper[4367] general protection fault ip:7fe24f05d21c sp:7fe2339fec80 error:0 in libmozjs-115.so.115.3.0[7fe24ef18000+b73000]

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: gnome-shell 45.1-0ubuntu1
ProcVersionSignature: Ubuntu 6.5.0-13.13-generic 6.5.3
Uname: Linux 6.5.0-13-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Dec 5 09:08:03 2023
DisplayManager: gdm3
InstallationDate: Installed on 2022-07-04 (519 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
ProcEnviron:
 LANG=fr_FR.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
RelatedPackageVersions: mutter-common 45.0-3ubuntu3.1
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to mantic on 2023-10-16 (50 days ago)

Revision history for this message
Pirouette Cacahuète (lissyx) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I'm not sure that assertion is fatal or related to the crash. For example it repeats in:

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6767

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. It sounds like some part of the system has crashed. To help us find the cause of the crash please follow these steps:

1. Run these commands:
    journalctl -b0 > journal.txt
    journalctl -b-1 > prevjournal.txt
and attach the resulting text files here.

2. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

3. If step 2 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Pirouette Cacahuète (lissyx) wrote :

it was uploaded already but I dont know where:

> $ sudo cat /var/crash/_usr_bin_gnome-shell.1000.uploaded
> ad78e2e9-9344-11ee-8949-fa163ec8ca8c

Revision history for this message
Pirouette Cacahuète (lissyx) wrote :
Revision history for this message
Pirouette Cacahuète (lissyx) wrote :
Revision history for this message
Pirouette Cacahuète (lissyx) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. Looks like we'll need to wait for it to happen again and hope there's a clean core dump in future:

js::DumpBacktrace(JSContext*, js::GenericPrinter&) () at /lib/x86_64-linux-gnu/libmozjs-115.so.0
js::DumpBacktrace(JSContext*, _IO_FILE*) () at /lib/x86_64-linux-gnu/libmozjs-115.so.0
gjs_dumpstack () at /lib/x86_64-linux-gnu/libgjs.so.0
??? ()
<signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6

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

I don't see any crashes in the top 100 gnome-shell crashes of 23.10 that would match that so please check to see if it's caused by a local extension. To do that please run:

  cd ~/.local/share/gnome-shell/
  rm -rf extensions

and then log in again.

Revision history for this message
Pirouette Cacahuète (lissyx) wrote :

The only extensions installed are:
> $ gnome-extensions list
> <email address hidden>
> <email address hidden>
> <email address hidden>
> <email address hidden>
> <email address hidden>

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

Your config mentions b'enabled-extensions' b"['touchpad-indicator@orangeshirt', 'suspend-button@laserb', '<email address hidden>', 'cpufreq@konkor', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>']"

But either way please follow the instructions in comment #9.

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

[Expired for gnome-shell (Ubuntu) because there has been no activity for 60 days.]

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