JUCE AudioPluginHost crashing with VST3 iZotope plugins


#1

This is about iZotope VST3 plugins crashing with JUCE 5.3.2 in the AudioPluginHost example project.

We recently had some crashes with our implementation of the AudioPluginHost. We verified crashes with at least two VST3 Izotope plugins (Break Tweaker and Iris). We verified this crash with the JUCE AudioPluginHost sample program on two computers.

When I drag the Iris VST3 on to the AudioPluginHost, I get an access violation in IZotope Iris 2.vst3.

Here is the stack:

 	iZotope Iris 2.vst3!00007ffe26c91796()	Unknown

AudioPluginHost.exe!juce::VST3Classes::VST3PluginInstance::prepareToPlay(double newSampleRate, int estimatedSamplesPerBlock) Line 1952 C++
AudioPluginHost.exe!juce::AudioProcessorGraph::Node::prepare(double newSampleRate, int newBlockSize, juce::AudioProcessorGraph * graph, juce::AudioProcessor::ProcessingPrecision precision) Line 821 C++
AudioPluginHost.exe!juce::AudioProcessorGraph::buildRenderingSequence() Line 1229 C++
AudioPluginHost.exe!juce::AudioProcessorGraph::handleAsyncUpdate() Line 1241 C++
AudioPluginHost.exe!juce::AsyncUpdater::AsyncUpdaterMessage::messageCallback() Line 35 C++
AudioPluginHost.exe!juce::WindowsMessageHelpers::dispatchMessageFromLParam( int64 lParam) Line 53 C++
AudioPluginHost.exe!juce::MessageManager::dispatchNextMessageOnSystemQueue(bool returnIfNoPendingMessages) Line 140 C++
AudioPluginHost.exe!juce::MessageManager::runDispatchLoop() Line 128 C++
AudioPluginHost.exe!juce::JUCEApplicationBase::main() Line 266 C++
AudioPluginHost.exe!WinMain(HINSTANCE
* formal, HINSTANCE * __formal, char * __formal, int __formal) Line 154 C++

This is the code:
warnOnFailure (processor->setBusArrangements (inputArrangements.getRawDataPointer(), inputArrangements.size(),
outputArrangements.getRawDataPointer(), outputArrangements.size()));

I noticed that inputArrangements is pointing to a null ptr.

Thanks for your time and help!


#2

I think this is fixed on the develop branch:


#3

Thanks Tom! (=