#1092795 drumkv1-lv2: ardour hangs forever as soon as i try to add a drumkv1 plugin instance

Package:
drumkv1-lv2
Source:
drumkv1-lv2
Description:
old-school drum-kit sampler - lv2-plugin
Submitter:
Matthieu Imbert
Date:
2025-01-13 07:33:01 UTC
Severity:
normal
#1092795#5
Date:
2025-01-11 17:27:48 UTC
From:
To:
Ardour hangs forever as soon as i try to add a drumkv1 lv2 plugin or as soon as
I try to load a session containing a dumkv1 lv2 plugin

There is nothing on ardour stdout/stderr

Running drumkv1 standalone seems to work

I use both ardour and drumkv1-lv2 from debian trixie:
- drumkv1-lv2 version 1.2.0 (debian package version: 1.2.0-1)
- ardour version 8.10 (debian package version: 1:8.10.0+ds-1)

The author of drumkv1 suggested trying with his latests builds (
https://www.rncbc.org/drupal/node/2145 ) because "they are more suited to run
on ardour due to qt6 being statically linked and self-contained". I did not try
yet but the qt6 thing is probably good to know. Also other similar lv2 plugin
packages from the same author may be affected i guess (samplv1, synthv1,
padthv1)

#1092795#10
Date:
2025-01-13 07:27:47 UTC
From:
To:
   - I was wrong when i said there is nothing on ardour's stdout/err. Here
   are the messages when I try to add drumkv1-lv2 plugin:

(ardour-8.10.0~ds:7987): GLib-GObject-CRITICAL **: 08:16:44.166:
cannot register existing type 'GtkWidget'(ardour-8.10.0~ds:7987):
GLib-GObject-CRITICAL **: 08:16:44.166: cannot add class private field
to invalid type '<invalid>'(ardour-8.10.0~ds:7987):
GLib-GObject-CRITICAL **: 08:16:44.166: cannot add private field to
invalid (non-instantiatable) type '<invalid>'(ardour-8.10.0~ds:7987):
GLib-GObject-CRITICAL **: 08:16:44.166: g_type_add_interface_static:
assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)'
failed(ardour-8.10.0~ds:7987): GLib-GObject-CRITICAL **: 08:16:44.166:
cannot register existing type 'GtkBuildable'(ardour-8.10.0~ds:7987):
GLib-GObject-CRITICAL **: 08:16:44.166:
g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE
(interface_type)' failed(ardour-8.10.0~ds:7987): GLib-CRITICAL **:
08:16:44.166: g_once_init_leave_pointer: assertion 'result != 0'
failed(ardour-8.10.0~ds:7987): GLib-GObject-CRITICAL **: 08:16:44.166:
g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE
(instance_type)' failed(ardour-8.10.0~ds:7987): Gtk-CRITICAL **:
08:16:44.166: gtk_widget_get_style_context: assertion 'GTK_IS_WIDGET
(widget)' failed(ardour-8.10.0~ds:7987): Gtk-CRITICAL **:
08:16:44.166: gtk_style_context_lookup_color: assertion
'GTK_IS_STYLE_CONTEXT (context)' failed(ardour-8.10.0~ds:7987):
Gtk-CRITICAL **: 08:16:44.166: gtk_style_context_get_color: assertion
'GTK_IS_STYLE_CONTEXT (context)' failed(ardour-8.10.0~ds:7987):
GLib-GObject-CRITICAL **: 08:16:44.166: cannot register existing type
'GtkWidget'(ardour-8.10.0~ds:7987): GLib-GObject-CRITICAL **:
08:16:44.166: cannot add class private field to invalid type
'<invalid>'(ardour-8.10.0~ds:7987): GLib-GObject-CRITICAL **:
08:16:44.166: cannot add private field to invalid (non-instantiatable)
type '<invalid>'(ardour-8.10.0~ds:7987): GLib-GObject-CRITICAL **:
08:16:44.166: g_type_add_interface_static: assertion
'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed


   - I tried drumkv1 lv2 in Carla, and it works well
   - I tried padthv1 lv2 in adrour and ardour hangs in the same way

I suspect that maybe the issue is more related to ardour, maybe we should
move this bug there?

Also, here's a link to a ticket I submitted upstream:
https://sourceforge.net/p/drumkv1/tickets/18/