I was just trying gnome-sound-recorder and when I closed it gjs-console crashed.
Moreover, gnome-sound-recorder displays a lot of errors in the terminal:
$ gnome-sound-recorder
(org.gnome.SoundRecorder:12101): Gjs-WARNING **: 18:04:10.162: 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: 18:04:10.423: JS LOG: Sound Recorder started
Gjs-Message: 18:04:10.424: JS WARNING: [resource:///org/gnome/SoundRecorder/js/application.js 84]: Too many arguments to function Gst.init: expected 1, got 2
(org.gnome.SoundRecorder:12101): Gjs-WARNING **: 18:04:10.441: 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:12101): Gjs-WARNING **: 18:04:10.441: 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:12101): Gjs-WARNING **: 18:04:10.442: 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:12101): Gjs-WARNING **: 18:04:10.442: 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:12101): Gjs-WARNING **: 18:04:10.443: 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:12101): Gjs-WARNING **: 18:04:10.443: 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:12101): Gjs-WARNING **: 18:04:10.444: 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.
(org.gnome.SoundRecorder:12101): Gjs-WARNING **: 18:04:10.544: 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:12101): Gjs-WARNING **: 18:04:10.544: 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:12101): Gjs-WARNING **: 18:04:10.544: 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:12101): Gjs-WARNING **: 18:04:10.544: 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:12101): Gjs-WARNING **: 18:04:32.187: 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:12101): Gjs-WARNING **: 18:04:32.222: 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: 18:04:32.222: 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:12101): Gjs-WARNING **: 18:04:32.222: 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: 18:04:32.222: 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:12101): Gjs-WARNING **: 18:04:32.226: 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:12101): Gjs-WARNING **: 18:04:32.226: 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: 18:04:32.231: JS WARNING: [resource:///org/gnome/SoundRecorder/js/waveform.js 174]: reference to undefined property "recordTime"
Gjs-Message: 18:04:32.327: 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:12101): Gjs-WARNING **: 18:04:37.908: 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:12101): Gjs-WARNING **: 18:04:37.908: 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.
(org.gnome.SoundRecorder:12101): Gjs-WARNING **: 18:04:37.912: 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:12101): Gjs-WARNING **: 18:04:37.930: 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:12101): Gjs-WARNING **: 18:04:37.930: 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.
** (org.gnome.SoundRecorder:12101): CRITICAL **: 18:04:39.743: 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.1-1
Uname: Linux 4.18.13-041813-generic x86_64
ApportVersion: 2.20.10-0ubuntu11
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Oct 10 18:04:39 2018
ExecutablePath: /usr/bin/gjs-console
ProcCmdline: /usr/bin/gjs /usr/bin/gnome-sound-recorder
Signal: 6
SourcePackage: gjs
StacktraceTop:
() at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
g_assertion_message_expr () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
ObjectInstance::field_getter_impl(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSString*>, JS::MutableHandle<JS::Value>) () at /usr/lib/libgjs.so.0
ObjectBase::field_getter(JSContext*, unsigned int, JS::Value*) () at /usr/lib/libgjs.so.0
() at /usr/lib/x86_64-linux-gnu/libmozjs-60.so.0
Title: gjs-console crashed with SIGABRT
UpgradeStatus: Upgraded to cosmic on 2018-09-28 (11 days ago)
UserGroups: adm cdrom dip fuse kvm libvirt libvirt-qemu libvirtd lpadmin plugdev sambashare staff sudo
Thank you for taking the time to report this crash and helping to make this software better. This particular crash has already been reported and is a duplicate of bug #1796649, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.