1***@qq.com
1***@qq.com
  • 发布:2019-06-16 16:16
  • 更新:2019-12-14 16:09
  • 阅读:3925

【报Bug】iOS 版本崩溃 闪退

分类:uni-app

详细问题描述

发布到外部,通过腾讯bugly捕获到崩溃,崩溃堆栈如下,会持续更新崩溃堆栈

[内容]

0 Thread

SIGSEGV

SEGV_ACCERR

解析原始
0 libobjc.A.dylib objc_msgSend + 16
1 kingcow -[PDRCoreAppFrame destoryWhitePageCheckTimer] + 44
2 kingcow -[PDRCoreApp endWhiteCheck] + 164
3 kingcow -[PDRCoreApp doCloseSplashscreen] + 112
4 Foundation __NSFireTimer + 84
5 CoreFoundation 0x00000001b1941000 + 697936
6 CoreFoundation 0x00000001b1941000 + 697216
7 CoreFoundation 0x00000001b1941000 + 695220
8 CoreFoundation 0x00000001b1941000 + 674564
9 CoreFoundation CFRunLoopRunSpecific + 436
10 GraphicsServices GSEventRunModal + 104
11 UIKitCore UIApplicationMain + 212
12 kingcow main + 124
13 libdyld.dylib 0x00000001b14a9000 + 6368

重现步骤

[步骤]

[结果]

[期望]

[如果语言难以表述清晰,拍一个视频或截图,有图有真相]

IDE运行环境说明

[HBuilder 或 HBuilderX。如果你用其他工具开发uni-app,也需要在此说明]
hbuilderX 1.9.9 使用对应的离线打包sdk
[IDE版本号]

[windows版本号]

[mac版本号]

uni-app运行环境说明

[运行端是h5或app或某个小程序?]

[运行端版本号]

[项目是cli创建的还是HBuilderX创建的?如果是cli创建的,请更新到最新版cli再试]

[编译模式是老模板模式还是新的自定义组件模式?]

App运行环境说明

[Android版本号]

[iOS版本号]
12.3.1
[手机型号]
iphone8
[模拟器型号]

附件

[IDE问题请提供HBuilderX运行日志。菜单帮助-查看运行日志,点右键打开文件所在目录,将log文件压缩成zip包上传]

[App问题请提供可重现问题的代码片段,你补充的细一点,问题就解决的快一点]

[App安装包或H5地址]

[可重现代码片段]

联系方式

[QQ] 14100634

2019-06-16 16:16 负责人:无 分享
已邀请:
1***@qq.com

1***@qq.com (作者) - 人称大神

0 Thread

NSInvalidArgumentException

-[UITapRecognizer invalidate]: unrecognized selector sent to instance 0x280c41e00

解析原始
0 CoreFoundation _exceptionPreprocess + 228
1 libobjc.A.dylib objc_exceptionthrow + 56
2 CoreFoundation -[NSOrderedSet initWithSet:copyItems:]
3 CoreFoundation ____forwarding
+ 1412
4 CoreFoundation _CF_forwarding_prep_0 + 92
5 kingcow -[PDRCoreAppFrame destoryWhitePageCheckTimer] (PDRCoreAppFrame.m:1224)
6 kingcow -[PDRCoreApp endWhiteCheck] (PDRCoreApp.m:2224)
7 kingcow -[PDRCoreApp doCloseSplashscreen] (PDRCoreApp.m:2026)
8 Foundation NSFireTimer + 84
9 CoreFoundation _CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 28
10 CoreFoundation _
CFRunLoopDoTimer + 864
11 CoreFoundation CFRunLoopDoTimers + 248
12 CoreFoundation
CFRunLoopRun + 1880
13 CoreFoundation CFRunLoopRunSpecific + 436
14 GraphicsServices GSEventRunModal + 100
15 UIKitCore UIApplicationMain + 212
16 kingcow main (main.m:16)
17 libdyld.dylib 0x00000001ed2e2000 + 2996

DCloud_IOS_XTY

DCloud_IOS_XTY

请升级到最新的SDk版本

1***@qq.com

1***@qq.com (作者) - 人称大神

1315
2019-06-17 14:59:08

1902 SIGSEGV

SEGV_ACCERR
出错堆栈

0 libobjc.A.dylib
objc_msgSend + 16
1 kingcow
-[PDRCoreAppFrame destoryWhitePageCheckTimer] (PDRCoreAppFrame.m:1224)
2 kingcow
-[PDRCoreApp endWhiteCheck] (PDRCoreApp.m:2224)
3 kingcow
-[PDRCoreApp doCloseSplashscreen] (PDRCoreApp.m:2026)
4 Foundation
__NSFireTimer + 84
5 CoreFoundation
0x0000000196921000 + 697936
6 CoreFoundation
0x0000000196921000 + 697216
7 CoreFoundation
0x0000000196921000 + 695220
8 CoreFoundation
0x0000000196921000 + 674564
9 CoreFoundation
CFRunLoopRunSpecific + 436
10 GraphicsServices
GSEventRunModal + 104
11 UIKitCore
UIApplicationMain + 212
12 kingcow
main (main.m:16)
13 libdyld.dylib
0x0000000196489000 + 6368

  • DCloud_IOS_XTY

    请升级到最新的SDk版本

    2019-06-18 12:34

  • 1***@qq.com (作者)

    回复 DCloud_IOS_XTY: 已升级到hbuilderX 2.0.1 以及对应的sdk,但是还有崩溃,见我7.4发的log

    2019-07-04 09:56

1***@qq.com

1***@qq.com (作者) - 人称大神

3 Thread

NSInvalidArgumentException

*** -[NSURL initWithScheme:host:path:]: path (null) is not absolute.

解析原始
0 CoreFoundation _exceptionPreprocess + 124
1 libobjc.A.dylib objc_exception_throw + 56
2 CoreFoundation -[NSException initWithCoder:]
3 Foundation -[NSURL(NSURL) initWithScheme:host:path:] + 136
4 kingcow -[WXImgLoaderDefaultImpl downloadImageWithURL:imageFrame:userInfo:instance:completed:] (WXImgLoaderDefaultImpl.m:62)
5 kingcow -[WXImgLoaderDefaultImpl downloadImageWithURL:imageFrame:userInfo:completed:] (WXImgLoaderDefaultImpl.m:0)
6 kingcow -[WXImageComponent updateContentImageWithFailedBlock:] (WXImageComponent.m:0)
7 kingcow 31-[WXImageComponent updateImage]_block_invoke.332 (WXImageComponent.m:493)
8 libdispatch.dylib
dispatch_call_block_and_release + 24
9 libdispatch.dylib dispatch_client_callout + 16
10 libdispatch.dylib
dispatch_queue_serial_drain + 928
11 libdispatch.dylib
dispatch_queue_invoke + 884
12 libdispatch.dylib dispatch_queue_override_invoke + 344
13 libdispatch.dylib __dispatch_root_queue_drain + 540
14 libdispatch.dylib
dispatch_worker_thread3 + 124
15 libsystem_pthread.dylib _pthread_wqthread + 1096
16 libsystem_pthread.dylib start_wqthread + 4

1***@qq.com

1***@qq.com (作者) - 人称大神

0 Thread

SIGSEGV

SEGV_ACCERR

解析原始
0 libobjc.A.dylib objc_msgSend + 16
1 kingcow -[PGPlugin toCallback:withReslut:] (PGPlugin.m:450)
2 kingcow 20-[PGWXOauth onResp:]_block_invoke (PGWXOauth.m:337)
3 kingcow -[PGWXAPI connectionDidFinishLoading:] (PGWXOpenApi.m:64)
4 CFNetwork _65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 60
5 CFNetwork -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 196
6 CFNetwork -[NSURLConnectionInternal withActiveConnectionAndDelegate:] + 56
7 CFNetwork
ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_blockinvoke + 100
8 CFNetwork
ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 108
9 libdispatch.dylib dispatch_client_callout + 16
10 libdispatch.dylib
dispatch_block_invoke_direct$VARIANT$mp + 224
11 CFNetwork RunloopBlockContext::_invoke_block(void const, void) + 36
12 CoreFoundation CFArrayApplyFunction + 80
13 CFNetwork RunloopBlockContext::perform() + 128
14 CFNetwork MultiplexerSource::perform() + 312
15 CFNetwork MultiplexerSource::_perform(void*) + 60
16 CoreFoundation _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ + 24
17 CoreFoundation
CFRunLoopDoSource0 + 88
18 CoreFoundation CFRunLoopDoSources0 + 176
19 CoreFoundation
CFRunLoopRun + 1004
20 CoreFoundation CFRunLoopRunSpecific + 436
21 GraphicsServices GSEventRunModal + 104
22 UIKitCore UIApplicationMain + 212
23 kingcow main (main.m:16)
24 libdyld.dylib _start + 4

1***@qq.com

1***@qq.com (作者) - 人称大神

0 Thread

NSInvalidArgumentException

-[OS_dispatch_data plusObject]: unrecognized selector sent to instance 0x146864200

解析原始
0 CoreFoundation 0x000000021f3c9000 + 1147516
1 libobjc.A.dylib objc_exception_throw + 56
2 CoreFoundation 0x000000021f3c9000 + 215736
3 CoreFoundation 0x000000021f3c9000 + 1170116
4 CoreFoundation _CF_forwarding_prep_0 + 92
5 kingcow -[PGPlugin toCallback:withReslut:] (PGPlugin.m:450)
6 kingcow __20-[PGWXOauth onResp:]_block_invoke (PGWXOauth.m:337)
7 kingcow -[PGWXAPI connectionDidFinishLoading:] (PGWXOpenApi.m:64)
8 CFNetwork 0x000000021fa85000 + 2582448
9 CFNetwork 0x000000021fa85000 + 5640
10 CFNetwork 0x000000021fa85000 + 5728
11 CFNetwork 0x000000021fa85000 + 1586900
12 CFNetwork 0x000000021fa85000 + 1579116
13 libdispatch.dylib 0x000000021eec1000 + 395220
14 libdispatch.dylib 0x000000021eec1000 + 21976
15 CFNetwork 0x000000021fa85000 + 2448160
16 CoreFoundation CFArrayApplyFunction + 80
17 CFNetwork 0x000000021fa85000 + 2447856
18 CFNetwork 0x000000021fa85000 + 2452308
19 CFNetwork 0x000000021fa85000 + 2451664
20 CoreFoundation 0x000000021f3c9000 + 696344
21 CoreFoundation 0x000000021f3c9000 + 696216
22 CoreFoundation 0x000000021f3c9000 + 694480
23 CoreFoundation 0x000000021f3c9000 + 673724
24 CoreFoundation CFRunLoopRunSpecific + 436
25 GraphicsServices GSEventRunModal + 104
26 UIKitCore UIApplicationMain + 212
27 kingcow main (main.m:16)
28 libdyld.dylib 0x000000021ef31000 + 6368

1***@qq.com

1***@qq.com (作者) - 人称大神

0 Thread

SIGSEGV

SEGV_ACCERR

解析原始
0 kingcow -[DC_SBJsonParser scanValue:] (DC_SBJsonParser.m:120)
1 kingcow -[DC_SBJsonParser fragmentWithString:] (DC_SBJsonParser.m:86)
2 kingcow -[DC_SBJsonParser fragmentWithString:] (DC_SBJsonParser.m:86)
3 kingcow -[DC_SBJsonParser objectWithString:] (DC_SBJsonParser.m:102)
4 kingcow -[NSString(NSString_DC_SBJSON) JSONValue] (NSString+DC_SBJSON.m:48)
5 kingcow -[PDRCoreFeature enqueueCommandBatch:] (PDRCoreFeature.m:545)
6 kingcow -[PDRCoreFeature appendJSMethodToExecQueuesAndExec:] (PDRCoreFeature.m:608)
7 kingcow -[PDRCoreAppFrame webViewEnginde:didReceiveScriptMessage:] (PDRCoreAppFrame.m:2443)
8 kingcow -[H5WeexWebview handleMessage:withObject:] (H5WeexWebview.m:209)
9 kingcow -[WXSDKInstance(DCPlusBridge) exec:] (WXSDKInstance+Bridge.m:35)
10 kingcow -[PlusWeexModule exec:] (PlusWeexModule.m:58)
11 CoreFoundation invoking + 144
12 CoreFoundation -[NSInvocation invoke] + 284
13 kingcow 53-[WXModuleMethod _dispatchInvocation:moduleInstance:]_blockinvoke (WXModuleMethod.m:140)
14 Foundation
NSThreadPerformPerform + 340
15 CoreFoundation _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ + 24
16 CoreFoundation
CFRunLoopDoSources0 + 540
17 CoreFoundation ___CFRunLoopRun + 724
18 CoreFoundation CFRunLoopRunSpecific + 384
19 GraphicsServices GSEventRunModal + 180
20 UIKit UIApplicationMain + 204
21 kingcow main (main.m:16)
22 libdyld.dylib _start + 4

1***@qq.com

1***@qq.com (作者) - 人称大神

18 Thread

NSInvalidArgumentException

*** -[NSURL initWithScheme:host:path:]: path (null) is not absolute.

解析原始
0 CoreFoundation 0x0000000220bb5000 + 1147516
1 libobjc.A.dylib objc_exception_throw + 56
2 CoreFoundation 0x0000000220bb5000 + 140464
3 Foundation 0x000000022161f000 + 183440
4 kingcow -[WXImgLoaderDefaultImpl downloadImageWithURL:imageFrame:userInfo:instance:completed:] (WXImgLoaderDefaultImpl.m:62)
5 kingcow -[WXImgLoaderDefaultImpl downloadImageWithURL:imageFrame:userInfo:completed:] (WXImgLoaderDefaultImpl.m:0)
6 kingcow -[WXImageComponent updateContentImageWithFailedBlock:] (WXImageComponent.m:0)
7 kingcow __31-[WXImageComponent updateImage]_block_invoke.332 (WXImageComponent.m:493)
8 libdispatch.dylib 0x00000002206ad000 + 391736
9 libdispatch.dylib 0x00000002206ad000 + 395220
10 libdispatch.dylib 0x00000002206ad000 + 245228
11 libdispatch.dylib 0x00000002206ad000 + 248108
12 libdispatch.dylib 0x00000002206ad000 + 282120
13 libsystem_pthread.dylib _pthread_wqthread + 304
14 libsystem_pthread.dylib start_wqthread + 4

1***@qq.com

1***@qq.com (作者) - 人称大神

0 Thread

SIGSEGV

SEGV_ACCERR

解析原始
0 kingcow -[DC_SBJsonParser scanValue:] (DC_SBJsonParser.m:120)
1 kingcow -[DC_SBJsonParser fragmentWithString:] (DC_SBJsonParser.m:86)
2 kingcow -[DC_SBJsonParser fragmentWithString:] (DC_SBJsonParser.m:86)
3 kingcow -[DC_SBJsonParser objectWithString:] (DC_SBJsonParser.m:102)
4 kingcow -[NSString(NSString_DC_SBJSON) JSONValue] (NSString DC_SBJSON.m:48)
5 kingcow -[PDRCoreFeature enqueueCommandBatch:] (PDRCoreFeature.m:545)
6 kingcow -[PDRCoreFeature appendJSMethodToExecQueuesAndExec:] (PDRCoreFeature.m:608)
7 kingcow -[PDRCoreAppFrame webViewEnginde:didReceiveScriptMessage:] (PDRCoreAppFrame.m:2443)
8 kingcow -[H5WeexWebview handleMessage:withObject:] (H5WeexWebview.m:209)
9 kingcow -[WXSDKInstance(DCPlusBridge) exec:] (WXSDKInstance Bridge.m:35)
10 kingcow -[PlusWeexModule exec:] (PlusWeexModule.m:58)
11 CoreFoundation invoking 144
12 CoreFoundation -[NSInvocation invoke] 284
13 kingcow 53-[WXModuleMethod _dispatchInvocation:moduleInstance:]_blockinvoke (WXModuleMethod.m:140)
14 Foundation
NSThreadPerformPerform 340
15 CoreFoundation _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ 24
16 CoreFoundation
CFRunLoopDoSources0 276
17 CoreFoundation ___CFRunLoopRun 1204
18 CoreFoundation CFRunLoopRunSpecific 552
19 GraphicsServices GSEventRunModal 100
20 UIKit UIApplicationMain 236
21 kingcow main (main.m:16)
22 libdyld.dylib _start 4

DCloud_iOS_XHY

DCloud_iOS_XHY

这种偶现的bug需要请提供一下复现的demo,以便于排查

Xxxxx先生

Xxxxx先生 - T男

老哥,是他们说的SDK的问题吗???

该问题目前已经被锁定, 无法添加新回复