• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash bug report in HALLab
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Crash bug report in HALLab (From: Stéphane Letz <email@hidden>)

  • Prev by Date: Re: Quality of CoreAudio SRC
  • Next by Date: Re: Quality of CoreAudio SRC
  • Previous by thread: Crash bug report in HALLab
  • Next by thread: Quality of CoreAudio SRC
  • Index(es):
    • Date
    • Thread