Re: Crash bug report in HALLab
Re: Crash bug report in HALLab
- Subject: Re: Crash bug report in HALLab
- From: Jeff Moore <email@hidden>
- Date: Thu, 31 Jan 2008 14:04:03 -0800
This is a cautionary tale for those of you working inside a 64 bit
process. The cause of the crash is that HALLab was using CATink to
work around the limitation in the older property listener registration
calls that limit registering the same function only once. In a 64 bit
process, CATink is basically a bunch of no-ops so the crash happens
when one of HALLab's listeners gets called.
The proper fix for this is to stop using the older APIs (e.g.
AudioDeviceAddPropertyListener) and start using the newer, AudioObject
APIs which don't have this limitation on how often a function can be
registered. Sadly, I didn't get a chance to update HALLab before
Leopard went out. It is high on my list of things to do though.
Thanks for the report!
On Jan 31, 2008, at 2:39 AM, Stéphane Letz wrote:
HALLab application compiled from the source code available in
CoreAudioSDK v1.5 cause a crash in CoreAudio: Bug report #5717151
--
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