gjs-console crashed with SIGSEGV in g_type_check_instance_is_fundamentally_a()

Bug #1796451 reported by Cansheng Dong
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gjs (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

in the terminal while type in, gnome-sound-recorder, the following messages shown and the application can load but the recording is problematic. The timing on the GUI seems much slower than the actual time. When I stopped the recording and clicked "play". The Application exited abruptly.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:05.234: Some code accessed the property 'Application' on the module 'application'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Gjs-Message: 13:29:05.320: JS LOG: Sound Recorder started
Gjs-Message: 13:29:05.321: JS WARNING: [resource:///org/gnome/SoundRecorder/js/application.js 84]: Too many arguments to function Gst.init: expected 1, got 2

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:05.338: Some code accessed the property 'MainWindow' on the module 'mainWindow'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:05.339: Some code accessed the property 'AudioProfile' on the module 'audioProfile'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:05.339: Some code accessed the property 'OffsetController' on the module 'fileUtil'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:05.339: Some code accessed the property 'DisplayTime' on the module 'fileUtil'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:05.340: Some code accessed the property 'Listview' on the module 'listview'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:05.341: Some code accessed the property 'Record' on the module 'record'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:05.341: Some code accessed the property 'Play' on the module 'play'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Gjs-Message: 13:29:05.456: JS WARNING: [resource:///org/gnome/SoundRecorder/js/listview.js 110]: reference to undefined property 1

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:05.456: Some code accessed the property 'displayTime' on the module 'mainWindow'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:05.463: Some code accessed the property 'offsetController' on the module 'mainWindow'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:05.464: Some code accessed the property 'list' on the module 'mainWindow'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:05.498: Some code accessed the property 'containerProfileMap' on the module 'audioProfile'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:05.498: Some code accessed the property 'audioCodecMap' on the module 'audioProfile'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Gjs-Message: 13:29:05.714: JS LOG: File cannot be played

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:05.714: Some code accessed the property 'view' on the module 'mainWindow'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:05.715: Some code accessed the property 'application' on the module 'application'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:26.152: Some code accessed the property 'audioProfile' on the module 'mainWindow'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:26.183: Some code accessed the property 'SIGINT' on the module 'application'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Gjs-Message: 13:29:26.183: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 154]: Too many arguments to function GLib.unix_signal_add: expected 3, got 4

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:26.183: Some code accessed the property 'SIGTERM' on the module 'application'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Gjs-Message: 13:29:26.183: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 155]: Too many arguments to function GLib.unix_signal_add: expected 3, got 4

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:26.186: Some code accessed the property '_SEC_TIMEOUT' on the module 'mainWindow'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:26.186: Some code accessed the property 'WaveForm' on the module 'waveform'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Gjs-Message: 13:29:27.439: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:27.456: JS WARNING: [resource:///org/gnome/SoundRecorder/js/waveform.js 174]: reference to undefined property "recordTime"
Gjs-Message: 13:29:27.539: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:27.639: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:27.740: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:27.840: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:27.941: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:28.042: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:28.142: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:28.243: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:28.343: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:28.443: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:28.544: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:28.644: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:28.745: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:28.845: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:28.946: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:29.047: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:29.147: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:29.248: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:29.348: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:29.448: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:29.548: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:29.649: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:29.749: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:29.850: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:29.950: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:30.051: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:30.151: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:30.252: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:30.353: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:30.454: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2
Gjs-Message: 13:29:30.476: JS LOG: error
Gjs-Message: 13:29:30.497: JS WARNING: [resource:///org/gnome/SoundRecorder/js/record.js 159]: Too many arguments to method Gst.Element.query_position: expected 1, got 2

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:30.498: Some code accessed the property 'recordPipeline' on the module 'mainWindow'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(org.gnome.SoundRecorder:4448): Gjs-WARNING **: 13:29:30.498: Some code accessed the property 'RecordPipelineStates' on the module 'mainWindow'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Gjs-Message: 13:29:30.664: JS LOG: File cannot be played

** (org.gnome.SoundRecorder:4448): CRITICAL **: 13:29:31.578: g_object_info_get_n_fields: assertion 'info != NULL' failed
**
Gjs:ERROR:gi/object.cpp:478:bool ObjectInstance::field_getter_impl(JSContext*, JS::HandleObject, JS::HandleString, JS::MutableHandleValue): assertion failed: (field)
Aborted (core dumped)

ProblemType: Crash
DistroRelease: Ubuntu 18.10
Package: gjs 1.54.0-1
ProcVersionSignature: Ubuntu 4.18.0-8.9-generic 4.18.7
Uname: Linux 4.18.0-8-generic x86_64
ApportVersion: 2.20.10-0ubuntu11
Architecture: amd64
Date: Sat Oct 6 13:24:03 2018
ExecutablePath: /usr/bin/gjs-console
InstallationDate: Installed on 2018-08-29 (37 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
ProcCmdline: /usr/bin/gjs /usr/bin/gnome-sound-recorder
SegvAnalysis:
 Segfault happened at: 0x7fb1591a3adf <g_type_check_instance_is_fundamentally_a+31>: movzbl 0x14(%rdx),%eax
 PC (0x7fb1591a3adf) ok
 source "0x14(%rdx)" (0x1b80a7510104808) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: gjs
StacktraceTop:
 g_type_check_instance_is_fundamentally_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 g_param_spec_unref () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 ObjectPrototype::~ObjectPrototype() () from /usr/lib/libgjs.so.0
 ObjectBase::finalize(JSFreeOp*, JSObject*) () from /usr/lib/libgjs.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libmozjs-60.so.0
Title: gjs-console crashed with SIGSEGV in g_type_check_instance_is_fundamentally_a()
UpgradeStatus: Upgraded to cosmic on 2018-08-30 (36 days ago)
UserGroups:

Revision history for this message
Cansheng Dong (gnesh-can) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_type_check_instance_is_fundamentally_a (type_instance=type_instance@entry=0x55c5e6894d50, fundamental_type=fundamental_type@entry=76) at ../../../../gobject/gtype.c:4026
 g_param_spec_unref (pspec=0x55c5e6894d50) at ../../../../gobject/gparam.c:230
 std::unique_ptr<_GParamSpec, void (*)(_GParamSpec*)>::~unique_ptr (this=0x55c5e6883a50, __in_chrg=<optimized out>) at /usr/include/c++/8/bits/unique_ptr.h:347
 GjsAutoParam::~GjsAutoParam (this=0x55c5e6883a50, __in_chrg=<optimized out>) at ./gjs/jsapi-util.h:86
 js::HashMapEntry<JS::Heap<JSString*>, GjsAutoParam>::~HashMapEntry (this=0x55c5e6883a48, __in_chrg=<optimized out>) at /usr/include/mozjs-60/js/HashTable.h:732

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
tags: removed: need-amd64-retrace
information type: Private → Public
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
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.