应用接入sdk后经常会出现闪退, sdk版本为3.9-3.170116, crash log如下, 请检查一下是否有bug

tengyp 2年前 922次点击 来自 iOS

Application received signal SIGSEGV
(null)
((
0 CoreFoundation 0x0000000181c2af6c + 160
1 libobjc.A.dylib 0x000000018e1341fc objc_exception_throw + 60
2 CoreFoundation 0x0000000181c2ae90 + 0
3 XXX 0x100cc6180 UmengSignalHandler + 128
4 libsystem_platform.dylib 0x000000018e89fb0c _sigtramp + 56
5 CFNetwork 0x000000018181ffd8 + 528
6 CFNetwork 0x000000018181ffd8 + 528
7 CFNetwork 0x00000001818206cc + 76
8 libdispatch.dylib 0x000000018e70bfd4 + 16
9 libdispatch.dylib 0x000000018e711aac + 352
10 CFNetwork 0x00000001817a77f4 + 108
11 XXX 0x10014ab84 -[_AFURLSessionTaskSwizzling af_resume] + 48
12 XXX 0x100995ec8 -[MWURLRequestManager httpRequestWithSession:Request:RetryingNumber:Success:Failure:] + 292
13 XXX 0x10099614c __85-[MWURLRequestManager httpRequestWithSession:Request:RetryingNumber:Success:Failure:]_block_invoke + 500
14 CFNetwork 0x00000001817a6ce8 + 140
15 Foundation 0x00000001826e7a84 + 76
16 Foundation 0x00000001826d4a20 + 644
17 Foundation 0x0000000182796a38 + 76
18 libdispatch.dylib 0x000000018e70bfd4 + 16
19 libdispatch.dylib 0x000000018e70f1dc _dispatch_main_queue_callback_4CF + 336
20 CoreFoundation 0x0000000181beac2c + 12
21 CoreFoundation 0x0000000181be8f6c + 1452
22 CoreFoundation 0x0000000181b29c20 CFRunLoopRunSpecific + 452
23 GraphicsServices 0x0000000187811c0c GSEventRunModal + 168
24 UIKit 0x0000000184c5afdc UIApplicationMain + 1156
25 ZhiyueSD965004 0x100051c58 main + 676
26 libdyld.dylib 0x000000018e727aa0 + 4
)

1 条回复
Cafei 2年前

这是AFNetworking出现crash,定位到了[_AFURLSessionTaskSwizzling af_resume]这个方法 ,魔窗SDK中并没有使用AFNetworking


魔窗, 移动互联网生态领导者