When i load my juce aplication i sometimes get assertion faults in AudioSampleBuffer becouse “emptyBuffer” gets resized in AudioFilterStreamer::audioDeviceStopped() even while processing an audio callback in audioDeviceIOCallback
This happens quite randomly (its very ellusive only1 out of 8 or so tries) but it happens only when setDefaultMidiOutput() is called. (it is also called at the audio device’s initialize() function which is why it happens when i load my program)
trying to debug with malloc gaurd crashes the software there and then.
any idea on why this may be happening? did i forget to do something?