Xcode12.5
These crashes mostly happened after app launch for several seconds on iOS14
Thread 0 Crashed:
0 libobjc.A.dylib 0x00000001a2ab7978 objc_msgSend + 24
1 UIKitCore 0x000000019113bea4 -[UIKeyboardImpl unmarkText:] + 200
2 UIKitCore 0x0000000191141eec __59-[UIKeyboardImpl handleAcceptedCandidate:executionContext:]_block_invoke_2 + 432
3 UIKitCore 0x0000000191174478 -[UIKeyboardTaskEntry execute:] + 184
4 UIKitCore 0x0000000191172f6c -[UIKeyboardTaskQueue continueExecutionOnMainThread] + 320
5 UIKitCore 0x00000001911738d0 -[UIKeyboardTaskQueue waitUntilTaskIsFinished:] + 168
6 UIKitCore 0x00000001911739e4 -[UIKeyboardTaskQueue performSingleTask:] + 152
7 UIKitCore 0x000000019114e9c8 -[UIKeyboardImpl acceptCurrentCandidateForInput:] + 296
8 UIKitCore 0x0000000190fa3a44 -[UIKeyboardCandidateController candidateView:didAcceptCandidate:atIndexPath:inGridType:generateFeedback:] + 176
9 UIKitCore 0x0000000190fa396c -[UIKeyboardCandidateController candidateView:didAcceptCandidate:atIndexPath:inGridType:] + 96
10 TextInputUI 0x0000000196979c2c -[TUICandidateView candidateGrid:didAcceptCandidate:atIndexPath:] + 204
11 TextInputUI 0x0000000196992a58 -[TUICandidateGrid collectionView:didSelectItemAtIndexPath:] + 180
12 UIKitCore 0x0000000190a96104 -[UICollectionView _selectItemAtIndexPath:animated:scrollPosition:notifyDelegate:deselectPrevious:performCustomSelectionAction:] + 896
13 UIKitCore 0x0000000190abfe7c -[UICollectionView touchesEnded:withEvent:] + 572
14 UIKitCore 0x0000000191392200 forwardTouchMethod + 340
15 UIKitCore 0x00000001913922fc -[UIResponder touchesEnded:withEvent:] + 60
16 UIKitCore 0x0000000191392200 forwardTouchMethod + 340
17 UIKitCore 0x00000001913922fc -[UIResponder touchesEnded:withEvent:] + 60
18 UIKitCore 0x0000000191392200 forwardTouchMethod + 340
19 UIKitCore 0x00000001913922fc -[UIResponder touchesEnded:withEvent:] + 60
20 UIKitCore 0x00000001913a0c04 -[UIWindow _sendTouchesForEvent:] + 984
21 UIKitCore 0x00000001913a256c -[UIWindow sendEvent:] + 3972
22 UIKitCore 0x000000019137c190 -[UIApplication sendEvent:] + 708
23 UIKitCore 0x0000000191403560 __dispatchPreprocessedEventFromEventQueue + 7356
24 UIKitCore 0x00000001914064b8 __processEventQueue + 6456
25 UIKitCore 0x00000001913fda3c __eventFetcherSourceCallback + 156
26 CoreFoundation 0x000000018e9bf81c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
27 CoreFoundation 0x000000018e9bf718 __CFRunLoopDoSource0 + 204
28 CoreFoundation 0x000000018e9bea28 __CFRunLoopDoSources0 + 264
29 CoreFoundation 0x000000018e9b8d20 __CFRunLoopRun + 820
30 CoreFoundation 0x000000018e9b84bc CFRunLoopRunSpecific + 596
31 GraphicsServices 0x00000001a543d820 GSEventRunModal + 160
32 UIKitCore 0x000000019135c734 -[UIApplication _run] + 1068
33 UIKitCore 0x0000000191361e10 UIApplicationMain + 164
34 sohuhy 0x0000000103892b88 main (main.m:14)
35 libdyld.dylib 0x000000018e67fe60 start + 0
My question is How to location this crash call stack in App Source Code?
Post
Replies
Boosts
Views
Activity
Xcode12.5
These crashes mostly happened after app launch for several seconds on iOS14
Exception Type: SIGABRT
Exception Codes: #0 at 0x1b4a9d334
Crashed Thread: 37
Thread 37 Crashed:
0 libsystem_kernel.dylib 0x00000001b4a9d334 __pthread_kill + 8
1 libsystem_c.dylib 0x000000018fd34b90 abort + 100
2 libsystem_malloc.dylib 0x0000000195fb64c8 malloc_vreport + 556
3 libsystem_malloc.dylib 0x0000000195fb676c malloc_zone_error + 100
4 libsystem_malloc.dylib 0x0000000195fa6f98 nanov2_allocate_from_block + 568
5 libsystem_malloc.dylib 0x0000000195fa6024 nanov2_allocate + 124
6 libsystem_malloc.dylib 0x0000000195fa5f40 nanov2_malloc + 60
7 libsystem_malloc.dylib 0x0000000195faa9a0 _malloc_zone_malloc + 148
8 libxpc.dylib 0x00000001d2523478 _xpc_malloc + 20
9 libxpc.dylib 0x00000001d2514e50 _xpc_dictionary_insert + 388
10 libxpc.dylib 0x00000001d25155c4 xpc_dictionary_set_uint64 + 52
11 libnetwork.dylib 0x00000001879de430 nw_path_copy_dictionary_for_agent_with_generation + 524
12 libnetwork.dylib 0x00000001879da048 nw_path_snapshot_path + 432
13 libnetwork.dylib 0x00000001879d9614 nw_path_evaluator_evaluate + 3516
14 libnetwork.dylib 0x00000001879d8058 nw_path_create_evaluator_for_endpoint + 104
15 libnetwork.dylib 0x00000001876ec654 nw_association_activate + 120
16 libnetwork.dylib 0x00000001876eb468 nw_association_register + 256
17 libnetwork.dylib 0x000000018753fd20 nw_endpoint_handler_initialize_association + 248
18 libnetwork.dylib 0x000000018754c0ec nw_endpoint_handler_start + 1116
19 libnetwork.dylib 0x0000000187768f2c nw_endpoint_fallback_start_fallback_child + 2864
20 libdispatch.dylib 0x000000018657381c _dispatch_client_callout + 16
21 libdispatch.dylib 0x0000000186576cf4 _dispatch_continuation_pop + 444
22 libdispatch.dylib 0x00000001865894b8 _dispatch_source_invoke + 1280
23 libdispatch.dylib 0x000000018657cee8 _dispatch_workloop_invoke + 1676
24 libdispatch.dylib 0x00000001865864bc _dispatch_workloop_worker_thread + 760
25 libsystem_pthread.dylib 0x00000001d24ea7a4 _pthread_wqthread + 272
26 libsystem_pthread.dylib 0x00000001d24f174c start_wqthread + 4
Thread 0:
0 libsystem_kernel.dylib 0x00000001b4a784fc mach_msg_trap + 8
1 CoreFoundation 0x00000001868ffeb0 __CFRunLoopServiceMachPort + 368
2 CoreFoundation 0x00000001868f9d50 __CFRunLoopRun + 1208
3 CoreFoundation 0x00000001868f9360 CFRunLoopRunSpecific + 596
4 GraphicsServices 0x000000019df37734 GSEventRunModal + 160
5 UIKitCore 0x0000000189374584 -[UIApplication _run] + 1068
6 UIKitCore 0x0000000189379df4 UIApplicationMain + 164
7 sohuhy 0x0000000101358410 main (main.m:14)
8 libdyld.dylib 0x00000001865b5cf8 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x00000001b4a9e0a4 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001d24f174c start_wqthread + 4
Thread 2:
0 libsystem_kernel.dylib 0x00000001b4a9e0a4 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001d24f174c start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x00000001b4a9e0a4 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001d24f174c start_wqthread + 4
Thread 4:
0 libsystem_kernel.dylib 0x00000001b4a9e0a4 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001d24f174c start_wqthread + 4
Thread 5:
0 libsystem_kernel.dylib 0x00000001b4a784fc mach_msg_trap + 8
1 CoreFoundation 0x00000001868ffeb0 __CFRunLoopServiceMachPort + 368
2 CoreFoundation 0x00000001868f9d50 __CFRunLoopRun + 1208
3 CoreFoundation 0x00000001868f9360 CFRunLoopRunSpecific + 596
4 Foundation 0x0000000187be6fdc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 228
5 Foundation 0x0000000187be6ea8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 88
6 UIKitCore 0x000000018942912c -[UIEventFetcher threadMain] + 512
7 Foundation 0x0000000187d5832c __NSThread__start__ + 860
8 libsystem_pthread.dylib 0x00000001d24e8bfc _pthread_start + 316
9 libsystem_pthread.dylib 0x00000001d24f1758 thread_start + 4
thank you for anyone to provide some advice for digging into this problem!