I Have look on the Source #ifdef __APPLE__ int InstrumentManagerThread::StopThread() { // This is a fix for Mac OS X, where SignalStopThread doesn't // wake up a thread waiting for a condition variable. SignalStopThread(); // send stop signal, but don't wait conditionJobsLeft.Set(true); // wake thread ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ return Thread::StopThread(); // then wait for it to cancel } #endif
Am 10.06.2012 16:41, schrieb Hartmut Lang: > Hi , I have written an small App loading AU. I can Load LinuxSampler AU > it works, but with cratches. Other AU works fine... Where is my mistake ? > Wenn I will Remove LS from AudioGraph the Plugin crash, other Plugins > work without any Error. Who can help me, I'm searching contact to the AU > developer! > > Crashreport: > Thread 0 Crashed:: Dispatch queue: com.apple.main-thread > 0 libsystem_kernel.dylib 0x00007fff88a8fb8e > __psynch_cvbroad + 10 > 1 libsystem_c.dylib 0x00007fff9025b9c8 > pthread_cond_broadcast + 653 > 2 liblinuxsampler.3.dylib 0x00000001099d2499 > LinuxSampler::Condition::Set(bool) + 105 > 3 liblinuxsampler.3.dylib 0x00000001099a270b > LinuxSampler::InstrumentManagerThread::StopThread() + 27 > 4 liblinuxsampler.3.dylib 0x000000010994bd5d > LinuxSampler::LSCPServer::~LSCPServer() + 29 > 5 liblinuxsampler.3.dylib 0x00000001099accb8 > LinuxSampler::PluginGlobal::~PluginGlobal() + 88 > 6 liblinuxsampler.3.dylib 0x00000001099acf5a > LinuxSampler::Plugin::~Plugin() + 90 > 7 org.linuxsampler.LinuxSamplerAU 0x0000000108c01dd0 0x108c00000 + 7632 > 8 org.linuxsampler.LinuxSamplerAU 0x0000000108c1241f PluginAUEntry > + 60463 > 9 org.linuxsampler.LinuxSamplerAU 0x0000000108c0f2b2 PluginAUEntry > + 47810 > 10 org.linuxsampler.LinuxSamplerAU 0x0000000108c03812 PluginAUEntry + 34 > 11 com.apple.CoreServices.CarbonCore 0x00007fff88c5ea09 > CallComponentClose + 46 > 12 com.apple.CoreServices.CarbonCore 0x00007fff88c0916a > CloseComponentInternal(ComponentInstanceRecord*) + 96 > 13 com.apple.CoreServices.CarbonCore 0x00007fff88c09242 > CloseComponent + 33 > 14 com.apple.audio.toolbox.AudioToolbox 0x00007fff93e73493 > AudioComponentMgr::DisposeInstance(ComponentInstanceRecord*) + 9 > 15 com.apple.audio.toolbox.AudioToolbox 0x00007fff93daf492 > AudioUnitNodeInfo::~AudioUnitNodeInfo() + 58 > 16 com.apple.audio.toolbox.AudioToolbox 0x00007fff93daf858 > AudioUnitGraph::DoRemoveNode(int, AUNodeInfo**) + 90 > 17 com.apple.audio.toolbox.AudioToolbox 0x00007fff93daffd8 > AudioUnitGraph::RemoveNode(int) + 196 > 18 com.apple.audio.toolbox.AudioToolbox 0x00007fff93db2b38 > AUGraphRemoveNode + 152 > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Linuxsampler-devel mailing list > Linuxsampler-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel