Could anyone help with this crush? I don't understand what's the exact reason for it.
Here's the log:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
VM Region Info: 0 is not in any region. Bytes before following region: 4303306752
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 1007f4000-100808000 [ 80K] r-x/r-x SM=COW ...
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [9393]
Triggered by Thread: 0
Kernel Triage:
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
Thread 0 name:
Thread 0 Crashed:
0 libobjc.A.dylib 0x00000001997652d8 lookUpImpOrForward + 76 (objc-runtime-new.h:2123)
1 libobjc.A.dylib 0x00000001997609e4 _objc_msgSend_uncached + 68
2 AVFAudio 0x00000001f3390dd8 tryToSetPlayerSessionListener(AVAudioPlayer*) + 32 (AVAudioPlayer.mm:86)
3 AVFAudio 0x00000001f33e8164 AVAudioPlayerCpp::allocAudioQueue() + 660 (AVAudioPlayerCpp.mm:1535)
4 AVFAudio 0x00000001f33e7b60 AVAudioPlayerCpp::prepareToPlayQueue() + 32 (AVAudioPlayerCpp.mm:813)
5 AVFAudio 0x00000001f33e7a1c AVAudioPlayerCpp::playQueue(AudioTimeStamp const*) + 116 (AVAudioPlayerCpp.mm:922)
6 AVFAudio 0x00000001f33e75f4 AVAudioPlayerCpp::DoAction(unsigned int, unsigned long, void const*) + 168 (AVAudioPlayerCpp.mm:644)
7 AVFAudio 0x00000001f3391864 -[AVAudioPlayer play] + 40 (AVAudioPlayer.mm:544)
8 0x0000000100903ef0 thunk for @escaping @callee_guaranteed () -> () + 20 (<compiler-generated>:0)
9 libdispatch.dylib 0x0000000180ba9924 _dispatch_call_block_and_release + 32 (init.c:1517)
10 libdispatch.dylib 0x0000000180bab670 _dispatch_client_callout + 20 (object.m:560)
11 libdispatch.dylib 0x0000000180bb9b70 _dispatch_main_queue_callback_4CF + 944 (inline_internal.h:2601)
12 CoreFoundation 0x0000000180ef1d84 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1795)
13 CoreFoundation 0x0000000180eabf5c __CFRunLoopRun + 2540 (CFRunLoop.c:3144)
14 CoreFoundation 0x0000000180ebf468 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
15 GraphicsServices 0x000000019ca4b38c GSEventRunModal + 164 (GSEvent.c:2200)
16 UIKitCore 0x0000000183861088 -[UIApplication _run] + 1100 (UIApplication.m:3493)
17 UIKitCore 0x00000001835df958 UIApplicationMain + 2092 (UIApplication.m:5046)
18 libswiftUIKit.dylib 0x0000000198791fa0 UIApplicationMain(_:_:_:_:) + 104 (UIKit.swift:530)
19 0x000000010080b850 main + 80 (<compiler-generated>:11)
20 0x000000010080b850 $main + 92 (ListeningViewController.swift:0)
21 0x000000010080b850 main + 108
22 dyld 0x0000000100ea9aa4 start + 520 (dyldMain.cpp:879)