'how to resolve app crash in AXSpeechManager for iOS 14.5
I recently met a weird crash which only appears in iOS 14.5 and iOS 14.5.1, which I cannot reproduce.
But the crash log only contains code from the system framework, it did contain any code from my app, does anybody know why? Any infomation will be appreciated. Below is the stacktrace, "TaxiDriverOwner" is my project name.
Date/Time: 2022-04-06 15:20:45.2457 +0800
Launch Time: 2022-04-06 15:15:54.6033 +0800
OS Version: iPhone OS 14.5.1 (18E212)
Release Type: User
Baseband Version: 1.62.11
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001c9be9334 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001e760daa0 pthread_kill + 272 (pthread.c:1392)
2 libsystem_c.dylib 0x00000001a4e56b90 abort + 104 (abort.c:110)
3 libsystem_c.dylib 0x00000001a4e56024 __assert_rtn + 292 (assert.c:96)
4 libAXSpeechManager.dylib 0x00000001c8253df8 -[AXSpeechManager _updateAuxiliarySession].cold.2 + 44 (AXSpeechManager.m:360)
5 libAXSpeechManager.dylib 0x00000001c824a070 -[AXSpeechManager _updateAuxiliarySession] + 1672 (AXSpeechManager.m:360)
6 libAXSpeechManager.dylib 0x00000001c824a60c -[AXSpeechManager _handleMediaServicesWereLost:] + 96 (AXSpeechManager.m:517)
7 CoreFoundation 0x000000019ba31534 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 28 (CFNotificationCenter.c:706)
8 CoreFoundation 0x000000019ba314dc ___CFXRegistrationPost_block_invoke + 52 (CFNotificationCenter.c:173)
9 CoreFoundation 0x000000019ba30a48 _CFXRegistrationPost + 440 (CFNotificationCenter.c:198)
10 CoreFoundation 0x000000019ba30408 _CFXNotificationPost + 716 (CFNotificationCenter.c:1071)
11 Foundation 0x000000019cd2867c -[NSNotificationCenter postNotificationName:object:userInfo:] + 64 (NSNotification.m:575)
12 AudioSession 0x00000001a34c4718 -[AVAudioSession privateHandleServerDied] + 196 (AVAudioSession_iOS.mm:2871)
13 AudioSession 0x00000001a34bdaf0 (anonymous namespace)::HandlePropertyListenerCallback(unsigned int, objc_selector*) + 60 (AVAudioSession_iOS.mm:255)
14 libdispatch.dylib 0x000000019b6c1a54 _dispatch_call_block_and_release + 32 (init.c:1466)
15 libdispatch.dylib 0x000000019b6c37ec _dispatch_client_callout + 20 (object.m:559)
16 libdispatch.dylib 0x000000019b6d1c40 _dispatch_main_queue_callback_4CF + 884 (inline_internal.h:2557)
17 CoreFoundation 0x000000019ba501f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1790)
18 CoreFoundation 0x000000019ba4a0d0 __CFRunLoopRun + 2524 (CFRunLoop.c:3118)
19 CoreFoundation 0x000000019ba491c0 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242)
20 GraphicsServices 0x00000001b3031734 GSEventRunModal + 164 (GSEvent.c:2259)
21 UIKitCore 0x000000019e4b77e4 -[UIApplication _run] + 1072 (UIApplication.m:3269)
22 UIKitCore 0x000000019e4bd054 UIApplicationMain + 168 (UIApplication.m:4740)
23 TaxiDriverOwner 0x00000001002228a0 main + 68 (AppDelegate.swift:17)
24 libdyld.dylib 0x000000019b705cf8 start + 4
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x00000001c9bc44fc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001c9bc3884 mach_msg + 76 (mach_msg.c:103)
2 CoreFoundation 0x000000019ba4fd10 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2641)
3 CoreFoundation 0x000000019ba49bb0 __CFRunLoopRun + 1212 (CFRunLoop.c:2974)
4 CoreFoundation 0x000000019ba491c0 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242)
5 Foundation 0x000000019cd29fac -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 (NSRunLoop.m:377)
6 Foundation 0x000000019cd29e78 -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 (NSRunLoop.m:424)
7 UIKitCore 0x000000019e56c38c -[UIEventFetcher threadMain] + 516 (UIEventFetcher.m:929)
8 Foundation 0x000000019ce9b2fc __NSThread__start__ + 864 (NSThread.m:724)
9 libsystem_pthread.dylib 0x00000001e760cc00 _pthread_start + 320 (pthread.c:881)
10 libsystem_pthread.dylib 0x00000001e7615758 thread_start + 8
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|