qtractor hangs with QT6
It works with QT5 but hangs with QT6 like this:
$ qtractor
(<unknown>:12573): GLib-GObject-CRITICAL **: 11:04:04.487: cannot register existing type 'GtkWidget'
(<unknown>:12573): GLib-GObject-CRITICAL **: 11:04:04.488: cannot add class private field to invalid type '<invalid>'
(<unknown>:12573): GLib-GObject-CRITICAL **: 11:04:04.488: cannot add private field to invalid (non-instantiatable) type '<invalid>'
(<unknown>:12573): GLib-GObject-CRITICAL **: 11:04:04.488: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(<unknown>:12573): GLib-GObject-CRITICAL **: 11:04:04.488: cannot register existing type 'GtkBuildable'
(<unknown>:12573): GLib-GObject-CRITICAL **: 11:04:04.488: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
(<unknown>:12573): GLib-CRITICAL **: 11:04:04.488: g_once_init_leave: assertion 'result != 0' failed
(<unknown>:12573): GLib-GObject-CRITICAL **: 11:04:04.488: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(<unknown>:12573): Gtk-CRITICAL **: 11:04:04.488: gtk_widget_get_style_context: assertion 'GTK_IS_WIDGET (widget)' failed
(<unknown>:12573): Gtk-CRITICAL **: 11:04:04.488: gtk_style_context_lookup_color: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed
(<unknown>:12573): Gtk-CRITICAL **: 11:04:04.488: gtk_style_context_get_background_color: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed
(<unknown>:12573): GLib-GObject-CRITICAL **: 11:04:04.488: cannot register existing type 'GtkWidget'
(<unknown>:12573): GLib-GObject-CRITICAL **: 11:04:04.488: cannot add class private field to invalid type '<invalid>'
(<unknown>:12573): GLib-GObject-CRITICAL **: 11:04:04.488: cannot add private field to invalid (non-instantiatable) type '<invalid>'
(<unknown>:12573): GLib-GObject-CRITICAL **: 11:04:04.488: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
Window doesn't appear.
Version: 1.5.8 FreeBSD 14.3
you probably need to start on clean config slate: erase ~/.config/rncbc.org/Qtractor.conf before starting the qt6 version...
also,
try to launch it first as qtractor -style Fusion (never the default or worse the dreaded Gtk+ which I think is what it gets by default--is it Gnome? probably outdated DE? not aligned Gtk toolkit versions between DE and Qt6 builds); also to try is QT_NO_GLIB=1 qtractor... but I rly dunno whether the later will do any effect with qt6 nowadays, sorry.
Removing ~/.config/rncbc.org/Qtractor.conf didn't help.
Running "qtractor -style Fusion" also didn't help.
Running "QT_NO_GLIB=1 qtractor" also didn't help.
I run in the XFCE4 DE.
i'm gettibg out of ideas, but one last hunch: do you have qt6ct set (or is it still qt5ct?), if yes then try to get rid of it (possibly unset QT_QPA_PLATFORMTHEME env var.)
No qt6ct. QT_QPA_PLATFORMTHEME isn't set.
Here is the stack when it hangs:
#0 0x00000008055561ac in _umtx_op_err () at /lib/libsys.so.7
#1 0x00000008033d2932 in ??? () at /lib/libthr.so.3
#2 0x00000008033c4b71 in ??? () at /lib/libthr.so.3
#3 0x0000000802ad9175 in g_cond_wait () at /usr/local/lib/libglib-2.0.so.0
#4 0x0000000802ad92cb in g_once_init_enter () at /usr/local/lib/libglib-2.0.so.0
#5 0x000000080f79b236 in gtk_buildable_get_type () at /usr/local/lib/libgtk-3.so.0
#6 0x000000080fa2ce29 in gtk_widget_get_type () at /usr/local/lib/libgtk-3.so.0
#7 0x000000080fa3f102 in gtk_widget_get_style_context () at /usr/local/lib/libgtk-3.so.0
#8 0x000000080f1df30b in ??? () at /usr/local/lib/qt6/plugins/platformthemes/libqgtk3.so
#9 0x000000080f1df563 in ??? () at /usr/local/lib/qt6/plugins/platformthemes/libqgtk3.so
#10 0x000000080f1e21af in ??? () at /usr/local/lib/qt6/plugins/platformthemes/libqgtk3.so
#11 0x000000080f1e6954 in ??? () at /usr/local/lib/qt6/plugins/platformthemes/libqgtk3.so
#12 0x000000080f1dd3df in ??? () at /usr/local/lib/qt6/plugins/platformthemes/libqgtk3.so
#13 0x000000080f1d7854 in ??? () at /usr/local/lib/qt6/plugins/platformthemes/libqgtk3.so
#14 0x0000000803995fbc in QPlatformThemeFactory::create(QString const&, QString const&) () at /usr/local/lib/qt6/libQt6Gui.so.6
#15 0x000000080394c5fc in ??? () at /usr/local/lib/qt6/libQt6Gui.so.6
#16 0x000000080394ab17 in QGuiApplicationPrivate::createPlatformIntegration() () at /usr/local/lib/qt6/libQt6Gui.so.6
#17 0x000000080394d554 in QGuiApplicationPrivate::createEventDispatcher() () at /usr/local/lib/qt6/libQt6Gui.so.6
#18 0x000000080431e8d7 in QCoreApplicationPrivate::init() () at /usr/local/lib/qt6/libQt6Core.so.6
#19 0x0000000803945aae in QGuiApplicationPrivate::init() () at /usr/local/lib/qt6/libQt6Gui.so.6
#20 0x0000000801901422 in QApplicationPrivate::init() () at /usr/local/lib/qt6/libQt6Widgets.so.6
please avoid the Gtk platformtheme like the plague--use Fusion, my favorite;)