Crash in Core Audio framework code
Crash in Core Audio framework code
- Subject: Crash in Core Audio framework code
- From: Dave Fernandes <email@hidden>
- Date: Wed, 05 Dec 2012 22:49:11 -0500
I just got this crash report, and can't figure out whether there is anything in my code that might have caused it. From the AUHAL::UpdateStreamFormats() call in the stack trace, I surmise that the user may have changed the sample rate or bit-depth for the input device, but I'm not sure. (My code registers a listener for these changes.)
Does anyone have a guess as to what might have gone wrong here?
Thanks,
Dave
------------------------
Code Type: X86-64 (Native)
Parent Process: launchd [128]
User ID: 501
Date/Time: 2012-12-05 19:32:38.264 -0400
OS Version: Mac OS X 10.8.2 (12C60)
Report Version: 10
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
*** error for object 0x107345d80: pointer being freed was not allocated
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8ae09212 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff889d0af4 pthread_kill + 90
2 libsystem_c.dylib 0x00007fff88a14dce abort + 143
3 libsystem_c.dylib 0x00007fff889e8959 free + 392
4 com.apple.audio.toolbox.AudioToolbox 0x00007fff8e86646e Reinterleaver::~Reinterleaver() + 36
5 com.apple.audio.toolbox.AudioToolbox 0x00007fff8e866428 Reinterleaver::~Reinterleaver() + 18
6 com.apple.audio.toolbox.AudioToolbox 0x00007fff8e858eb8 SubConverterList::DeleteAll() + 28
7 com.apple.audio.toolbox.AudioToolbox 0x00007fff8e858da0 AudioConverterChain::~AudioConverterChain() + 38
8 com.apple.audio.toolbox.AudioToolbox 0x00007fff8e858d5a AudioConverterChain::~AudioConverterChain() + 18
9 com.apple.audio.toolbox.AudioToolbox 0x00007fff8e858d19 AudioConverterDispose + 35
10 com.apple.audio.units.Components 0x000000010ad71bce AUInputFormatConverter2::SetFormats(AudioStreamBasicDescription const&, AudioStreamBasicDescription const&) + 32
11 com.apple.audio.units.Components 0x000000010ad71446 AUConverterBase::SetupConverter(unsigned int, bool) + 674
12 com.apple.audio.units.Components 0x000000010ad75858 AUHAL::SetupConverter(unsigned int, bool) + 42
13 com.apple.audio.units.Components 0x000000010ad709f1 AUConverterBase::SetupAllConverters(bool, unsigned int) + 85
14 com.apple.audio.units.Components 0x000000010ad7559d AUHAL::UpdateStreamFormats() + 1611
15 com.apple.audio.units.Components 0x000000010ad73494 AUHAL::DeviceListener(unsigned int, unsigned int, AudioObjectPropertyAddress const*, void*) + 566
16 com.apple.audio.CoreAudio 0x00007fff8d80b815 HALPropertyListener_Call_Helper(int, void*, void*, unsigned int, unsigned int, AudioObjectPropertyAddress const*) + 314
17 com.apple.audio.CoreAudio 0x00007fff8d81b214 __Call_block_invoke_03 + 36
18 libdispatch.dylib 0x00007fff8af0bf01 _dispatch_call_block_and_release + 15
19 libdispatch.dylib 0x00007fff8af080b6 _dispatch_client_callout + 8
20 libdispatch.dylib 0x00007fff8af0d0c8 _dispatch_main_queue_callback_4CF + 275
21 com.apple.CoreFoundation 0x00007fff85d810fe __CFRunLoopRun + 1614
22 com.apple.CoreFoundation 0x00007fff85d806b2 CFRunLoopRunSpecific + 290
23 com.apple.HIToolbox 0x00007fff89b440a4 RunCurrentEventLoopInMode + 209
24 com.apple.HIToolbox 0x00007fff89b43e42 ReceiveNextEventCommon + 356
25 com.apple.HIToolbox 0x00007fff89b43cd3 BlockUntilNextEventMatchingListInMode + 62
26 com.apple.AppKit 0x00007fff9162c613 _DPSNextEvent + 685
27 com.apple.AppKit 0x00007fff9162bed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
28 com.apple.AppKit 0x00007fff91623283 -[NSApplication run] + 517
29 com.apple.AppKit 0x00007fff915c7cb6 NSApplicationMain + 869
30 com.mydomain.MyApp 0x0000000100002174 0x100000000 + 8564
_______________________________________________
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