ADLplug
ADLplug copied to clipboard
crash with Qtractor host
report by @trebmuh and confirmed to happen, needs debugging
When the plugin (or UI?) is switched on and off many times, it can produce a segfault in Qtractor.
A backtrace pointed at the code juce_LV2_Wrapper.cpp:1501 This could be an error on the host side, possibly a race condition of some kind. (maybe also why it's difficult to reproduce)
It would suggest the processor runs after its deletion.
channels[i] = portAudioOuts[i];
https://github.com/jpcima/JUCE/blob/7f4d9aacc7f7ff1bcbe0e3142e099714304a7771/modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp#L1501