Crash in AVFAudio's HandleRouteChange method

Originator:larry.brunet
Number:rdar://30837848 Date Originated:03-Mar-2017
Status:Duplicate of 28322013 (Open) Resolved:
Product:iOS + SDK Product Version:iOS 10.2.1
Classification: Reproducible:No
 
Area:
Audio Toolbox

Summary:
Crash in a VoIP app, when placing or answering a call

Steps to Reproduce:
Seen this crash in different scenarios:
-Initiating a call
-Receiving a call

Crash occurs when audio channel is being established.

Expected Results:
Audio path established

Actual Results:
Crash:
Thread 6 Crashed:
0   libobjc.A.dylib                     0x000000018b17af70 objc_msgSend + 16
1   AVFAudio                            0x00000001a62b4fe4 (anonymous namespace)::HandleRouteChange(unsigned int, NSDictionary*) + 1340
2   AVFAudio                            0x00000001a62b4490 AVAudioSessionPropertyListener(void*, unsigned int, unsigned int, void const*) + 1936
3   AudioToolbox                        0x000000018f63e76c AudioSessionPropertyListeners::CallPropertyListenersImp(AudioSessionPropertyListeners const&, unsigned int, unsigned int, void const*) + 536
4   AudioToolbox                        0x000000018f71482c AudioSessionPropertyListeners::CallPropertyListeners(unsigned int, unsigned int, void const*) + 268
5   AudioToolbox                        0x000000018f74c6e4 HandleCFPropertyListChange(unsigned int, unsigned int, unsigned long, unsigned char*, unsigned int) + 728
6   AudioToolbox                        0x000000018f7510ec HandleAudioSessionCFTypePropertyChangedMessage(unsigned int, unsigned int, void*, unsigned int) + 524
7   AudioToolbox                        0x000000018f750944 ProcessDeferredMessage(unsigned int, __CFData const*, unsigned int, unsigned int) + 2432
8   AudioToolbox                        0x000000018f74fb10 ASCallbackReceiver_AudioSessionPingMessage + 624
9   AudioToolbox                        0x000000018f63234c _XAudioSessionPingMessage + 52
10  AudioToolbox                        0x000000018f8a9ba4 mshMIGPerform + 244
11  CoreFoundation                      0x000000018c6df218 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
12  CoreFoundation                      0x000000018c6de9cc __CFRunLoopDoSource1 + 436
13  CoreFoundation                      0x000000018c6dc4b0 __CFRunLoopRun + 1840
14  CoreFoundation                      0x000000018c60a2b8 CFRunLoopRunSpecific + 444
15  AVFAudio                            0x00000001a62abd24 GenericRunLoopThread::Entry(void*) + 164
16  AVFAudio                            0x00000001a62d1d9c CAPThread::Entry(CAPThread*) + 84
17  libsystem_pthread.dylib             0x000000018b7c5850 _pthread_body + 240
18  libsystem_pthread.dylib             0x000000018b7c5760 _pthread_body + 0
19  libsystem_pthread.dylib             0x000000018b7c2d94 thread_start + 4

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!