TheWaveWarden / odin2

Odin 2 Synthesizer Plugin
GNU General Public License v3.0
572 stars 53 forks source link

Odin2 fails to instantiate in Zrythm #376

Open alex-tee opened 3 years ago

alex-tee commented 3 years ago

Transfering this bug from our tracker because it seems to be an issue with Odin2

See also: https://redmine.zrythm.org/issues/2229 and https://todo.sr.ht/~alextee/zrythm-bug/87

Note that I can't reproduce it on my GNU Guix machine because I can't build the plugin - see #375

To Reproduce Steps to reproduce the behavior:

  1. Install Odin2 LV2 on your Pc. (https://www.thewavewarden.com/odin2)
  2. Add it to Zrythm.
  3. Plugin fails to instantiate

Expected behavior not crash

Screenshots

Desktop (please complete the following information):

Additional context log shows that it crashes inside lilv_instance_activate(). This suggests there's something wrong with the activate() logic of the plugin.

(zrythm:3469): zrythm-WARNING **: 03:51:59.579: (lv2_plugin_instantiate:1989): Failed to instantiate plugin

(zrythm:3469): zrythm-WARNING **: 03:51:59.579: (plugin_instantiate:1345): lv2 instantiate failed
zrythm-Message: 03:52:00.780: (plugin_free:2724): FREEING PLUGIN Odin2
zrythm-Message: 03:52:00.780: (lv2_plugin_activate:2078): Activating lilv instance...
zrythm-Message: 03:52:00.887: (segv_handler:91): Error: Segmentation fault - Backtrace:
/usr/bin/zrythm(_backtrace_get+0xdb) [0x55c640d3a1fb]
/usr/bin/zrythm(+0x740db) [0x55c640cca0db]
/lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7f08d1ce7210]
/usr/bin/zrythm(lv2_plugin_activate+0x69) [0x55c640d2fee9]
/usr/bin/zrythm(plugin_activate+0x109) [0x55c640d31069]
/usr/bin/zrythm(+0x8318e) [0x55c640cd918e]
/usr/bin/zrythm(create_tracks_action_do+0x3c) [0x55c640cd991c]
/usr/bin/zrythm(undoable_action_do+0xb6d) [0x55c640d4682d]
/usr/bin/zrythm(undo_manager_perform+0x31) [0x55c640cdd4b1]