gnome-sound-recorder displays a lot of JS errors and assertion failures

Bug #1797179 reported by Laurent Bonnaud
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-sound-recorder (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When I start gnome-sound-recorder, do nothing with it, and close it, I see a lot of error messages in the terminal.

When I try to record sound, I see yet more errors and at the end it crashes gjs, see bug #1797172.

$ gnome-sound-recorder

(org.gnome.SoundRecorder:14022): Gjs-WARNING **: 18:15:02.389: 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:15:02.434: JS LOG: Sound Recorder started
Gjs-Message: 18:15:02.434: JS WARNING: [resource:///org/gnome/SoundRecorder/js/application.js 84]: Too many arguments to function Gst.init: expected 1, got 2

(org.gnome.SoundRecorder:14022): Gjs-WARNING **: 18:15:02.452: 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:14022): Gjs-WARNING **: 18:15:02.452: 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:14022): Gjs-WARNING **: 18:15:02.452: 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:14022): Gjs-WARNING **: 18:15:02.452: 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:14022): Gjs-WARNING **: 18:15:02.453: 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:14022): Gjs-WARNING **: 18:15:02.453: 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:14022): Gjs-WARNING **: 18:15:02.454: 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:14022): Gjs-WARNING **: 18:15:02.517: 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:14022): Gjs-WARNING **: 18:15:02.517: 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:14022): Gjs-WARNING **: 18:15:02.518: 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:14022): Gjs-WARNING **: 18:15:02.518: 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:14022): GLib-GObject-CRITICAL **: 18:15:03.949: g_param_spec_unref: assertion 'G_IS_PARAM_SPEC (pspec)' failed

(org.gnome.SoundRecorder:14022): GLib-GObject-CRITICAL **: 18:15:03.949: g_param_spec_unref: assertion 'G_IS_PARAM_SPEC (pspec)' failed

(org.gnome.SoundRecorder:14022): GLib-GObject-CRITICAL **: 18:15:03.949: g_param_spec_unref: assertion 'G_IS_PARAM_SPEC (pspec)' failed

(org.gnome.SoundRecorder:14022): GLib-GObject-CRITICAL **: 18:15:03.949: g_param_spec_unref: assertion 'G_IS_PARAM_SPEC (pspec)' failed

(org.gnome.SoundRecorder:14022): GLib-GObject-CRITICAL **: 18:15:03.949: g_param_spec_unref: assertion 'G_IS_PARAM_SPEC (pspec)' failed

(org.gnome.SoundRecorder:14022): GLib-GObject-CRITICAL **: 18:15:03.949: g_param_spec_unref: assertion 'G_IS_PARAM_SPEC (pspec)' failed

(org.gnome.SoundRecorder:14022): GLib-GObject-CRITICAL **: 18:15:03.949: g_param_spec_unref: assertion 'G_IS_PARAM_SPEC (pspec)' failed

(org.gnome.SoundRecorder:14022): GLib-GObject-CRITICAL **: 18:15:03.949: g_param_spec_unref: assertion 'G_IS_PARAM_SPEC (pspec)' failed

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: gnome-sound-recorder 3.28.1-4
Uname: Linux 4.18.13-041813-generic x86_64
ApportVersion: 2.20.10-0ubuntu11
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Oct 10 18:12:35 2018
PackageArchitecture: all
SourcePackage: gnome-sound-recorder
UpgradeStatus: Upgraded to cosmic on 2018-09-28 (11 days ago)

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Could you report the crash to the upstream developers?
https://gitlab.gnome.org/GNOME/gnome-sound-recorder/issues

I believe the gjs warnings bug is already filed as
https://gitlab.gnome.org/GNOME/gnome-sound-recorder/issues/32

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

> Could you report the crash to the upstream developers?
> https://gitlab.gnome.org/GNOME/gnome-sound-recorder/issues

Unfortunately I cannot reproduce it, which makes a bug report difficult.

> I believe the gjs warnings bug is already filed as
> https://gitlab.gnome.org/GNOME/gnome-sound-recorder/issues/32

Indeed, thanks !

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

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

Changed in gnome-sound-recorder (Ubuntu):
status: New → Confirmed
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

Most errors are gone in version 3.34. Thanks!

Changed in gnome-sound-recorder (Ubuntu):
status: Confirmed → Fix Released
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.