Error on launch: GLib-GObject-CRITICAL on Archlinux

I was using ardour just fine and in the meantime i upgraded my system with pacman. I noticed that ardour crashed and i quickly tried to run it back.
In the console now this is printed:

WARNING: Your system has a limit for maximum amount of locked memory!
This might cause Ardour to run out of memory before your system runs
out of memory. You can view the memory limit with 'ulimit -l', and it
is normally controlled by /etc/security/limits.conf

Ardour8.6.497 (built using 8.6-497-g1b343a1fec and GCC version 14.2.1 20240805)
Ardour: [INFO]: Your system is configured to limit Ardour to 524288 open files
Ardour: [INFO]: Loading system configuration file /etc/ardour8/system_config
Ardour: [INFO]: Loading user configuration file /home/valerio/.config/ardour8/config
Ardour: [INFO]: CPU vendor: GenuineIntel
Ardour: [INFO]: AVX capable processor
Ardour: [INFO]: AVX with FMA capable processor
Ardour: [INFO]: CPU brand: 12th Gen Intel(R) Core(TM) i7-12700K
Ardour: [INFO]: Using AVX and FMA optimized routines
Ardour: [INFO]: Loading plugin meta data file /usr/share/ardour8/plugin_metadata/plugin_tags
Ardour: [INFO]: Loading plugin statistics file /home/valerio/.config/ardour8/plugin_metadata/plugin_stats
Ardour: [INFO]: add_lrdf_data '/home/valerio/.config/ardour8/rdf:/usr/share/ardour8/rdf:/usr/local/share/ladspa/rdf:/usr/share/ladspa/rdf'
Ardour: [INFO]: read rdf_file 'file:///usr/share/ladspa/rdf/ladspa.rdfs'
Ardour: [INFO]: read rdf_file 'file:///usr/share/ladspa/rdf/ladspa-rubberband.rdf'
Ardour: [INFO]: Loading default ui configuration file /etc/ardour8/default_ui_config
Ardour: [INFO]: Loading user ui configuration file /home/valerio/.config/ardour8/ui_config
Ardour: [INFO]: Loading 461 MIDI patches from /usr/share/ardour8/patchfiles

(ardour-8.6.497:73941): GLib-GObject-CRITICAL **: 11:52:07.925: cannot register existing type 'GtkObject'

(ardour-8.6.497:73941): GLib-GObject-CRITICAL **: 11:52:07.925: g_type_register_static: assertion 'parent_type > 0' failed

(ardour-8.6.497:73941): GLib-GObject-CRITICAL **: 11:52:07.925: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(ardour-8.6.497:73941): GLib-GObject-CRITICAL **: 11:52:07.925: cannot register existing type 'GtkBuildable'

(ardour-8.6.497:73941): GLib-GObject-CRITICAL **: 11:52:07.925: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(ardour-8.6.497:73941): GLib-CRITICAL **: 11:52:07.925: g_once_init_leave_pointer: assertion 'result != 0' failed

(ardour-8.6.497:73941): GLib-GObject-CRITICAL **: 11:52:07.925: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(ardour-8.6.497:73941): GLib-GObject-CRITICAL **: 11:52:07.925: g_type_register_static: assertion 'parent_type > 0' failed

I checked the packages that were affected on /var/log/pacman.log but they shouldn’t be of impact. I have another archlinux computer with the same version of the packages and ardour works there, so it might be a matter of configuration.

Im running gnome on xorg, but on this computer, ardour doesn’t start even on wayland. Does somebody have an idea on how to tackle this problem?

Did you rebuild after updates ? Or is this an official nighlty version download ?

I installed first the ardour package in the Archlinux official repositories, then i rebuilt with the ardour8-git aur package: none of the two worked.
The investigation followed and i tried to log into another session: Hyprland (a compositor for wayland) and it worked fine there, no errors.
Then i created another user to see if there was some system wide configuration error with gnome, but with this other user “alias” ardour works, in gnome wayland and xorg.
Now im trying to figure out what is the problem in my gnome instance with my user:

  • moved the old .config/ardour8 directory
  • purged .cache/ardour8
  • cleared .config/dconf/user
  • diffed the enviroment variables between a working instance and the problematic gnome instance
    At this point i dont really know how to move forward :confused: