ADLplug icon indicating copy to clipboard operation
ADLplug copied to clipboard

crash with Qtractor host

Open jpcima opened this issue 5 years ago • 1 comments

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.

jpcima avatar Sep 17 '18 17:09 jpcima

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

jpcima avatar Sep 17 '18 17:09 jpcima