Hi everyone,
I’m encountering a crash in my app and need help understanding what’s causing it and how to resolve it.
As stated in the crash report, the issue is caused by exceeding the system-wide per-process port limit. Can you tell me how to locate and identify why this is happening?
Below are the full report of the crash log:
crash.log
Summary of Crash:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Incident Identifier: B509FF2B-C8D8-4E9F-B664-E24464CFD5F8
CrashReporter Key: b390cfe931a83efde49bd8b523023a275b55ef64
Hardware Model: iPhone14,2
Process: MyApp [22515]
Path: /private/var/containers/Bundle/Application/F73212A7-4CB9-485A-A8B7-8114F4E9A9AB/MyApp.app/MyApp
Identifier: com.beeasy.app.id.enterprise
Version: 3.41.38-ID-MySDKMemory-12261114 (3.41.38-ID-MySDKMemory-12261114)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.beeasy.app.id.enterprise [515]
Date/Time: 2024-12-29 01:29:48.3023 +0800
Launch Time: 2024-12-26 16:38:36.7895 +0800
OS Version: iPhone OS 16.6.1 (20G81)
Release Type: User
Baseband Version: 2.80.01
Report Version: 104
Exception Type: EXC_RESOURCE (SIGKILL)
Exception Codes: 0x000000000001c1d6, 0x0000000000000000
Termination Reason: PORT_SPACE 14123288431433990614 (Limit 115158 ports) Exceeded system-wide per-process Port Limit
Triggered by Thread: 64
Thread 64 name: AURemoteIO::IOThread
Thread 64 Crashed:
0 libsystem_kernel.dylib 0x20ce5eca4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x20ce71b74 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x20ce71e4c mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x20ce5f1e8 mach_msg + 24
4 libEmbeddedSystemAUs.dylib 0x238bb2148 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, AURemoteIO::IOThread::IOThread(AURemoteIO&, caulk::thread::attributes const&, caulk::mach::os_workgroup_managed const&)::'lambda'(), std::__1::tuple<>>>(void*) + 556
5 libsystem_pthread.dylib 0x22dcda6b8 _pthread_start + 148
6 libsystem_pthread.dylib 0x22dcd9b88 thread_start + 8
Post
Replies
Boosts
Views
Activity
I have received this report through firebase analytics(Crashlytics) and I have no idea what it is. Would you help me?
The problem is only in iOS 14. (iOS 14.4.0, 14.5.0, 14.6.0)
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000074
Crashed: com.apple.main-thread
0 UIKitCore 0x19c2517dc ___UIKitCoreGlyphsManager_block_invoke + 140
1 libdispatch.dylib 0x19907f81c _dispatch_client_callout + 20
2 libdispatch.dylib 0x1990810b4 _dispatch_once_callout + 32
3 UIKitCore 0x19c25174c _UIKitCoreGlyphsManager + 64
4 UIKitCore 0x19ba2de24 +[UIImage _systemImageNamed:withConfiguration:allowPrivate:] + 280
5 UIKitCore 0x19bc34a50 -[UIKeyboardDockItem imageWithRenderConfig:] + 292
6 UIKitCore 0x19bc34ad4 -[UIKeyboardDockItem setImageName:] + 60
7 UIKitCore 0x19bc34714 -[UIKeyboardDockItem initWithImageName:identifier:] + 112
8 UIKitCore 0x19bc9ef78 -[UISystemKeyboardDockController loadView] + 228
9 UIKitCore 0x19b7575ac -[UIViewController loadViewIfRequired] + 200
10 UIKitCore 0x19b757c64 -[UIViewController view] + 32
11 UIKitCore 0x19bc2604c -[UIInputWindowControllerHostingItem updateKeyboardDockViewVisibility] + 84
12 CoreFoundation 0x1994105bc __NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__ + 24
13 CoreFoundation 0x19936ab8c -[__NSSingleObjectArrayI enumerateObjectsWithOptions:usingBlock:] + 92
14 UIKitCore 0x19bc1ab74 -[UIInputWindowController changeToInputViewSet:] + 2212
15 UIKitCore 0x19bc1ccac -[UIInputWindowController transferPlacementStateToInputWindowController:] + 428
16 UIKitCore 0x19bc1479c -[UIInputWindowController performOperations:withAnimationStyle:] + 60
17 UIKitCore 0x19bcb0da8 __63+[UIRemoteKeyboardWindow remoteKeyboardWindowForScreen:create:]_block_invoke + 396
18 UIKitCore 0x19c3b4920 +[UIView(Animation) performWithoutAnimation:] + 104
19 UIKitCore 0x19bcb0bb8 +[UIRemoteKeyboardWindow remoteKeyboardWindowForScreen:create:] + 308
20 UIKitCore 0x19bcb6f28 -[_UIRemoteKeyboards prepareToMoveKeyboard:withIAV:isIAVRelevant:showing:notifyRemote:forScene:] + 632
21 UIKitCore 0x19b8c6998 -[UIInputResponderController prepareToMoveKeyboardForInputViewSet:animationStyle:] + 492
22 UIKitCore 0x19b8c4c8c -[UIInputResponderController setKeyWindowSceneInputViews:animationStyle:] + 656
23 UIKitCore 0x19b8c49c8 -[UIInputResponderController setInputViews:animationStyle:] + 236
24 UIKitCore 0x19b8c5f24 -[UIInputResponderController setInputViews:animated:] + 100
25 UIKitCore 0x19b8c5fa0 -[UIInputResponderController setInputViews:] + 80
26 UIKitCore 0x19b8c3834 __74-[UIInputResponderController _reloadInputViewsForKeyWindowSceneResponder:]_block_invoke.666 + 40
27 UIKitCore 0x19b8c3310 -[UIInputResponderController _reloadInputViewsForKeyWindowSceneResponder:] + 3972
28 UIKitCore 0x19b8c2360 -[UIInputResponderController _reloadInputViewsForResponder:] + 164
29 UIKitCore 0x19bebbe0c -[UIResponder(UIResponderInputViewAdditions) reloadInputViews] + 132
30 UIKitCore 0x19beb7168 -[UIResponder becomeFirstResponder] + 780
31 UIKitCore 0x19c3abf34 -[UIView(Hierarchy) becomeFirstResponder] + 176
32 UIKitCore 0x19c1a4854 -[UITextField becomeFirstResponder] + 204
33 MyApp 0x1008f54a8 -[LoginPhoneNumberInput becomeFirstResponder] + 125 (LoginPhoneNumberInput.m:125)
34 MyApp 0x1008f5a90 -[LoginViewController viewDidAppear:] + 71 (LoginViewController.m:71)
35 UIKitCore 0x19b75d3e4 -[UIViewController _setViewAppearState:isAnimating:] + 892
36 UIKitCore 0x19b75ddc0 -[UIViewController __viewDidAppear:] + 172
37 UIKitCore 0x19b68bca4 -[UINavigationController viewDidAppear:] + 192
38 UIKitCore 0x19b75d3e4 -[UIViewController _setViewAppearState:isAnimating:] + 892
39 UIKitCore 0x19b75ddc0 -[UIViewController __viewDidAppear:] + 172
40 UIKitCore 0x19b75e100 -[UIViewController _endAppearanceTransition:] + 252
41 UIKitCore 0x19b6397d8 __48-[UIPresentationController transitionDidFinish:]_block_invoke + 140
42 UIKitCore 0x19c35dc98 -[_UIAfterCACommitBlock run] + 72
43 UIKitCore 0x19be906c4 _runAfterCACommitDeferredBlocks + 300
44 UIKitCore 0x19be7f03c _cleanUpAfterCAFlushAndRunDeferredBlocks + 204
45 UIKitCore 0x19beb2f10 _afterCACommitHandler + 80
46 CoreFoundation 0x19940b5e0 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
47 CoreFoundation 0x199405704 __CFRunLoopDoObservers + 572
48 CoreFoundation 0x199405cb0 __CFRunLoopRun + 1052
49 CoreFoundation 0x199405360 CFRunLoopRunSpecific + 600
50 GraphicsServices 0x1b0a43734 GSEventRunModal + 164
51 UIKitCore 0x19be80584 -[UIApplication _run] + 1072
52 UIKitCore 0x19be85df4 UIApplicationMain + 168
53 MyApp 0x10052bdd8 main + 22 (main.m:22)
54 libdyld.dylib 0x1990c1cf8 start + 4