Audacity don't work : GLib-GObject-CRITICAL

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 !

Which version of Audacity?
Tarball or Git Clone?
Which version of wxWidgets?
Which version of wxGTK?
Autotools or Cmake?
Xorg or Wayland?

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.

Try resetting Audacity by deleting the files from ~/.audacity-data/

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

What’s the commit number?
You can get that with:

git log -1

What commands are you using to build?

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

Pleased to hear that you’ve resolved the problem. :slight_smile:

To help us spot the same problem in the future, what were you doing wrong.

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)