And here is the crash log:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: [4954]
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x1a1e6ab28 __exceptionPreprocess + 164 (NSException.m:249)
1 libobjc.A.dylib 0x199cb6f78 objc_exception_throw + 60 (objc-exception.mm:356)
2 CoreFoundation 0x1a1ef0234 +[NSException raise:format:arguments:] + 96 (NSException.m:0)
3 AVFAudio 0x1bb856a84 AVAE_RaiseException(NSString*, ...) + 52 (AVAEInternal.h:69)
4 AVFAudio 0x1bb8b8c78 AUGraphNodeBaseV3::CreateRecordingTap(unsigned long, unsigned int, AVAudioFormat*, void (AVAudioPCMBuffer*, AVAudioTime*) block_pointer) + 760 (AVAEGraphNode.mm:832)
5 AVFAudio 0x1bb930f1c -[AVAudioNode installTapOnBus:bufferSize:format:block:] + 1420 (AVAudioNode.mm:185)
6 0x104b4eed8 InspectionCommentsVC.startRecording() + 1700 (InspectionCommentsVC.swift:278)
7 0x104b503c0 specialized InspectionCommentsVC.startStopMicrophoneBtn(_:) + 256 (InspectionCommentsVC.swift:198)
8 0x104b4e474 InspectionCommentsVC.startStopMicrophoneBtn(_:) + 4 (<compiler-generated>:0)
9 0x104b4e474 @objc InspectionCommentsVC.startStopMicrophoneBtn(_:) + 48
10 UIKitCore 0x1a4e2bf78 -[UIApplication sendAction:to:from:forEvent:] + 100 (UIApplication.m:5595)
11 UIKitCore 0x1a47c0698 -[UIControl sendAction:to:forEvent:] + 112 (UIControl.m:920)
12 UIKitCore 0x1a47c0a10 -[UIControl _sendActionsForEvents:withEvent:] + 324 (UIControl.m:991)
13 UIKitCore 0x1a47bdf0c -[UIButton _sendActionsForEvents:withEvent:] + 124 (UIButton.m:4173)
14 UIKitCore 0x1a47bfa78 -[UIControl touchesEnded:withEvent:] + 400 (UIControl.m:670)
15 UIKitCore 0x1a41fb4c0 -[UIWindow _sendTouchesForEvent:] + 776 (UIWindow.m:3330)
16 UIKitCore 0x1a41fae64 -[UIWindow sendEvent:] + 3204 (UIWindow.m:3658)
17 UIKitCore 0x1a41fa0e4 -[UIApplication sendEvent:] + 560 (UIApplication.m:12689)
18 UIKitCore 0x1a41bc970 __dispatchPreprocessedEventFromEventQueue + 5552 (UIEventDispatcher.m:2598)
19 UIKitCore 0x1a41bb010 __processEventQueue + 5544 (UIEventDispatcher.m:2956)
20 UIKitCore 0x1a41b9a1c updateCycleEntry + 160 (UIEventDispatcher.m:126)
21 UIKitCore 0x1a40a4d78 _UIUpdateSequenceRun + 84 (_UIUpdateSequence.mm:119)
22 UIKitCore 0x1a40a4468 schedulerStepScheduledMainSection + 144 (_UIUpdateScheduler.m:1037)
23 UIKitCore 0x1a40a4524 runloopSourceCallback + 92 (_UIUpdateScheduler.m:1186)
24 CoreFoundation 0x1a1db562c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1957)
25 CoreFoundation 0x1a1db48a8 __CFRunLoopDoSource0 + 176 (CFRunLoop.c:2001)
26 CoreFoundation 0x1a1db3058 __CFRunLoopDoSources0 + 244 (CFRunLoop.c:2038)
27 CoreFoundation 0x1a1db1d88 __CFRunLoopRun + 828 (CFRunLoop.c:2955)
28 CoreFoundation 0x1a1db1968 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
29 GraphicsServices 0x1e60a74e0 GSEventRunModal + 164 (GSEvent.c:2196)
30 UIKitCore 0x1a4224edc -[UIApplication _run] + 888 (UIApplication.m:3692)
31 UIKitCore 0x1a4224518 UIApplicationMain + 340 (UIApplication.m:5282)
32 0x104b9d170 main + 64 (AppDelegate.swift:15)
33 dyld 0x1c52d2d84 start + 2240 (dyldMain.cpp:1298)
Kernel Triage:
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
Post
Replies
Boosts
Views
Activity
Hi,
I just noticed that I'm getting a lot of crashes on my app (crashes captured by App Store Connect) when some users (it happens randomly and I wasn't able to replicate) are trying to leave comments into a TextView using AVAudioEngine.
I managed to download the crash log from AppStore and I will post it bellow.
Date/Time: 2022-02-25 15:34:02.4994 +0000
Launch Time: 2022-02-25 15:23:54.4546 +0000
OS Version: iPhone OS 15.3.1 (19D52)
Release Type: User
Baseband Version: 2.23.02
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x1809510fc __exceptionPreprocess + 220 (NSException.m:200)
1 libobjc.A.dylib 0x1991a1d64 objc_exception_throw + 60 (objc-exception.mm:565)
2 CoreFoundation 0x180a275c0 +[NSException raise:format:arguments:] + 100 (NSException.m:147)
3 AVFAudio 0x1f3a7961c AVAE_RaiseException(NSString*, ...) + 60 (AVAEInternal.h:69)
4 AVFAudio 0x1f3ae5b4c AUGraphNodeBaseV3::CreateRecordingTap(unsigned long, unsigned int, AVAudioFormat*, void (AVAudioPCMBuffer*, AVAudioTime*) block_pointer) + 776 (AVAEInternal.h:77)
5 AVFAudio 0x1f3acbf14 AVAudioEngineGraph::InstallTapOnNode(AVAudioNode*, unsigned long, unsigned int, AVAudioFormat*, void (AVAudioPCMBuffer*, AVAudioTime*) block_pointer) + 988 (AVAudioEngineGraph.mm:2029)
6 AVFAudio 0x1f3b4f7f8 AVAudioEngineImpl::InstallTapOnNode(AVAudioNode*, unsigned long, unsigned int, AVAudioFormat*, void (AVAudioPCMBuffer*, AVAudioTime*) block_pointer) + 300 (AVAudioEngine.mm:1337)
7 AVFAudio 0x1f3b32918 -[AVAudioNode installTapOnBus:bufferSize:format:block:] + 572 (AVAudioNode.mm:185)
8 0x100a472b4 InspectionCommentsVC.startRecording() + 1608 (InspectionCommentsVC.swift:275)
9 0x100a48120 specialized InspectionCommentsVC.startStopMicrophoneBtn(_:) + 256 (InspectionCommentsVC.swift:195)
10 0x100a468bc startStopMicrophoneBtn + 4 (<compiler-generated>:0)
11 0x100a468bc @objc InspectionCommentsVC.startStopMicrophoneBtn(_:) + 48
12 UIKitCore 0x183229a98 -[UIApplication sendAction:to:from:forEvent:] + 100 (UIApplication.m:5361)
13 UIKitCore 0x183355db8 -[UIControl sendAction:to:forEvent:] + 128 (UIControl.m:871)
14 UIKitCore 0x1830d0f90 -[UIControl _sendActionsForEvents:withEvent:] + 352 (UIControl.m:942)
15 UIKitCore 0x18316d864 -[UIButton _sendActionsForEvents:withEvent:] + 160 (UIButton.m:4142)
16 UIKitCore 0x183400b40 -[UIControl touchesEnded:withEvent:] + 536 (UIControl.m:637)
17 UIKitCore 0x182ed358c -[UIWindow _sendTouchesForEvent:] + 980 (UIWindow.m:2974)
18 UIKitCore 0x182f04f48 -[UIWindow sendEvent:] + 4456 (UIWindow.m:3274)
19 UIKitCore 0x1830b4e34 -[UIApplication sendEvent:] + 828 (UIApplication.m:11877)
20 UIKitCore 0x182ed8140 __dispatchPreprocessedEventFromEventQueue + 7904 (UIEventDispatcher.m:2290)
21 UIKitCore 0x182eccf2c __processEventQueue + 6760 (UIEventDispatcher.m:2597)
22 UIKitCore 0x183d13d54 updateCycleEntry + 176 (UIEventDispatcher.m:102)
23 UIKitCore 0x18353eb44 _UIUpdateSequenceRun + 84 (_UIUpdateSequence.mm:112)
24 UIKitCore 0x183bbb84c schedulerStepScheduledMainSection + 144 (_UIUpdateCycleScheduler.m:1174)
25 UIKitCore 0x183bbae3c runloopSourceCallback + 60 (_UIUpdateCycleScheduler.m:1262)
26 CoreFoundation 0x1809730d0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1972)
27 CoreFoundation 0x180983d90 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2016)
28 CoreFoundation 0x1808be098 __CFRunLoopDoSources0 + 268 (CFRunLoop.c:2053)
29 CoreFoundation 0x1808c38a4 __CFRunLoopRun + 820 (CFRunLoop.c:2951)
30 CoreFoundation 0x1808d7468 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
31 GraphicsServices 0x19c47b38c GSEventRunModal + 164 (GSEvent.c:2200)
32 UIKitCore 0x18327a5d0 -[UIApplication _run] + 1100 (UIApplication.m:3493)
33 UIKitCore 0x182ff8f74 UIApplicationMain + 364 (UIApplication.m:5047)
Thanks for reading this !
Kind regards,
Flo