gnome-shell crashed with SIGTRAP in ObjectInstance::disassociate_js_gobject() from std::function<void (ObjectInstance*)>::operator() from ObjectInstance::remove_wrapped_gobjects_if() from ObjectInstance::update_heap_wrapper_weak_pointers

Bug #1858414 reported by El jinete sin cabeza
108
This bug affects 14 people
Affects Status Importance Assigned to Milestone
GNOME Shell
New
Unknown
gnome-shell (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

https://errors.ubuntu.com/problem/c81c4bee503e4c7ae8551cb68187b7da66472c9b

---

This happened after selecting and entering the password of the GDM user.

GDM gives the pass to gnome-shell, and it does not start. I reboot the notebook, and it successfully enters gnome-shell

---

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

ProblemType: Crash
DistroRelease: Ubuntu 20.04
Package: gnome-shell 3.34.1+git20191024-1ubuntu1
Uname: Linux 5.4.8-050408-generic x86_64
ApportVersion: 2.20.11-0ubuntu15
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Jan 6 07:42:52 2020
DisplayManager: gdm3
ExecutablePath: /usr/bin/gnome-shell
InstallationDate: Installed on 2018-12-02 (399 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcCmdline: /usr/bin/gnome-shell
ProcEnviron:
 LANG=es_CL.UTF-8
 LANGUAGE=es_CL:es
 PATH=(custom, no user)
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
RelatedPackageVersions: mutter-common 3.34.2-2ubuntu1
Signal: 5
SourcePackage: gnome-shell
StacktraceTop:
 ObjectInstance::disassociate_js_gobject() () at /usr/lib/libgjs.so.0
 ObjectInstance::remove_wrapped_gobjects_if(std::function<bool (ObjectInstance*)> const&, std::function<void (ObjectInstance*)> const&) () at /usr/lib/libgjs.so.0
 ObjectInstance::update_heap_wrapper_weak_pointers(JSContext*, JSCompartment*, void*) () at /usr/lib/libgjs.so.0
 () at /usr/lib/x86_64-linux-gnu/libmozjs-60.so.0
 () at /usr/lib/x86_64-linux-gnu/libmozjs-60.so.0
Title: gnome-shell crashed with signal 5 in ObjectInstance::disassociate_js_gobject()
UpgradeStatus: Upgraded to focal on 2018-12-02 (399 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
separator:

Revision history for this message
El jinete sin cabeza (ejsc) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Possible regression detected

This crash has the same stack trace characteristics as bug #1841794. However, the latter was already fixed in an earlier package version than the one in this report. This might be a regression or because the problem is in a dependent package.

tags: added: regression-retracer
Revision history for this message
Apport retracing service (apport) wrote : gnome-shell crashed with signal 5 in ObjectInstance::disassociate_js_gobject()

StacktraceTop:
 _g_log_abort () from /tmp/apport_sandbox_87mjpy74/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_log_default_handler () from /tmp/apport_sandbox_87mjpy74/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 default_log_handler ()
 g_logv () from /tmp/apport_sandbox_87mjpy74/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_log () from /tmp/apport_sandbox_87mjpy74/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gnome-shell (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
information type: Private → Public
Revision history for this message
El jinete sin cabeza (ejsc) wrote : Re: gnome-shell crashed with signal 5 in ObjectInstance::disassociate_js_gobject()
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It doesn't really look the same as bug 1841794 so ignore comment #2. This does however look like a pure gjs/mozjs bug.

tags: removed: regression-retracer
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It appears you have a number of non-Ubuntu extensions installed:

'<email address hidden>'
'<email address hidden>'
'<email address hidden>'
'<email address hidden>'
'<email address hidden>'
'<email address hidden>'
'<email address hidden>'
'<email address hidden>'
'<email address hidden>'
'<email address hidden>'
'<email address hidden>'
'desktop-icons@csoriano'

Since we find so many bugs are caused by extensions we ask that you uninstall ALL of them (don't just disable them) and then tell us if the problem reoccurs.

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Nevermind. Confirmed the same crash is affecting Ubuntu 19.10 too:
https://errors.ubuntu.com/problem/c81c4bee503e4c7ae8551cb68187b7da66472c9b

Changed in gnome-shell (Ubuntu):
status: Incomplete → Confirmed
description: updated
tags: added: eoan
Changed in gnome-shell:
status: Unknown → New
summary: gnome-shell crashed with signal 5 in
- ObjectInstance::disassociate_js_gobject()
+ ObjectInstance::disassociate_js_gobject() from std::function<void
+ (ObjectInstance*)>::operator() from
+ ObjectInstance::remove_wrapped_gobjects_if() from
+ ObjectInstance::update_heap_wrapper_weak_pointers
summary: - gnome-shell crashed with signal 5 in
+ gnome-shell crashed with SIGTRAP in
ObjectInstance::disassociate_js_gobject() from std::function<void
(ObjectInstance*)>::operator() from
ObjectInstance::remove_wrapped_gobjects_if() from
ObjectInstance::update_heap_wrapper_weak_pointers
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It appears this crash is probably caused by one or more buggy extensions. It seems to practically never happens for most people using 20.04.

So please try removing some or all extensions to figure out which is to blame.

Revision history for this message
Lyubomir (mystiquewolf) wrote :

Is it normal for extensions to be able to crash native gnome/Ubuntu processes? Seems strange to me.

Revision history for this message
Lyubomir (mystiquewolf) wrote :

I mean, it doesn't sound logical for me for the error tracking system to not be able to distinguish between issues with extensions and ones with core gnome. But i don't know about gnome enough.

Revision history for this message
Dougal (19dl55) wrote : Re: [Bug 1858414] Re: gnome-shell crashed with SIGTRAP in ObjectInstance::disassociate_js_gobject() from std::function<void (ObjectInstance*)>::operator() from ObjectInstance::remove_wrapped_gobjects_if() from ObjectInstance::update_heap_wrapper_weak_pointers

This has not happened since I've installed the latest version. Please close
the bug. As far as I'm concerned it would appear to be fixed even if you
are not aware.
Thanks.

On Tue, 2 Jun 2020, 14:20 Lyubomir Parvanov, <email address hidden>
wrote:

> I mean, it doesn't sound logical for me for the error tracking system to
> not be able to distinguish between issues with extensions and ones with
> core gnome. But i don't know about gnome enough.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1868132).
> https://bugs.launchpad.net/bugs/1858414
>
> Title:
> gnome-shell crashed with SIGTRAP in
> ObjectInstance::disassociate_js_gobject() from std::function<void
> (ObjectInstance*)>::operator() from
> ObjectInstance::remove_wrapped_gobjects_if() from
> ObjectInstance::update_heap_wrapper_weak_pointers
>
> Status in GNOME Shell:
> New
> Status in gnome-shell package in Ubuntu:
> Confirmed
>
> Bug description:
>
> https://errors.ubuntu.com/problem/c81c4bee503e4c7ae8551cb68187b7da66472c9b
>
> ---
>
> This happened after selecting and entering the password of the GDM
> user.
>
> GDM gives the pass to gnome-shell, and it does not start. I reboot the
> notebook, and it successfully enters gnome-shell
>
> ---
>
> https://gitlab.gnome.org/GNOME/gnome-shell/issues/2084
>
> ProblemType: Crash
> DistroRelease: Ubuntu 20.04
> Package: gnome-shell 3.34.1+git20191024-1ubuntu1
> Uname: Linux 5.4.8-050408-generic x86_64
> ApportVersion: 2.20.11-0ubuntu15
> Architecture: amd64
> CurrentDesktop: ubuntu:GNOME
> Date: Mon Jan 6 07:42:52 2020
> DisplayManager: gdm3
> ExecutablePath: /usr/bin/gnome-shell
> InstallationDate: Installed on 2018-12-02 (399 days ago)
> InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64
> (20180725)
> ProcCmdline: /usr/bin/gnome-shell
> ProcEnviron:
> LANG=es_CL.UTF-8
> LANGUAGE=es_CL:es
> PATH=(custom, no user)
> SHELL=/bin/bash
> XDG_RUNTIME_DIR=<set>
> RelatedPackageVersions: mutter-common 3.34.2-2ubuntu1
> Signal: 5
> SourcePackage: gnome-shell
> StacktraceTop:
> ObjectInstance::disassociate_js_gobject() () at /usr/lib/libgjs.so.0
> ObjectInstance::remove_wrapped_gobjects_if(std::function<bool
> (ObjectInstance*)> const&, std::function<void (ObjectInstance*)> const&) ()
> at /usr/lib/libgjs.so.0
> ObjectInstance::update_heap_wrapper_weak_pointers(JSContext*,
> JSCompartment*, void*) () at /usr/lib/libgjs.so.0
> () at /usr/lib/x86_64-linux-gnu/libmozjs-60.so.0
> () at /usr/lib/x86_64-linux-gnu/libmozjs-60.so.0
> Title: gnome-shell crashed with signal 5 in
> ObjectInstance::disassociate_js_gobject()
> UpgradeStatus: Upgraded to focal on 2018-12-02 (399 days ago)
> UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
> separator:
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gnome-shell/+bug/1858414/+subscriptions
>

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

The error tracker link for this bug suggests it isn't happening at all in 20.04 with 3.36:

https://errors.ubuntu.com/problem/c81c4bee503e4c7ae8551cb68187b7da66472c9b

Maybe we just need a new link?

tags: removed: eoan
Revision history for this message
Dougal (19dl55) wrote :

Thanks!

On Tue, 11 Aug 2020, 10:50 Daniel van Vugt, <email address hidden>
wrote:

> The error tracker link for this bug suggests it isn't happening at all
> in 20.04 with 3.36:
>
> https://errors.ubuntu.com/problem/c81c4bee503e4c7ae8551cb68187b7da66472c9b
>
> Maybe we just need a new link?
>
> ** Tags removed: eoan
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1868132).
> https://bugs.launchpad.net/bugs/1858414
>
> Title:
> gnome-shell crashed with SIGTRAP in
> ObjectInstance::disassociate_js_gobject() from std::function<void
> (ObjectInstance*)>::operator() from
> ObjectInstance::remove_wrapped_gobjects_if() from
> ObjectInstance::update_heap_wrapper_weak_pointers
>
> Status in GNOME Shell:
> New
> Status in gnome-shell package in Ubuntu:
> Confirmed
>
> Bug description:
>
> https://errors.ubuntu.com/problem/c81c4bee503e4c7ae8551cb68187b7da66472c9b
>
> ---
>
> This happened after selecting and entering the password of the GDM
> user.
>
> GDM gives the pass to gnome-shell, and it does not start. I reboot the
> notebook, and it successfully enters gnome-shell
>
> ---
>
> https://gitlab.gnome.org/GNOME/gnome-shell/issues/2084
>
> ProblemType: Crash
> DistroRelease: Ubuntu 20.04
> Package: gnome-shell 3.34.1+git20191024-1ubuntu1
> Uname: Linux 5.4.8-050408-generic x86_64
> ApportVersion: 2.20.11-0ubuntu15
> Architecture: amd64
> CurrentDesktop: ubuntu:GNOME
> Date: Mon Jan 6 07:42:52 2020
> DisplayManager: gdm3
> ExecutablePath: /usr/bin/gnome-shell
> InstallationDate: Installed on 2018-12-02 (399 days ago)
> InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64
> (20180725)
> ProcCmdline: /usr/bin/gnome-shell
> ProcEnviron:
> LANG=es_CL.UTF-8
> LANGUAGE=es_CL:es
> PATH=(custom, no user)
> SHELL=/bin/bash
> XDG_RUNTIME_DIR=<set>
> RelatedPackageVersions: mutter-common 3.34.2-2ubuntu1
> Signal: 5
> SourcePackage: gnome-shell
> StacktraceTop:
> ObjectInstance::disassociate_js_gobject() () at /usr/lib/libgjs.so.0
> ObjectInstance::remove_wrapped_gobjects_if(std::function<bool
> (ObjectInstance*)> const&, std::function<void (ObjectInstance*)> const&) ()
> at /usr/lib/libgjs.so.0
> ObjectInstance::update_heap_wrapper_weak_pointers(JSContext*,
> JSCompartment*, void*) () at /usr/lib/libgjs.so.0
> () at /usr/lib/x86_64-linux-gnu/libmozjs-60.so.0
> () at /usr/lib/x86_64-linux-gnu/libmozjs-60.so.0
> Title: gnome-shell crashed with signal 5 in
> ObjectInstance::disassociate_js_gobject()
> UpgradeStatus: Upgraded to focal on 2018-12-02 (399 days ago)
> UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
> separator:
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gnome-shell/+bug/1858414/+subscriptions
>

tags: added: groovy
tags: removed: groovy
tags: added: hirsute
tags: removed: hirsute
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.