Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash bug report in HALLab



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: http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden
References: 
 >Crash bug report in HALLab (From: Stéphane Letz <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.