Re: Snow Leopard Crash on exit
Re: Snow Leopard Crash on exit
- Subject: Re: Snow Leopard Crash on exit
- From: Wolfgang Kundrus <email@hidden>
- Date: Fri, 28 Aug 2009 14:45:45 +0200
So, we found the problem and have a workaround now. The crash happens,
because we unloaded our CoreAudio dylib before the CoreAudio atexit
handler started his work, which used resources that have been released
already. We now retain the library and keep it in memory and leave it
to the OS to clean up.
Thanks
Wolfgang
2009/8/28 Wolfgang Kundrus <email@hidden>:
>>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.
>
> This crash only happens on 10.6 and only, if I touch the CoreAudio and
> the CoreMIDI framework. I have removed a lot of code of ours to
> isolate it, without change. Only if I remove the CoreMIDI calls
> completely, the crash goes away. I have removed our CoreMIDI support
> dylib from the app and just added the the call the MIDIClientCreate
> and MIDIClientDispose to the CoreAudio dylib, which leads to this
> crash on exit to come back. What has changed in 10.6, that could be
> related to this behaviour ?
>
> Thanks
>
> Wolfgang Kundrus
>
--
Managing Director
PreSonus Software Limited
Bei der Neuen Muenze 1
22145 Hamburg, Germany
Phone: +49 (0) 40 - 2851 0694
Mobile: +49 (0) 171 - 273 04 70
Fax: +49 (0) 40 - 2851 0696
Web: www.presonus.com
_______________________________________________
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