0%

iOS 15 Crash Log解析

iOS 15以上Crash Log解析

iOS 15以前崩溃日志使用symbolicatecrash去解析,升级iOS 15以后,崩溃日志的组织格式有变化,变成JSON格式,需要使用以下的命令行解析崩溃日志:

1
python3 /Applications/Xcode.app/Contents/SharedFrameworks/CoreSymbolicationDT.framework/Versions/A/Resources/CrashSymbolicator.py -d ./xxSDK.framework.dSYM -o ./1.crash -p ./0.ips

解析前的崩溃日志(部分删减):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: 8ECE464B-8E3E-422E-AFD4-B1B8B2E431B6
CrashReporter Key: eff5650d2e2bf936e1812e4b2d38a5ed26bda190
Hardware Model: iPhone10,3
Process: bililive [12926]
Path: /private/var/containers/Bundle/Application/6E82AD84-A575-4423-822E-176FB3BBFEF6/bililive.app/bililive
Identifier: com.bilibili.live.broadcast
Version: 5.53.0 (5520010)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.bilibili.live.broadcast [493]

Date/Time: 2022-09-23 14:58:08.5849 +0800
Launch Time: 2022-09-23 14:43:37.3104 +0800
OS Version: iPhone OS 15.6 (19G71)
Release Type: User
Baseband Version: 7.61.00
Report Version: 104

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 81

Application Specific Information:
abort() called


Last Exception Backtrace:
0 CoreFoundation 0x180d5fd1c __exceptionPreprocess + 216
1 libobjc.A.dylib 0x19857fee4 objc_exception_throw + 56
2 Foundation 0x18245bbbc NSAllocateMemoryPages + 196
3 Foundation 0x182409a24 -[_NSPlaceholderData initWithBytes:length:copy:deallocator:] + 148
4 UIKitCore 0x183321738 _UIImageRefFromData + 232
5 UIKitCore 0x183322478 -[UIImage _initWithData:preserveScale:cache:scale:] + 64
6 UIKitCore 0x1833997a8 +[UIImage imageWithData:] + 56
7 xxSDK 0x10c7ef920 0x10c730000 + 784672
8 xxSDK 0x10c7e44e8 0x10c730000 + 738536
9 xxSDK 0x10c7f7358 0x10c730000 + 815960
10 xxSDK 0x10c7f7310 0x10c730000 + 815888
11 xxSDK 0x10c7f14b8 0x10c730000 + 791736
12 xxSDK 0x10c7f87e4 0x10c730000 + 821220
13 xxSDK 0x10c7ec8b4 0x10c730000 + 772276
14 xxSDK 0x10c7ec1ec 0x10c730000 + 770540
15 xxSDK 0x10c7eb95c 0x10c730000 + 768348
16 libdispatch.dylib 0x180a20094 _dispatch_client_callout + 16
17 libdispatch.dylib 0x1809f7ab8 _dispatch_continuation_pop$VARIANT$armv81 + 432
18 libdispatch.dylib 0x180a0916c _dispatch_source_invoke$VARIANT$armv81 + 1560
19 libdispatch.dylib 0x1809fb380 _dispatch_lane_serial_drain$VARIANT$armv81 + 308
20 libdispatch.dylib 0x1809fbf44 _dispatch_lane_invoke$VARIANT$armv81 + 388
21 libdispatch.dylib 0x180a058e0 _dispatch_workloop_worker_thread + 608
22 libsystem_pthread.dylib 0x1dc014e10 _pthread_wqthread + 284
23 libsystem_pthread.dylib 0x1dc01493c start_wqthread + 8

Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x1bb5abaac mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1bb5ac07c mach_msg + 72
2 CoreFoundation 0x180cd3d88 __CFRunLoopServiceMachPort + 368
3 CoreFoundation 0x180cd8090 __CFRunLoopRun + 1160
4 CoreFoundation 0x180ceb250 CFRunLoopRunSpecific + 572
5 GraphicsServices 0x1a1826988 GSEventRunModal + 160
6 UIKitCore 0x1834eba94 -[UIApplication _run] + 1080
7 UIKitCore 0x183284fd4 UIApplicationMain + 336
8 ??? 0x1072735d8 main + 180
9 dyld 0x10ba9c4d0 start + 444

Thread 1 name: Dispatch queue: com.apple.root.default-qos
Thread 1:
0 libsystem_kernel.dylib 0x1bb5aee30 poll + 8
1 ??? 0x108095540 pollset_work(grpc_pollset*, grpc_pollset_worker**, long long) + 1016
2 ??? 0x1080c5274 cq_next(grpc_completion_queue*, gpr_timespec, void*) + 476
3 ??? 0x107fe6334 __27-[GRPCCompletionQueue init]_block_invoke_2 + 104
4 libdispatch.dylib 0x180a1f094 _dispatch_call_block_and_release + 24
5 libdispatch.dylib 0x180a20094 _dispatch_client_callout + 16
6 libdispatch.dylib 0x180a0474c _dispatch_root_queue_drain + 612
7 libdispatch.dylib 0x180a04dec _dispatch_worker_thread2 + 160
8 libsystem_pthread.dylib 0x1dc014dd4 _pthread_wqthread + 224
9 libsystem_pthread.dylib 0x1dc01493c start_wqthread + 8

Thread 2 name: com.apple.uikit.eventfetch-thread
Thread 2:
0 libsystem_kernel.dylib 0x1bb5abaac mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1bb5ac07c mach_msg + 72
2 CoreFoundation 0x180cd3d88 __CFRunLoopServiceMachPort + 368
3 CoreFoundation 0x180cd8090 __CFRunLoopRun + 1160
4 CoreFoundation 0x180ceb250 CFRunLoopRunSpecific + 572
5 Foundation 0x1823f8eec -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232
6 Foundation 0x182438000 -[NSRunLoop(NSRunLoop) runUntilDate:] + 88
7 UIKitCore 0x18346af00 -[UIEventFetcher threadMain] + 512
8 Foundation 0x182445bfc __NSThread__start__ + 792
9 libsystem_pthread.dylib 0x1dc016348 _pthread_start + 116
10 libsystem_pthread.dylib 0x1dc014948 thread_start + 8

Thread 80 name: Dispatch queue: com.bilibili.live.imageQueue.ai.2d
Thread 80:
0 libsystem_platform.dylib 0x1dc007884 _platform_memmove + 100
1 ??? 0x107000268 MNN::_blit(MNN::Tensor::InsideDescribe::Region const&, int, unsigned char const*, unsigned char*, void (*)(unsigned char*, unsigned char const*, int, int, int)) + 700
2 ??? 0x1077b878c -[BBLiveBCVirtualCvAnimate detect:pose:] + 100
3 ??? 0x1077bd6d8 -[BBLiveBCVirtualLiveAIManager imageDataWithFaceAnchor:] + 5456
4 ??? 0x1077bc0d0 __46-[BBLiveBCVirtualLiveAIManager _readARSession]_block_invoke + 44
5 libdispatch.dylib 0x180a1f094 _dispatch_call_block_and_release + 24
6 libdispatch.dylib 0x180a20094 _dispatch_client_callout + 16
7 libdispatch.dylib 0x1809fb4a4 _dispatch_lane_serial_drain$VARIANT$armv81 + 600
8 libdispatch.dylib 0x1809fbf44 _dispatch_lane_invoke$VARIANT$armv81 + 388
9 libdispatch.dylib 0x180a058e0 _dispatch_workloop_worker_thread + 608
10 libsystem_pthread.dylib 0x1dc014e10 _pthread_wqthread + 284
11 libsystem_pthread.dylib 0x1dc01493c start_wqthread + 8

Thread 81 name: Dispatch queue: com.bilibili.live.session.render
Thread 81 Crashed:
0 libsystem_kernel.dylib 0x1bb5b1bbc __pthread_kill + 8
1 libsystem_pthread.dylib 0x1dc020854 pthread_kill + 208
2 libsystem_c.dylib 0x18b4496ac abort + 124
3 libc++abi.dylib 0x198677dd8 abort_message + 128
4 libc++abi.dylib 0x19866855c demangling_terminate_handler() + 300
5 libobjc.A.dylib 0x1985858f8 _objc_terminate() + 124
6 ??? 0x106033cd8 BLYCPPExceptionTerminate() + 2044
7 libc++abi.dylib 0x198677274 std::__terminate(void (*)()) + 16
8 libc++abi.dylib 0x19867721c std::terminate() + 60
9 libdispatch.dylib 0x180a200a8 _dispatch_client_callout + 36
10 libdispatch.dylib 0x1809f7ab8 _dispatch_continuation_pop$VARIANT$armv81 + 432
11 libdispatch.dylib 0x180a0916c _dispatch_source_invoke$VARIANT$armv81 + 1560
12 libdispatch.dylib 0x1809fb380 _dispatch_lane_serial_drain$VARIANT$armv81 + 308
13 libdispatch.dylib 0x1809fbf44 _dispatch_lane_invoke$VARIANT$armv81 + 388
14 libdispatch.dylib 0x180a058e0 _dispatch_workloop_worker_thread + 608
15 libsystem_pthread.dylib 0x1dc014e10 _pthread_wqthread + 284
16 libsystem_pthread.dylib 0x1dc01493c start_wqthread + 8

Thread 82 name: AURemoteIO::IOThread
Thread 82:
0 ae_tob_channelstrip 0x10d25c338 mammon::algorithm::RNNoise48k::ComputeGRULayer(mammon::GRULayer const*, float*, float*) + 1400
1 ae_tob_channelstrip 0x10d25b85c mammon::algorithm::RNNoise48k::computeRNN(float*) + 620
2 ae_tob_channelstrip 0x10d25b85c mammon::algorithm::RNNoise48k::computeRNN(float*) + 620
3 ae_tob_channelstrip 0x10d25b534 mammon::algorithm::RNNoise48k::compute(float*, float*, float) + 188
4 ae_tob_channelstrip 0x10d2571ac mammon::RNNoise48k::Impl::blockProcess(std::__1::vector<mammon::Bus, std::__1::allocator<mammon::Bus> >&) + 444
5 ae_tob_channelstrip 0x10d25564c mammon::RingBufferWrapper<mammon::RNNoise48k::Impl>::processWithRingbuffer(std::__1::vector<mammon::Bus, std::__1::allocator<mammon::Bus> >&) + 856
6 ae_tob_channelstrip 0x10d13a0ac sami::bl::EffectProcessorModel::process(sami::ProcessData&) + 88
7 ae_tob_channelstrip 0x10d134ebc sami::bl::AudioChannelStripProcessorImpl::process(sami::ProcessData&) + 752
8 ??? 0x1077957ac -[BBLiveBCIAudioChannelStrip processStereoAudioBuffer:dataInL:dataInR:samples:bufferLength:] + 764
9 ??? 0x107795448 -[BBLiveBCIAudioChannelStrip processInterleavedAudioBuffer:channels:samples:bufferLength:] + 312
10 ??? 0x107794318 -[BBLiveBCChannelStripAdapter process:numSamples:] + 68
11 ??? 0x107439d80 -[BBLiveBCCommonStreamBiz streamContainer:audioDataInNumberFrames:intIOData:] + 280
12 ??? 0x1077761fc -[BBLiveBCBasePushStreamContainer audioCapture:didOutputIntBuffer:numberOfFrames:timeStamp:] + 184
13 xxSDK 0x10c7d6450 0x10c730000 + 681040
14 xxSDK 0x10c7d7efc 0x10c730000 + 687868
15 libEmbeddedSystemAUs.dylib 0x1bfc041ec AURemoteIO::PerformIO(unsigned int, unsigned int, unsigned int, AudioTimeStamp const&, AudioTimeStamp const&, AudioBufferList const*, AudioBufferList*, int&) + 1100
16 libEmbeddedSystemAUs.dylib 0x1bfc0c6c4 _XPerformIO + 336
17 libAudioToolboxUtility.dylib 0x198ea36f0 mshMIGPerform + 260
18 libAudioToolboxUtility.dylib 0x198ea2e44 MSHMIGDispatchMessage + 36
19 libEmbeddedSystemAUs.dylib 0x1bfc03bb0 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, AURemoteIO::IOThread::IOThread(AURemoteIO&, caulk::thread::attributes const&, caulk::mach::os_workgroup const&)::'lambda'(), std::__1::tuple<> > >(void*) + 556
20 libsystem_pthread.dylib 0x1dc016348 _pthread_start + 116
21 libsystem_pthread.dylib 0x1dc014948 thread_start + 8

解析后的崩溃日志(有删减):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
{"app_name":"bililive","timestamp":"2022-09-23 14:58:14.00 +0800","app_version":"5.53.0","slice_uuid":"8ca14ef0-07db-338e-aa61-5b1ee6987aff","build_version":"5520010","platform":"2","bundleID":"com.bilibili.live.broadcast","share_with_app_devs":"0","is_first_party":"0","bug_type":"309","os_version":"iPhone OS 15.6 (19G71)","incident_id":"8ECE464B-8E3E-422E-AFD4-B1B8B2E431B6","name":"bililive"}
{
"uptime": 87000,
"procLaunch": "2022-09-23 14:43:37.3104 +0800",
"procRole": "Foreground",
"version": 2,
"userID": 501,
"deployVersion": 210,
"modelCode": "iPhone10,3",
"procStartAbsTime": 2076968516925,
"coalitionID": 493,
"osVersion": {
"isEmbedded": true,
"train": "iPhone OS 15.6",
"releaseType": "User",
"build": "19G71"
},
"captureTime": "2022-09-23 14:58:08.5849 +0800",
"incident": "8ECE464B-8E3E-422E-AFD4-B1B8B2E431B6",
"bug_type": "309",
"pid": 12926,
"procExitAbsTime": 2097867677644,
"cpuType": "ARM-64",
"procName": "bililive",
"procPath": "/private/var/containers/Bundle/Application/6E82AD84-A575-4423-822E-176FB3BBFEF6/bililive.app/bililive",
"bundleInfo": {
"CFBundleShortVersionString": "5.53.0",
"CFBundleVersion": "5520010",
"CFBundleIdentifier": "com.bilibili.live.broadcast"
},
"storeInfo": {
"deviceIdentifierForVendor": "0A423654-7A61-4479-B9EE-4C98F01B7F4D",
"thirdParty": true
},
"parentProc": "launchd",
"parentPid": 1,
"coalitionName": "com.bilibili.live.broadcast",
"crashReporterKey": "eff5650d2e2bf936e1812e4b2d38a5ed26bda190",
"basebandVersion": "7.61.00",
"isCorpse": 1,
"exception": {
"codes": "0x0000000000000000, 0x0000000000000000",
"rawCodes": [
0,
0
],
"type": "EXC_CRASH",
"signal": "SIGABRT"
},
"asi": {
"libsystem_c.dylib": [
"abort() called"
]
},
"lastExceptionBacktrace": [
{
"imageOffset": 601372,
"symbol": "__exceptionPreprocess",
"symbolLocation": 216,
"imageIndex": 1
},
{
"imageOffset": 85732,
"symbol": "objc_exception_throw",
"symbolLocation": 56,
"imageIndex": 22
},
{
"imageOffset": 502716,
"symbol": "NSAllocateMemoryPages",
"symbolLocation": 196,
"imageIndex": 8
},
{
"imageOffset": 166436,
"symbol": "-[_NSPlaceholderData initWithBytes:length:copy:deallocator:]",
"symbolLocation": 148,
"imageIndex": 8
},
{
"imageOffset": 3258168,
"symbol": "_UIImageRefFromData",
"symbolLocation": 232,
"imageIndex": 3
},
{
"imageOffset": 3261560,
"symbol": "-[UIImage _initWithData:preserveScale:cache:scale:]",
"symbolLocation": 64,
"imageIndex": 3
},
{
"imageOffset": 3749800,
"symbol": "+[UIImage imageWithData:]",
"symbolLocation": 56,
"imageIndex": 3
},
{
"imageOffset": 784672,
"imageIndex": 17,
"symbol": "-[xxSDKEAGLRenderProvider textureWithCGImage:]",
"symbolLocation": 95
},
{
"imageOffset": 738536,
"imageIndex": 17,
"symbol": "-[xxSDKImageLayer draw]",
"symbolLocation": 187
},
{
"imageOffset": 815960,
"imageIndex": 17,
"symbol": "-[xxSDKLayer __visitAtMilliseconds:]",
"symbolLocation": 463
},
{
"imageOffset": 815888,
"imageIndex": 17,
"symbol": "-[xxSDKLayer __visitAtMilliseconds:]",
"symbolLocation": 391
},
{
"imageOffset": 791736,
"imageIndex": 17,
"symbol": "-[xxSDKEAGLRenderer(Context) __drawInRect:necessary:]",
"symbolLocation": 163
},
{
"imageOffset": 821220,
"imageIndex": 17,
"symbol": "-[xxSDKSceneRenderer __drawInRect:necessary:]",
"symbolLocation": 107
},
{
"imageOffset": 772276,
"imageIndex": 17,
"symbol": "-[xxSDKEAGLCanvas(Context) _drawInRect:necessary:]",
"symbolLocation": 203
},
{
"imageOffset": 770540,
"imageIndex": 17,
"symbol": "-[xxSDKEAGLCanvas(Context) _drawIfNecessary:]",
"symbolLocation": 135
},
{
"imageOffset": 768348,
"imageIndex": 17,
"symbol": "__34-[xxSDKEAGLCanvas(Lifecycle) _start]_block_invoke",
"symbolLocation": 35
},
{
"imageOffset": 409748,
"symbol": "_dispatch_client_callout",
"symbolLocation": 16,
"imageIndex": 6
},
{
"imageOffset": 244408,
"symbol": "_dispatch_continuation_pop$VARIANT$armv81",
"symbolLocation": 432,
"imageIndex": 6
},
{
"imageOffset": 315756,
"symbol": "_dispatch_source_invoke$VARIANT$armv81",
"symbolLocation": 1560,
"imageIndex": 6
},
{
"imageOffset": 258944,
"symbol": "_dispatch_lane_serial_drain$VARIANT$armv81",
"symbolLocation": 308,
"imageIndex": 6
},
{
"imageOffset": 261956,
"symbol": "_dispatch_lane_invoke$VARIANT$armv81",
"symbolLocation": 388,
"imageIndex": 6
},
{
"imageOffset": 301280,
"symbol": "_dispatch_workloop_worker_thread",
"symbolLocation": 608,
"imageIndex": 6
},
{
"imageOffset": 7696,
"symbol": "_pthread_wqthread",
"symbolLocation": 284,
"imageIndex": 7
},
{
"imageOffset": 6460,
"symbol": "start_wqthread",
"symbolLocation": 8,
"imageIndex": 7
}
],
"faultingThread": 81,
"threads": [
{
"id": 862161,
"queue": "com.apple.main-thread",
"frames": [
{
"imageOffset": 2732,
"symbol": "mach_msg_trap",
"symbolLocation": 8,
"imageIndex": 0
},
{
"imageOffset": 4220,
"symbol": "mach_msg",
"symbolLocation": 72,
"imageIndex": 0
},
{
"imageOffset": 28040,
"symbol": "__CFRunLoopServiceMachPort",
"symbolLocation": 368,
"imageIndex": 1
},
{
"imageOffset": 45200,
"symbol": "__CFRunLoopRun",
"symbolLocation": 1160,
"imageIndex": 1
},
{
"imageOffset": 123472,
"symbol": "CFRunLoopRunSpecific",
"symbolLocation": 572,
"imageIndex": 1
},
{
"imageOffset": 6536,
"symbol": "GSEventRunModal",
"symbolLocation": 160,
"imageIndex": 2
},
{
"imageOffset": 5134996,
"symbol": "-[UIApplication _run]",
"symbolLocation": 1080,
"imageIndex": 3
},
{
"imageOffset": 2617300,
"symbol": "UIApplicationMain",
"symbolLocation": 336,
"imageIndex": 3
},
{
"imageOffset": 4414977496,
"symbol": "main",
"symbolLocation": 180,
"imageIndex": 4
},
{
"imageOffset": 99536,
"symbol": "start",
"symbolLocation": 444,
"imageIndex": 5
}
]
},
{
"id": 862169,
"queue": "com.apple.root.default-qos",
"frames": [
{
"imageOffset": 15920,
"symbol": "poll",
"symbolLocation": 8,
"imageIndex": 0
},
{
"imageOffset": 4429796672,
"symbol": "pollset_work(grpc_pollset*, grpc_pollset_worker**, long long)",
"symbolLocation": 1016,
"imageIndex": 4
},
{
"imageOffset": 4429992564,
"symbol": "cq_next(grpc_completion_queue*, gpr_timespec, void*)",
"symbolLocation": 476,
"imageIndex": 4
},
{
"imageOffset": 4429079348,
"symbol": "__27-[GRPCCompletionQueue init]_block_invoke_2",
"symbolLocation": 104,
"imageIndex": 4
},
{
"imageOffset": 405652,
"symbol": "_dispatch_call_block_and_release",
"symbolLocation": 24,
"imageIndex": 6
},
{
"imageOffset": 409748,
"symbol": "_dispatch_client_callout",
"symbolLocation": 16,
"imageIndex": 6
},
{
"imageOffset": 296780,
"symbol": "_dispatch_root_queue_drain",
"symbolLocation": 612,
"imageIndex": 6
},
{
"imageOffset": 298476,
"symbol": "_dispatch_worker_thread2",
"symbolLocation": 160,
"imageIndex": 6
},
{
"imageOffset": 7636,
"symbol": "_pthread_wqthread",
"symbolLocation": 224,
"imageIndex": 7
},
{
"imageOffset": 6460,
"symbol": "start_wqthread",
"symbolLocation": 8,
"imageIndex": 7
}
]
},
{
"id": 867013,
"queue": "com.bilibili.live.imageQueue.ai.2d",
"frames": [
{
"imageOffset": 6276,
"symbol": "_platform_memmove",
"symbolLocation": 100,
"imageIndex": 15
},
{
"imageOffset": 4412408424,
"symbol": "MNN::_blit(MNN::Tensor::InsideDescribe::Region const&, int, unsigned char const*, unsigned char*, void (*)(unsigned char*, unsigned char const*, int, int, int))",
"symbolLocation": 700,
"imageIndex": 4
},
{
"imageOffset": 4420503436,
"symbol": "-[BBLiveBCVirtualCvAnimate detect:pose:]",
"symbolLocation": 100,
"imageIndex": 4
},
{
"imageOffset": 4420523736,
"symbol": "-[BBLiveBCVirtualLiveAIManager imageDataWithFaceAnchor:]",
"symbolLocation": 5456,
"imageIndex": 4
},
{
"imageOffset": 4420518096,
"symbol": "__46-[BBLiveBCVirtualLiveAIManager _readARSession]_block_invoke",
"symbolLocation": 44,
"imageIndex": 4
},
{
"imageOffset": 405652,
"symbol": "_dispatch_call_block_and_release",
"symbolLocation": 24,
"imageIndex": 6
},
{
"imageOffset": 409748,
"symbol": "_dispatch_client_callout",
"symbolLocation": 16,
"imageIndex": 6
},
{
"imageOffset": 259236,
"symbol": "_dispatch_lane_serial_drain$VARIANT$armv81",
"symbolLocation": 600,
"imageIndex": 6
},
{
"imageOffset": 261956,
"symbol": "_dispatch_lane_invoke$VARIANT$armv81",
"symbolLocation": 388,
"imageIndex": 6
},
{
"imageOffset": 301280,
"symbol": "_dispatch_workloop_worker_thread",
"symbolLocation": 608,
"imageIndex": 6
},
{
"imageOffset": 7696,
"symbol": "_pthread_wqthread",
"symbolLocation": 284,
"imageIndex": 7
},
{
"imageOffset": 6460,
"symbol": "start_wqthread",
"symbolLocation": 8,
"imageIndex": 7
}
]
},
{
"triggered": true,
"id": 867020,
"threadState": {
"x": [
{
"value": 0
},
{
"value": 0
},
{
"value": 0
},
{
"value": 0
},
{
"value": 6851899041
},
{
"value": 11349401200
},
{
"value": 110
},
{
"value": 0
},
{
"value": 11349405696
},
{
"value": 2127063980205108692
},
{
"value": 512
},
{
"value": 11
},
{
"value": 0
},
{
"value": 1761605632
},
{
"value": 16
},
{
"value": 0
},
{
"value": 328
},
{
"value": 2
},
{
"value": 0
},
{
"value": 6
},
{
"value": 96699
},
{
"value": 11349405920
},
{
"value": 5254550832
},
{
"value": 272
},
{
"value": 0
},
{
"value": 11349405920
},
{
"value": 65544
},
{
"value": 10789536384
},
{
"value": 8426050240,
"symbolLocation": 0,
"symbol": "_dispatch_mgr_q"
}
],
"flavor": "ARM_THREAD_STATE64",
"lr": {
"value": 7986088020
},
"cpsr": {
"value": 1073741824
},
"fp": {
"value": 11349401056
},
"sp": {
"value": 11349401024
},
"esr": {
"value": 1442840704,
"description": " Address size fault"
},
"pc": {
"value": 7438277564,
"matchesCrashFrame": 1
},
"far": {
"value": 18446743979222697204
}
},
"queue": "com.bilibili.live.session.render",
"frames": [
{
"imageOffset": 27580,
"symbol": "__pthread_kill",
"symbolLocation": 8,
"imageIndex": 0
},
{
"imageOffset": 55380,
"symbol": "pthread_kill",
"symbolLocation": 208,
"imageIndex": 7
},
{
"imageOffset": 128684,
"symbol": "abort",
"symbolLocation": 124,
"imageIndex": 20
},
{
"imageOffset": 69080,
"symbol": "abort_message",
"symbolLocation": 128,
"imageIndex": 21
},
{
"imageOffset": 5468,
"symbol": "demangling_terminate_handler()",
"symbolLocation": 300,
"imageIndex": 21
},
{
"imageOffset": 108792,
"symbol": "_objc_terminate()",
"symbolLocation": 124,
"imageIndex": 22
},
{
"imageOffset": 4395842776,
"symbol": "BLYCPPExceptionTerminate()",
"symbolLocation": 2044,
"imageIndex": 4
},
{
"imageOffset": 66164,
"symbol": "std::__terminate(void (*)())",
"symbolLocation": 16,
"imageIndex": 21
},
{
"imageOffset": 66076,
"symbol": "std::terminate()",
"symbolLocation": 60,
"imageIndex": 21
},
{
"imageOffset": 409768,
"symbol": "_dispatch_client_callout",
"symbolLocation": 36,
"imageIndex": 6
},
{
"imageOffset": 244408,
"symbol": "_dispatch_continuation_pop$VARIANT$armv81",
"symbolLocation": 432,
"imageIndex": 6
},
{
"imageOffset": 315756,
"symbol": "_dispatch_source_invoke$VARIANT$armv81",
"symbolLocation": 1560,
"imageIndex": 6
},
{
"imageOffset": 258944,
"symbol": "_dispatch_lane_serial_drain$VARIANT$armv81",
"symbolLocation": 308,
"imageIndex": 6
},
{
"imageOffset": 261956,
"symbol": "_dispatch_lane_invoke$VARIANT$armv81",
"symbolLocation": 388,
"imageIndex": 6
},
{
"imageOffset": 301280,
"symbol": "_dispatch_workloop_worker_thread",
"symbolLocation": 608,
"imageIndex": 6
},
{
"imageOffset": 7696,
"symbol": "_pthread_wqthread",
"symbolLocation": 284,
"imageIndex": 7
},
{
"imageOffset": 6460,
"symbol": "start_wqthread",
"symbolLocation": 8,
"imageIndex": 7
}
]
},
{
"id": 867068,
"name": "AURemoteIO::IOThread",
"frames": [
{
"imageOffset": 1246008,
"symbol": "mammon::algorithm::RNNoise48k::ComputeGRULayer(mammon::GRULayer const*, float*, float*)",
"symbolLocation": 1400,
"imageIndex": 19
},
{
"imageOffset": 1243228,
"symbol": "mammon::algorithm::RNNoise48k::computeRNN(float*)",
"symbolLocation": 620,
"imageIndex": 19
},
{
"imageOffset": 1243228,
"symbol": "mammon::algorithm::RNNoise48k::computeRNN(float*)",
"symbolLocation": 620,
"imageIndex": 19
},
{
"imageOffset": 1242420,
"symbol": "mammon::algorithm::RNNoise48k::compute(float*, float*, float)",
"symbolLocation": 188,
"imageIndex": 19
},
{
"imageOffset": 1225132,
"symbol": "mammon::RNNoise48k::Impl::blockProcess(std::__1::vector<mammon::Bus, std::__1::allocator<mammon::Bus> >&)",
"symbolLocation": 444,
"imageIndex": 19
},
{
"imageOffset": 1218124,
"symbol": "mammon::RingBufferWrapper<mammon::RNNoise48k::Impl>::processWithRingbuffer(std::__1::vector<mammon::Bus, std::__1::allocator<mammon::Bus> >&)",
"symbolLocation": 856,
"imageIndex": 19
},
{
"imageOffset": 57516,
"symbol": "sami::bl::EffectProcessorModel::process(sami::ProcessData&)",
"symbolLocation": 88,
"imageIndex": 19
},
{
"imageOffset": 36540,
"symbol": "sami::bl::AudioChannelStripProcessorImpl::process(sami::ProcessData&)",
"symbolLocation": 752,
"imageIndex": 19
},
{
"imageOffset": 4420360108,
"symbol": "-[BBLiveBCIAudioChannelStrip processStereoAudioBuffer:dataInL:dataInR:samples:bufferLength:]",
"symbolLocation": 764,
"imageIndex": 4
},
{
"imageOffset": 4420359240,
"symbol": "-[BBLiveBCIAudioChannelStrip processInterleavedAudioBuffer:channels:samples:bufferLength:]",
"symbolLocation": 312,
"imageIndex": 4
},
{
"imageOffset": 4420354840,
"symbol": "-[BBLiveBCChannelStripAdapter process:numSamples:]",
"symbolLocation": 68,
"imageIndex": 4
},
{
"imageOffset": 4416839040,
"symbol": "-[BBLiveBCCommonStreamBiz streamContainer:audioDataInNumberFrames:intIOData:]",
"symbolLocation": 280,
"imageIndex": 4
},
{
"imageOffset": 4420231676,
"symbol": "-[BBLiveBCBasePushStreamContainer audioCapture:didOutputIntBuffer:numberOfFrames:timeStamp:]",
"symbolLocation": 184,
"imageIndex": 4
},
{
"imageOffset": 681040,
"imageIndex": 17,
"symbol": "-[xxSDKAudioCapture audioEngine:inNumberFrames:recordIntData:timeStamp:]",
"symbolLocation": 159
},
{
"imageOffset": 687868,
"imageIndex": 17,
"symbol": "captureCallback",
"symbolLocation": 295
},
{
"imageOffset": 12780,
"symbol": "AURemoteIO::PerformIO(unsigned int, unsigned int, unsigned int, AudioTimeStamp const&, AudioTimeStamp const&, AudioBufferList const*, AudioBufferList*, int&)",
"symbolLocation": 1100,
"imageIndex": 23
},
{
"imageOffset": 46788,
"symbol": "_XPerformIO",
"symbolLocation": 336,
"imageIndex": 23
},
{
"imageOffset": 9968,
"symbol": "mshMIGPerform",
"symbolLocation": 260,
"imageIndex": 24
},
{
"imageOffset": 7748,
"symbol": "MSHMIGDispatchMessage",
"symbolLocation": 36,
"imageIndex": 24
},
{
"imageOffset": 11184,
"symbol": "void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, AURemoteIO::IOThread::IOThread(AURemoteIO&, caulk::thread::attributes const&, caulk::mach::os_workgroup const&)::'lambda'(), std::__1::tuple<> > >(void*)",
"symbolLocation": 556,
"imageIndex": 23
},
{
"imageOffset": 13128,
"symbol": "_pthread_start",
"symbolLocation": 116,
"imageIndex": 7
},
{
"imageOffset": 6472,
"symbol": "thread_start",
"symbolLocation": 8,
"imageIndex": 7
}
]
}

SIGABRT类型的Crash可以找Last Exception Backtrace定位崩溃

由于这个崩溃类型是SIGABRT类型的崩溃,可以直接查找崩溃日志中的Last Exception Backtrace堆栈,比如本次的原始堆栈就是这样的:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Last Exception Backtrace:
0 CoreFoundation 0x180d5fd1c __exceptionPreprocess + 216
1 libobjc.A.dylib 0x19857fee4 objc_exception_throw + 56
2 Foundation 0x18245bbbc NSAllocateMemoryPages + 196
3 Foundation 0x182409a24 -[_NSPlaceholderData initWithBytes:length:copy:deallocator:] + 148
4 UIKitCore 0x183321738 _UIImageRefFromData + 232
5 UIKitCore 0x183322478 -[UIImage _initWithData:preserveScale:cache:scale:] + 64
6 UIKitCore 0x1833997a8 +[UIImage imageWithData:] + 56
7 xxSDK 0x10c7ef920 0x10c730000 + 784672
8 xxSDK 0x10c7e44e8 0x10c730000 + 738536
9 xxSDK 0x10c7f7358 0x10c730000 + 815960
10 xxSDK 0x10c7f7310 0x10c730000 + 815888
11 xxSDK 0x10c7f14b8 0x10c730000 + 791736
12 xxSDK 0x10c7f87e4 0x10c730000 + 821220
13 xxSDK 0x10c7ec8b4 0x10c730000 + 772276
14 xxSDK 0x10c7ec1ec 0x10c730000 + 770540
15 xxSDK 0x10c7eb95c 0x10c730000 + 768348
16 libdispatch.dylib 0x180a20094 _dispatch_client_callout + 16
17 libdispatch.dylib 0x1809f7ab8 _dispatch_continuation_pop$VARIANT$armv81 + 432
18 libdispatch.dylib 0x180a0916c _dispatch_source_invoke$VARIANT$armv81 + 1560
19 libdispatch.dylib 0x1809fb380 _dispatch_lane_serial_drain$VARIANT$armv81 + 308
20 libdispatch.dylib 0x1809fbf44 _dispatch_lane_invoke$VARIANT$armv81 + 388
21 libdispatch.dylib 0x180a058e0 _dispatch_workloop_worker_thread + 608
22 libsystem_pthread.dylib 0x1dc014e10 _pthread_wqthread + 284
23 libsystem_pthread.dylib 0x1dc01493c start_wqthread + 8

解析后的Last Exception Backtrace堆栈:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
"lastExceptionBacktrace": [
{
"imageOffset": 601372,
"symbol": "__exceptionPreprocess",
"symbolLocation": 216,
"imageIndex": 1
},
{
"imageOffset": 85732,
"symbol": "objc_exception_throw",
"symbolLocation": 56,
"imageIndex": 22
},
{
"imageOffset": 502716,
"symbol": "NSAllocateMemoryPages",
"symbolLocation": 196,
"imageIndex": 8
},
{
"imageOffset": 166436,
"symbol": "-[_NSPlaceholderData initWithBytes:length:copy:deallocator:]",
"symbolLocation": 148,
"imageIndex": 8
},
{
"imageOffset": 3258168,
"symbol": "_UIImageRefFromData",
"symbolLocation": 232,
"imageIndex": 3
},
{
"imageOffset": 3261560,
"symbol": "-[UIImage _initWithData:preserveScale:cache:scale:]",
"symbolLocation": 64,
"imageIndex": 3
},
{
"imageOffset": 3749800,
"symbol": "+[UIImage imageWithData:]",
"symbolLocation": 56,
"imageIndex": 3
},
{
"imageOffset": 784672,
"imageIndex": 17,
"symbol": "-[xxSDKEAGLRenderProvider textureWithCGImage:]",
"symbolLocation": 95
},
{
"imageOffset": 738536,
"imageIndex": 17,
"symbol": "-[xxSDKImageLayer draw]",
"symbolLocation": 187
},
{
"imageOffset": 815960,
"imageIndex": 17,
"symbol": "-[xxSDKLayer __visitAtMilliseconds:]",
"symbolLocation": 463
},
{
"imageOffset": 815888,
"imageIndex": 17,
"symbol": "-[xxSDKLayer __visitAtMilliseconds:]",
"symbolLocation": 391
},
{
"imageOffset": 791736,
"imageIndex": 17,
"symbol": "-[xxSDKEAGLRenderer(Context) __drawInRect:necessary:]",
"symbolLocation": 163
},
{
"imageOffset": 821220,
"imageIndex": 17,
"symbol": "-[xxSDKSceneRenderer __drawInRect:necessary:]",
"symbolLocation": 107
},
{
"imageOffset": 772276,
"imageIndex": 17,
"symbol": "-[xxSDKEAGLCanvas(Context) _drawInRect:necessary:]",
"symbolLocation": 203
},
{
"imageOffset": 770540,
"imageIndex": 17,
"symbol": "-[xxSDKEAGLCanvas(Context) _drawIfNecessary:]",
"symbolLocation": 135
},
{
"imageOffset": 768348,
"imageIndex": 17,
"symbol": "__34-[xxSDKEAGLCanvas(Lifecycle) _start]_block_invoke",
"symbolLocation": 35
},
{
"imageOffset": 409748,
"symbol": "_dispatch_client_callout",
"symbolLocation": 16,
"imageIndex": 6
},
{
"imageOffset": 244408,
"symbol": "_dispatch_continuation_pop$VARIANT$armv81",
"symbolLocation": 432,
"imageIndex": 6
},
{
"imageOffset": 315756,
"symbol": "_dispatch_source_invoke$VARIANT$armv81",
"symbolLocation": 1560,
"imageIndex": 6
},
{
"imageOffset": 258944,
"symbol": "_dispatch_lane_serial_drain$VARIANT$armv81",
"symbolLocation": 308,
"imageIndex": 6
},
{
"imageOffset": 261956,
"symbol": "_dispatch_lane_invoke$VARIANT$armv81",
"symbolLocation": 388,
"imageIndex": 6
},
{
"imageOffset": 301280,
"symbol": "_dispatch_workloop_worker_thread",
"symbolLocation": 608,
"imageIndex": 6
},
{
"imageOffset": 7696,
"symbol": "_pthread_wqthread",
"symbolLocation": 284,
"imageIndex": 7
},
{
"imageOffset": 6460,
"symbol": "start_wqthread",
"symbolLocation": 8,
"imageIndex": 7
}
]

Bugly dsym 文件命令行上传

由于本次崩溃线程是Thread 81,查找Thread 81堆栈,发现最终的堆栈是指向了BLYCPPExceptionTerminate(),这个是Bugly里面的函数,可见这个崩溃被Bugly拦截到了。后续可以直接去Bugly网站上看崩溃的堆栈,本次崩溃的堆栈最终和我们解析过后的Last Exception Backtrace堆栈。

这里附上Bugly上传dsym文件的命令:

1
java -jar buglyqq-upload-symbol.jar -appid xxx -appkey xxx -bundleid "com.xxx.xxx.xxx" -version 5520010 -platform IOS -inputSymbol /Users/tingyue/Downloads/buglyqq-upload-symbol-2/xxSDK.framework.dSYM

参考链接

iOS15之后苹果崩溃日志解析方法
EXC_CRASH (SIGABRT)
Bugly符号表工具下载