Open nidefawl opened 2 years ago
Oh, it seems like this was fixed before, but deemed no longer necessary. 🤨
Having the same issue with the VST3 on Arch in Reaper.
The LV2 kept changing settings on a close/reopen and the VST3 fixed that, but eventually crashed Reaper and wont re-open the project file without crashing.
When reopening or sometimes even when having Vitalium in the background I get a segfault. I get the same crash inside my own DAW project. Apparently, after the window is closed, (or before it is fully opened?!) it keeps processing something on the event queue related to the parent window the VST2 implementation is passing to the plugin. It always crashes here (inside dynamic_cast): https://github.com/DISTRHO/DISTRHO-Ports/blob/5907a18cb50dd63d84d37776dfd8e8dcc7f3e378/libs/juce-current/source/modules/juce_gui_basics/native/x11/juce_linux_XWindowSystem.cpp#L3680
I tested the LV2 version on Reaper, and it doesn't seem to be affected.
Here is a workaround I came up with:
BTW: I got crashes from the latest official Vital VST2 linux build at the very same location, so I think this workaround would help upstream as well.