Well i know this issue has been posted some time ago i just wanted to find out if there is a workaround that someone has come up with.
So far i’ve tried separating my VST/AU projects in the Introjucer, but that didn’t help. Once i delete the plugin, Live goes on working
but after some time (a few seconds so it’s quite a long time) it crashes with
#0 0x9102b09a in mach_msg_trap
#1 0x9102b807 in mach_msg
#2 0x976eb37f in __CFRunLoopRun
#3 0x976ea464 in CFRunLoopRunSpecific
#4 0x976ea291 in CFRunLoopRunInMode
#5 0x98f44e04 in RunCurrentEventLoopInMode
#6 0x98f44bb9 in ReceiveNextEventCommon
#7 0x98f44a3e in BlockUntilNextEventMatchingListInMode
#8 0x92cbe78d in _DPSNextEvent
#9 0x92cbdfce in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
#10 0x92c80247 in -[NSApplication run]
#11 0x014abbc2 in std::out_of_range::~out_of_range
#12 0x014a7cde in std::out_of_range::~out_of_range
i assume it’s the bug where the OS or the HOST tries to deliver some messages to a non-existing plugin.
I added a line like so
MessageManager::getInstance()->runDispatchLoopUntil(2000);
in my plugin destructor, but that doesn’t help either. Does anyone have any other ideas for this. Without a fix for this the AudioPlugin wrapper is unusable really.
My tests are on OSX 10.6.7 with Live8 and Maschine
Maschine debugger output when crashing
CtrlrProcessor::dtor
[Switching to process 3509]
Program received signal: “EXC_BAD_ACCESS”.
[Switching to process 3509]
sharedlibrary apply-load-rules all
warning: Could not find object file "/Users/developer/CVS/external/coreaudio-sdk-1.5-R2/lib/osx/libcoreaudio-sdk-ni.a(CAComponent.o)" - no debug information available for "/Users/fdetro/Development/CVS/external/coreaudio-sdk-1.5-R2/PublicUtility/CAComponent.cpp".
warning: Could not find object file "/Users/developer/CVS/external/coreaudio-sdk-1.5-R2/lib/osx/libcoreaudio-sdk-ni.a(CAAudioUnit.o)" - no debug information available for "/Users/fdetro/Development/CVS/external/coreaudio-sdk-1.5-R2/PublicUtility/CAAudioUnit.cpp".
warning: .o file "/Developer/usr/lib/gcc/i686-apple-darwin10/4.2.1/libgcc.a(_eprintf.o)" more recent than executable timestamp in "/Applications/Native Instruments/Maschine/Maschine.app/Contents/MacOS/Maschine"
warning: Could not open OSO file /Developer/usr/lib/gcc/i686-apple-darwin10/4.2.1/libgcc.a(_eprintf.o) to scan for pubtypes for objfile /Applications/Native Instruments/Maschine/Maschine.app/Contents/MacOS/Maschine
warning: Could not find object file "/Users/developer/CVS/external/coreaudio-sdk-1.5-R2/lib/osx/libcoreaudio-sdk-ni.a(CAComponentDescription.o)" - no debug information available for "/Users/fdetro/Development/CVS/external/coreaudio-sdk-1.5-R2/PublicUtility/CAComponentDescription.cpp".
warning: Could not find object file "/Users/developer/CVS/external/coreaudio-sdk-1.5-R2/lib/osx/libcoreaudio-sdk-ni.a(CAAudioChannelLayoutObject.o)" - no debug information available for "/Users/fdetro/Development/CVS/external/coreaudio-sdk-1.5-R2/PublicUtility/CAAudioChannelLayoutObject.cpp".
warning: Could not find object file "/Users/developer/CVS/external/coreaudio-sdk-1.5-R2/lib/osx/libcoreaudio-sdk-ni.a(AUOutputBL.o)" - no debug information available for "/Users/fdetro/Development/CVS/external/coreaudio-sdk-1.5-R2/PublicUtility/AUOutputBL.cpp".
warning: Could not find object file "/Users/developer/CVS/external/coreaudio-sdk-1.5-R2/lib/osx/libcoreaudio-sdk-ni.a(CAAudioChannelLayout.o)" - no debug information available for "/Users/fdetro/Development/CVS/external/coreaudio-sdk-1.5-R2/PublicUtility/CAAudioChannelLayout.cpp".
warning: Could not find object file "/Users/developer/CVS/external/elastiquePro-2.1.1-R3/lib/osx/libzplVecLib.a(zplVecLibDispatch.o)" - no debug information available for "/Users/flea2/Development/zplane/elastiquePro/build/../src/zplVecLib/zplVecLibDispatch.cpp".
warning: Could not find object file "/Users/developer/CVS/external/elastiquePro-2.1.1-R3/lib/osx/libzplVecLib.a(zplVecLibAltiVec.o)" - no debug information available for "/Users/flea2/Development/zplane/elastiquePro/build/../src/zplVecLib/zplVecLibAltiVec.cpp".
warning: Could not find object file "/Users/developer/CVS/external/elastiquePro-2.1.1-R3/lib/osx/libzplVecLib.a(zplFFTAltiVec.o)" - no debug information available for "/Users/flea2/Development/zplane/elastiquePro/build/../src/zplVecLib/zplFFTAltiVec.cpp".
warning: Could not find object file "/Users/developer/CVS/external/elastiquePro-2.1.1-R3/lib/osx/libzplVecLib.a(zplVecLibGen.o)" - no debug information available for "/Users/flea2/Development/zplane/elastiquePro/build/../src/zplVecLib/zplVecLibGen.cpp".
warning: Could not find object file "/Users/developer/CVS/external/elastiquePro-2.1.1-R3/lib/osx/libzplVecLib.a(zplFFT_If.o)" - no debug information available for "/Users/flea2/Development/zplane/elastiquePro/build/../src/zplVecLib/zplFFT_If.cpp".
and the stack trace
#0 0x976baf10 in CFRelease
#1 0x93ec813c in HTTPMessage::~HTTPMessage
#2 0x976bb101 in _CFRelease
#3 0x93ef2fe6 in HTTPWriteFilter::~HTTPWriteFilter
#4 0x976bb101 in _CFRelease
#5 0x976e633c in __CFStreamDeallocate
#6 0x976bb101 in _CFRelease
#7 0x93ef2e79 in NetConnection::shutdownConnectionStreams
#8 0x93f31d58 in NetConnection::closeStreamsIfPossibleOrSignalThatThatNeedsToBeDonePrettyPlease
#9 0x93f01843 in NetConnection::doNotAllowMoreReqeusts
#10 0x93f4413b in UnauthConnectionArray::removeValueAtIndex
#11 0x93f41d3d in HTTPConnectionCacheEntry::removeAllConnections
#12 0x93f41aef in HTTPConnectionCacheDictionary::forgetCacheEntries
#13 0x93f41b32 in ConnectionCacheTLS::resetCacheForThisThread
#14 0x93edaf6c in ConnectionTimerTLS::_timerPurgeEntries
#15 0x976ecadb in __CFRunLoopRun
#16 0x976ea464 in CFRunLoopRunSpecific
#17 0x976ea291 in CFRunLoopRunInMode
#18 0x94c5e6f4 in +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
#19 0x94c25ad0 in -[NSThread main]
#20 0x94c25a80 in __NSThread__main__
#21 0x910587fd in _pthread_start
#22 0x91058682 in thread_start