gnome-shell crashes with a segfault related to libgjs.so.0.0.0

Bug #1691142 reported by Hassan El Jacifi
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

May 16 11:29:51 Jupiter kernel: [492136.689777] gnome-shell[10395]: segfault at 7fe166ffffe8 ip 00007fe2040fe0f5 sp 00007ffe4d36dc20 error 4 in libgjs.so.0.0.0[7fe2040d6000+b9000]
May 16 17:17:56 Jupiter kernel: [ 3550.551095] gnome-shell[2873]: segfault at 7f91580fffe8 ip 00007f91def2f0f5 sp 00007ffe6d0038e0 error 4 in libgjs.so.0.0.0[7f91def07000+b9000]

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: gnome-shell 3.24.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.10.0-21.23-generic 4.10.11
Uname: Linux 4.10.0-21-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset wl nvidia
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue May 16 17:29:02 2017
DisplayManager: lightdm
InstallationDate: Installed on 2012-03-01 (1901 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Hassan El Jacifi (waver) wrote :
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. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Hassan El Jacifi (waver) wrote :

and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Reading symbols from /tmp/apport_sandbox_cwfO8f//usr/bin/gnome-shell...Reading symbols from /tmp/apport_sandbox_cwfO8f/usr/lib/debug/.build-id/45/26aaac0fae123c090a721d952bf50e586a77d6.debug...done.
done.
[New LWP 2910]
[New LWP 2911]
[New LWP 2931]
[New LWP 2914]
[New LWP 2933]
[New LWP 2939]
[New LWP 2912]
[New LWP 2934]
[New LWP 2935]
[New LWP 2941]
[New LWP 2942]
[New LWP 2932]
[New LWP 2937]
[New LWP 2943]
[New LWP 2940]
[New LWP 2936]
[New LWP 2938]
warning: Could not load shared library symbols for 10 libraries, e.g. /usr/lib/x86_64-linux-gnu/libjs.so.0.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/gnome-shell'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 js::GCMethods<JSObject*>::needsPostBarrier (v=0x7f0e35287d80) at /usr/include/mozjs-38/js/RootingAPI.h:663
663 /usr/include/mozjs-38/js/RootingAPI.h: No such file or directory.
[Current thread is 1 (Thread 0x7f0eb5949ac0 (LWP 2910))]
(gdb) bt
#0 js::GCMethods<JSObject*>::needsPostBarrier (v=0x7f0e35287d80) at /usr/include/mozjs-38/js/RootingAPI.h:663
#1 JS::Heap<JSObject*>::set (newPtr=0x0, this=0x5642a5d6dcf0) at /usr/include/mozjs-38/js/RootingAPI.h:296
#2 JS::Heap<JSObject*>::operator= (p=<optimized out>, this=0x5642a5d6dcf0) at /usr/include/mozjs-38/js/RootingAPI.h:266
#3 GjsMaybeOwned<JSObject*>::reset (this=0x5642a5d6dce0) at ./gjs/jsapi-util-root.h:266
#4 closure_clear_idle (data=0x5642a5d6dcb0) at gi/closure.cpp:132
#5 0x00007f0eb2ffd22a in g_main_dispatch (context=0x56429f4c2a40) at ../../../../glib/gmain.c:3203
#6 g_main_context_dispatch (context=context@entry=0x56429f4c2a40) at ../../../../glib/gmain.c:3856
#7 0x00007f0eb2ffd5e0 in g_main_context_iterate (context=0x56429f4c2a40, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3929
#8 0x00007f0eb2ffd902 in g_main_loop_run (loop=0x56429f9325e0) at ../../../../glib/gmain.c:4125
#9 0x00007f0eb47b78ec in meta_run () at core/main.c:646
#10 0x000056429f2741a7 in main (argc=<optimized out>, argv=<optimized out>) at main.c:454

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

Thanks, nice work. This confirms it is bug 1689863.

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

Status changed to 'Confirmed' because the bug affects multiple users.

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