Offline rendering with wine-wrapped plugin crashes

Hi, so I’m building a VST host for offline rendering. The basic workflow is to create an audio and midi buffer and iterate through processBlock. This works certainly with native linux vst. However, if I try to render wine-wrapped plugins converted by AirWave, it would crash airwave-host completely.

I tried to load wine-wrapped plugins in AudioPluginHost and they work fine. This means AudioIODeviceCallBack has no problem.

Since airwave serves as an proxy between wrapped vst and native vst, is there any problem with the access to my audio and midi buffer for inter process communication ?

Did you try calling setNonRealtime(true); on the plugin instance? Also, are you doing the processing in smaller buffers and not just with one huge AudioBuffer?

Yes. I set the buffer size to 512 samples.