Audacity don't work : GLib-GObject-CRITICAL

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
Dirky
Posts: 6
Joined: Tue Jun 02, 2020 7:10 pm
Operating System: Linux Debian

Audacity don't work : GLib-GObject-CRITICAL

Post by Dirky » Wed Jun 03, 2020 7:11 am

Hello,

I have tried to compile Audacity from source in Debian 10 but now it don't work. The software runs, but i can't do anything, and when i go to an other app and i go back to audacity, i have all blank.

Here's the log when i try to launch the program from the console :

Attempting to connect to Audacity failed...retrying

(audacity:1857): GLib-GObject-CRITICAL **: 09:04:38.530: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed

(audacity:1857): GLib-GObject-CRITICAL **: 09:04:38.530: g_object_replace_qdata: assertion 'G_IS_OBJECT (object)' failed

(audacity:1857): GLib-GObject-CRITICAL **: 09:04:38.530: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed

(audacity:1857): GLib-GObject-CRITICAL **: 09:04:38.530: g_object_replace_qdata: assertion 'G_IS_OBJECT (object)' failed

(audacity:1857): GLib-GObject-CRITICAL **: 09:04:38.530: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed

(audacity:1857): GLib-GObject-CRITICAL **: 09:04:38.530: g_object_replace_qdata: assertion 'G_IS_OBJECT (object)' failed

(audacity:1857): GLib-GObject-CRITICAL **: 09:04:38.530: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed

(audacity:1857): GLib-GObject-CRITICAL **: 09:04:38.530: g_object_replace_qdata: assertion 'G_IS_OBJECT (object)' failed

(audacity:1857): GLib-GObject-CRITICAL **: 09:04:38.530: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed

(audacity:1857): GLib-GObject-CRITICAL **: 09:04:38.530: g_object_replace_qdata: assertion 'G_IS_OBJECT (object)' failed

(audacity:1857): GLib-GObject-CRITICAL **: 09:04:38.530: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed

(audacity:1857): GLib-GObject-CRITICAL **: 09:04:38.530: g_object_replace_qdata: assertion 'G_IS_OBJECT (object)' failed
(it's a loop, this always show continually when the program is active)

Can anyone help me about this bug ? I have already research with google, but can't find anything for fix it.

Thanks and have a good day !

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity don't work : GLib-GObject-CRITICAL

Post by steve » Wed Jun 03, 2020 1:21 pm

Which version of Audacity?
Tarball or Git Clone?
Which version of wxWidgets?
Which version of wxGTK?
Autotools or Cmake?
Xorg or Wayland?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Dirky
Posts: 6
Joined: Tue Jun 02, 2020 7:10 pm
Operating System: Linux Debian

Re: Audacity don't work : GLib-GObject-CRITICAL

Post by Dirky » Wed Jun 03, 2020 5:41 pm

I use the last version of Audacity ! Clone with git, and i use wxWidgets 3.1.3. Don't know the version of wxGTK. Used cmake to compile it, and i have Xorg.

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity don't work : GLib-GObject-CRITICAL

Post by steve » Wed Jun 03, 2020 7:45 pm

Try resetting Audacity by deleting the files from ~/.audacity-data/
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Dirky
Posts: 6
Joined: Tue Jun 02, 2020 7:10 pm
Operating System: Linux Debian

Re: Audacity don't work : GLib-GObject-CRITICAL

Post by Dirky » Wed Jun 03, 2020 7:51 pm

Didn't work : i have exactly the same problem when i launch Audacity after deleting .audacity-data

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity don't work : GLib-GObject-CRITICAL

Post by steve » Thu Jun 04, 2020 10:40 am

Dirky wrote:
Wed Jun 03, 2020 5:41 pm
I use the last version of Audacity !
What's the commit number?
You can get that with:

Code: Select all

git log -1
What commands are you using to build?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Dirky
Posts: 6
Joined: Tue Jun 02, 2020 7:10 pm
Operating System: Linux Debian

Re: Audacity don't work : GLib-GObject-CRITICAL

Post by Dirky » Thu Jun 04, 2020 1:51 pm

Problem solved. For those who have the same problem : you need to follow the instruction section at https://wiki.audacityteam.org/wiki/Buil ... Make_Build (i forget to do it)

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity don't work : GLib-GObject-CRITICAL

Post by steve » Thu Jun 04, 2020 3:55 pm

Pleased to hear that you've resolved the problem. :)

To help us spot the same problem in the future, what were you doing wrong.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Dirky
Posts: 6
Joined: Tue Jun 02, 2020 7:10 pm
Operating System: Linux Debian

Re: Audacity don't work : GLib-GObject-CRITICAL

Post by Dirky » Thu Jun 04, 2020 5:27 pm

I don't have follow the instruction with wxWidgets on the building page for linux. That was the problem (i have now an other problem because i return to the normal debian version, but i will do another topic about this)

Post Reply