gjs-console crashed with SIGSEGV in getClass()

Bug #1281391 reported by Gabriel
464
This bug affects 61 people
Affects Status Importance Assigned to Milestone
gjs (Ubuntu)
Fix Released
Medium
Unassigned
Trusty
Fix Released
Undecided
Unassigned

Bug Description

gjs crash

ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: gjs 1.39.3-0ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-8.28-generic 3.13.2
Uname: Linux 3.13.0-8-generic x86_64
ApportVersion: 2.13.2-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Feb 18 00:14:02 2014
ExecutablePath: /usr/bin/gjs-console
InstallationDate: Installed on 2013-07-04 (228 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
ProcCmdline: /usr/bin/gjs /usr/share/org.gnome.Weather.Application/org.gnome.Weather.Application
ProcEnviron:
 XDG_RUNTIME_DIR=<set>
 SHELL=/usr/bin/zsh
 LANGUAGE=es_AR:es
 PATH=(custom, no user)
 LANG=es_AR.UTF-8
SegvAnalysis:
 Segfault happened at: 0x7f869cf59000 <_Z11JS_GetClassP8JSObject>: mov 0x8(%rdi),%rax
 PC (0x7f869cf59000) ok
 source "0x8(%rdi)" (0x00000008) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gjs
StacktraceTop:
 JS_GetClass(JSObject*) () from /usr/lib/x86_64-linux-gnu/libmozjs-24.so.0
 gjs_object_from_g_object () from /usr/lib/libgjs.so.0
 gjs_value_from_g_argument () from /usr/lib/libgjs.so.0
 ?? () from /usr/lib/libgjs.so.0
 ffi_closure_unix64_inner () from /usr/lib/x86_64-linux-gnu/libffi.so.6
Title: gjs-console crashed with SIGSEGV in JS_GetClass()
UpgradeStatus: Upgraded to trusty on 2014-01-19 (29 days ago)
UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo

Revision history for this message
Gabriel (gabriel-c1901) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 getClass (this=0x0) at /build/buildd/mozjs24-24.2.0/js/src/vm/ObjectImpl.h:1190
 getJSClass (this=0x0) at ./vm/ObjectImpl-inl.h:315
 JS_GetClass (obj=0x0) at /build/buildd/mozjs24-24.2.0/js/src/jsapi.cpp:3043
 gjs_object_from_g_object () from /tmp/apport_sandbox_wPjcxp/usr/lib/libgjs.so.0
 gjs_value_from_g_argument () from /tmp/apport_sandbox_wPjcxp/usr/lib/libgjs.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 gjs (Ubuntu):
importance: Undecided → Medium
summary: - gjs-console crashed with SIGSEGV in JS_GetClass()
+ gjs-console crashed with SIGSEGV in getClass()
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in gjs (Ubuntu):
status: New → Confirmed
Tim Lunn (darkxst)
information type: Private → Public
tags: added: bugpattern-needed
Revision history for this message
cliff tinker (cliff5555) wrote :

happened as soon as i clicked on the unity launcher

Revision history for this message
Hiren Gandhi (hirenngandhi) wrote :

I got this crash alert after closing the Gnome weather app and going over to Transmission. I am using Ubuntu Gnome 14.04 beta 2 if it helps.

Revision history for this message
Calin Cerghedean (ccerghe1) wrote :

It is definitely related to gnome-weather, but not sure what exactly triggers the crash.

Revision history for this message
Hiren Gandhi (hirenngandhi) wrote :

I got this crash again after just logging into Ubuntu Gnome, and yeah I agree with Calin, it has to do with the gnome weather app.

Revision history for this message
Daniël van Eeden (dveeden) wrote :

It happens often...

Apr 27 10:46:11 daniel-thinkpad kernel: [48066.088597] org.gnome.Weath[26220]: segfault at 0 ip 00007f55eb0c4764 sp 00007fff6b703290 error 4 in libmozjs-24.so.0.0.0[7f55eae7e000+56f000]
Apr 27 10:50:47 daniel-thinkpad kernel: [48342.333984] org.gnome.Weath[27247]: segfault at 0 ip 00007fe37ac95764 sp 00007fffef2e3650 error 4 in libmozjs-24.so.0.0.0[7fe37aa4f000+56f000]
Apr 27 11:42:20 daniel-thinkpad kernel: [51435.397170] org.gnome.Weath[27753]: segfault at 0 ip 00007ff219c6d764 sp 00007fff58c11f00 error 4 in libmozjs-24.so.0.0.0[7ff219a27000+56f000]
Apr 27 11:46:29 daniel-thinkpad kernel: [51684.412204] org.gnome.Weath[28629]: segfault at 8 ip 00007f23e5e19040 sp 00007fff28f57f38 error 4 in libmozjs-24.so.0.0.0[7f23e5c7b000+56f000]
Apr 27 12:02:59 daniel-thinkpad kernel: [52674.881958] org.gnome.Weath[28993]: segfault at 8 ip 00007ff23d536040 sp 00007fff703203e8 error 4 in libmozjs-24.so.0.0.0[7ff23d398000+56f000]
Apr 27 12:08:05 daniel-thinkpad kernel: [52981.023681] org.gnome.Weath[29832]: segfault at 8 ip 00007f90061c9040 sp 00007fff3154bc98 error 4 in libmozjs-24.so.0.0.0[7f900602b000+56f000]
Apr 27 15:41:17 daniel-thinkpad kernel: [62470.228451] org.gnome.Weath[12199]: segfault at 8 ip 00007fc8f6831040 sp 00007fffab5e75d8 error 4 in libmozjs-24.so.0.0.0[7fc8f6693000+56f000]
Apr 27 18:46:49 daniel-thinkpad kernel: [67915.620600] org.gnome.Weath[14843]: segfault at 8 ip 00007fdf317fb040 sp 00007fff74342ce8 error 4 in libmozjs-24.so.0.0.0[7fdf3165d000+56f000]
Apr 27 18:48:31 daniel-thinkpad kernel: [68017.728102] org.gnome.Weath[15194]: segfault at 8 ip 00007f6ac40ba040 sp 00007fff3122f3f8 error 4 in libmozjs-24.so.0.0.0[7f6ac3f1c000+56f000]
Apr 27 18:51:25 daniel-thinkpad kernel: [68191.570168] org.gnome.Weath[15369]: segfault at 0 ip 00007f4f7a43b764 sp 00007fff097ef190 error 4 in libmozjs-24.so.0.0.0[7f4f7a1f5000+56f000]

Revision history for this message
Tim Lunn (darkxst) wrote :

This should be fixed in gjs 1.40.1, will get that SRU'd soon

Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Gabriel, or anyone else affected,

Accepted gjs into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/gjs/1.40.1-0ubuntu0.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in gjs (Ubuntu Trusty):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Peter Strapp (peterstrapp) wrote :

Version 1.40.1-0ubuntu0.2 from proposed fixes this bug for me. I no longer get the error when logging in or launching GNOME Weather.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gjs - 1.40.1-0ubuntu0.2

---------------
gjs (1.40.1-0ubuntu0.2) trusty; urgency=medium

  * New upstream release (LP: #1283551, #1283551, #1281391)
    - fixes GC re-entrentrancy issue causing many crashes
  * debian/patches:
    - git_test_fix_args.patch: git patch to fix test failure
    - git_ratelimit_rss_gc.patch: ratelimit GC's to avoid excessive triggering
 -- Tim Lunn <email address hidden> Sun, 27 Apr 2014 09:09:52 +1000

Changed in gjs (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Scott Kitterman (kitterman) wrote : Update Released

The verification of the Stable Release Update for gjs has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Tim Lunn (darkxst)
Changed in gjs (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.