Re: Crashes in HALPropertyListener_Call_Helper when using property listeners in threaded code.
Re: Crashes in HALPropertyListener_Call_Helper when using property listeners in threaded code.
- Subject: Re: Crashes in HALPropertyListener_Call_Helper when using property listeners in threaded code.
- From: Dale Curtis <email@hidden>
- Date: Wed, 20 Feb 2013 13:56:23 -0800
Actually, the property listener parts can be disregarded, it's enough to just poll the property in question on another thread. Eventually the main thread blows up here:
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 com.apple.audio.units.Components 0x7000d288 AUHAL::UpdateStreamFormats() + 164
1 com.apple.audio.units.Components 0x7000ba95 AUHAL::SelectDevice(unsigned long) + 1285
2 com.apple.audio.units.Components 0x7000b0ff AUHAL::HALListener(unsigned long, unsigned long, AudioObjectPropertyAddress const*, void*) + 125
3 com.apple.audio.CoreAudio 0x9959c73b HALPropertyListener_Call_Helper(long, void*, void*, unsigned long, unsigned long, AudioObjectPropertyAddress const*) + 339
<...>
This now definitely looks like a thread safety bug so I'll go ahead and report it as such.
- dale
_______________________________________________
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