Re: Snow Leopard Crash on exit
Re: Snow Leopard Crash on exit
- Subject: Re: Snow Leopard Crash on exit
- From: Jeff Moore <email@hidden>
- Date: Thu, 27 Aug 2009 09:39:46 -0700
A crash like this basically is saying that the run loop source being
removed here is corrupt. It could be specific to that run loop source,
implying that it has probably been overreleased. But when I see
crashes like this, it usually means that somebody has corrupted the
process's heap.
On Aug 27, 2009, at 6:06 AM, Wolfgang Kundrus wrote:
we have a propblem on Snow Leopard and I am out of ideas, what could
possibly be the cause on our end. The stack trace for the crash looks
like this:
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 ??? 0x1496abd5 0 + 345418709
1 com.apple.CoreFoundation 0x9384ff8b __CFBasicHashRehash +
1739
2 com.apple.CoreFoundation 0x93876330 CFBasicHashRemoveValue
+ 1264
3 com.apple.CoreFoundation 0x938ae04c CFRunLoopRemoveSource
+ 460
4 com.apple.audio.CoreAudio 0x928c47f6 HALRunLoop::Teardown()
+ 140
5 com.apple.audio.CoreAudio 0x928c40bf
HALSystem::TeardownShell() + 55
6 com.apple.audio.CoreAudio 0x928c33d5
HALSystem::AtExitHandler() + 123
7 com.apple.audio.CoreAudio 0x928c3304
HALAtExit::AtExitHandler() + 78
8 libSystem.B.dylib 0x977669ba __cxa_finalize + 219
9 libSystem.B.dylib 0x977668c4 exit + 33
10 com.presonus.studioone 0x00001ed2 0x1000 + 3794
11 com.presonus.studioone 0x00001df1 0x1000 + 3569
I have tried a few things without changing this symptom:
1) Disable all property listeners.
2) Call AudioHardwareUnload (), although I never had to do this
before.
3) Review all of our build settings.
4) Set the CoreAudio runloop to use the main runloop.
5) Retain the runloop.
6) Set the CoreAudio runloop to zero
The CoreAudio support and the CoreMidi support are implemented in two
separate shared libraries. The application, and the shared libraries
all reference the CoreAudio framework. The shared libaries are
dynamically loaded at startup and unloaded when the application
terminates.
I have no idea, what CoreAudio does in its AtExitHandler. Any
insights, hints what to try are welcome.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden