falkTX / Carla

Audio plugin host
https://kx.studio/carla
1.55k stars 144 forks source link

Issues with Windows plugins crashing on close/remove. #1853

Open Lowclock opened 5 months ago

Lowclock commented 5 months ago

On loading any Windows plugin with 2.5.8 (and earlier), whether it's a VST3, or converted to LV2, I always get something like this in Carla's log.

[carla] Carla assertion failure: "Z:\home\lc\.lv2\Lowender.lv2\\bin\\carla-bridge-native.exe" in file files/File.cpp, line 167

[carla] Carla Bridge Ready!

[carla] Carla assertion failure: "sendGui || sendOsc || sendCallback" in file ../backend/plugin/CarlaPluginBridge.cpp, line 756
[carla] Carla assertion failure: "sendGui || sendOsc || sendCallback" in file ../backend/plugin/CarlaPluginBridge.cpp, line 756
[carla] Carla assertion failure: "sendGui || sendOsc || sendCallback" in file ../backend/plugin/CarlaPluginBridge.cpp, line 756
[carla] Carla assertion failure: "sendGui || sendOsc || sendCallback" in file ../backend/plugin/CarlaPluginBridge.cpp, line 756
[carla] Carla assertion failure: "sendGui || sendOsc || sendCallback" in file ../backend/plugin/CarlaPluginBridge.cpp, line 756

The plugin will work fine, but then when removing them or closing Carla, I get Wine crashing with the attached backtrace.

I can't find anyone else reporting this problem, so I'm not sure if I'm missing or doing something wrong. Let me know if and how I can provide you with any additional information. Thanks.

E: Forgot to add that I also get the following in Carla's log on closing.

wine: Unhandled page fault on execute access to 00006FFFFA56FC47 at address 00006FFFFA56FC47 (thread 0114), starting debugger...
[carla] CarlaPluginBridgeThread::run() - bridge refused to close, force kill now