Segfault when attempting to write wrapper for VST synth module (help needed)

DSP, Plug-in and Host development discussion.
2 posts since 27 May, 2010 from Finland

Post Wed Mar 07, 2018 2:05 pm

AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
I'm developing VST 2.4 synth wrapper (a mini host). The synth plugin loads a child vst plugin and passes all calls/commands to the child module. However, I get crash (segfault?) when attempting to start the GUI from DAW (renoise).

I'm developing this on Linux. Here is pseudocode what I'm doing

Code: Select all (#)


module = dlopen("");
func = dlsym(module, VSTPluginMain);
aeffect = call func(callback)
AudioEffect* eff = aeffect->object;
return new HostAudioEffectWrapper(eff).getAeffect();
Do you know source code examples showing how to do this? It is difficult to debug because DAW doesn't show specific backtrace.

Are there any hi quality VST 2.x documentation? I've just read minimal VST 2.4 source code that is still part of Steinberg SDK.

Return to “DSP and Plug-in Development”