Demo plugin crash iOS on latest tip


#1

Stack trace below:

Juce Message Thread (1)Queue : com.apple.main-thread (serial)
#0 0x000000018d7db224 in mach_msg_trap ()
#1 0x000000018d7db09c in mach_msg ()
#2 0x00000001917b69c4 in AUIOClient_StartIO ()
#3 0x000000019164d970 in AURemoteIO::Start() ()
#4 0x0000000191944b78 in AUMethodStart(void*) ()
#5 0x00000001000a1bf4 in juce::iOSAudioIODevice::Pimpl::restart() at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_devices/native/juce_ios_Audio.cpp:976
#6 0x000000010009d8d0 in juce::iOSAudioIODevice::Pimpl::handleRouteChange(char const*) at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_devices/native/juce_ios_Audio.cpp:629
#7 0x000000010009c700 in juce::iOSAudioIODevice::Pimpl::open(juce::BigInteger const&, juce::BigInteger const&, double, int) at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_devices/native/juce_ios_Audio.cpp:358
#8 0x000000010009c438 in juce::iOSAudioIODevice::open(juce::BigInteger const&, juce::BigInteger const&, double, int) at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_devices/native/juce_ios_Audio.cpp:1080
#9 0x00000001000933d4 in juce::AudioDeviceManager::setAudioDeviceSetup(juce::AudioDeviceManager::AudioDeviceSetup const&, bool) at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp:515
#10 0x0000000100092b5c in juce::AudioDeviceManager::initialiseDefault(juce::String const&, juce::AudioDeviceManager::AudioDeviceSetup const*) at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp:249
#11 0x0000000100091fc0 in juce::AudioDeviceManager::initialise(int, int, juce::XmlElement const*, bool, juce::String const&, juce::AudioDeviceManager::AudioDeviceSetup const*) at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp:206
#12 0x000000010003efb0 in juce::StandalonePluginHolder::reloadAudioDeviceState(bool, juce::String const&, juce::AudioDeviceManager::AudioDeviceSetup const*) at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h:309
#13 0x000000010003eba0 in juce::StandalonePluginHolder::setupAudioDevices(bool, juce::String const&, juce::AudioDeviceManager::AudioDeviceSetup const*) at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h:505
#14 0x000000010003bf74 in juce::StandalonePluginHolder::init(bool, juce::String const&) at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h:90
#15 0x000000010003ba00 in juce::StandalonePluginHolder::StandalonePluginHolder(juce::PropertySet*, bool, juce::String const&, juce::AudioDeviceManager::AudioDeviceSetup const*, juce::Array<juce::StandalonePluginHolder::PluginInOuts, juce::DummyCriticalSection, 0> const&) at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h:85
#16 0x000000010003a958 in juce::StandalonePluginHolder::StandalonePluginHolder(juce::PropertySet*, bool, juce::String const&, juce::AudioDeviceManager::AudioDeviceSetup const*, juce::Array<juce::StandalonePluginHolder::PluginInOuts, juce::DummyCriticalSection, 0> const&) at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h:71
#17 0x000000010003a684 in juce::StandaloneFilterWindow::StandaloneFilterWindow(juce::String const&, juce::Colour, juce::PropertySet*, bool, juce::String const&, juce::AudioDeviceManager::AudioDeviceSetup const*, juce::Array<juce::StandalonePluginHolder::PluginInOuts, juce::DummyCriticalSection, 0> const&) at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h:574
#18 0x000000010003a36c in juce::StandaloneFilterWindow::StandaloneFilterWindow(juce::String const&, juce::Colour, juce::PropertySet*, bool, juce::String const&, juce::AudioDeviceManager::AudioDeviceSetup const*, juce::Array<juce::StandalonePluginHolder::PluginInOuts, juce::DummyCriticalSection, 0> const&) at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h:567
#19 0x00000001000390ec in juce::StandaloneFilterApp::createWindow() at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:88
#20 0x0000000100038e48 in juce::StandaloneFilterApp::initialise(juce::String const&) at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp:101
#21 0x00000001002a503c in juce::JUCEApplicationBase::initialiseApp() at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_events/messages/juce_ApplicationBase.cpp:298
#22 0x00000001004a74a0 in juce::JUCEApplication::initialiseApp() at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_gui_basics/application/juce_Application.cpp:93
#23 0x00000001004b1b80 in ::-[JuceAppStartupDelegate applicationDidFinishLaunching:](UIApplication *) at /Users/lee/Development/JUCE/examples/audio plugin demo/Builds/iOS/…/…/…/…/modules/juce_gui_basics/native/juce_ios_Windowing.mm:75


Redefinition since pulling latest tip for iOS build
#2

How do you trigger it? Is it repeatable?

Unfortunately, it’s working fine for me.


#3

Hi, yes, repeatable - it happens as soon as I startup the demo.

I’ve gone back a few weeks in the git repository and it still happens so maybe it’s something my end. Will have a play and report back.