多次重复启动关闭小程序
- 发布:2021-02-07 10:27
- 更新:2022-07-26 16:38
- 阅读:833
产品分类: uni小程序SDK
手机系统: iOS
手机系统版本号: IOS 14
手机厂商: 苹果
手机机型: iPhone 12
页面类型: nvue
SDK版本号: 2.9.3
操作步骤:
预期结果:
App闪退
App闪退
实际结果:
App闪退
App闪退
bug描述:
启动uni小程序偶尔闪退,调用了lockOrientation
Thread 0 Crashed:
0 libobjc.A.dylib objc_msgSend +24
1 DEMO -[PGDeviceStatus lockOrientation:] libPDRCore/Feature/PGDeviceStatus.mm:330 +20
2 DEMO -[PDRCoreFeature Execute:] libPDRCore/Managers/PDRCoreFeature.m:755 +24
3 DEMO __58-[PDRCoreAppFrame webViewEnginde:didReceiveScriptMessage:]_block_invoke libPDRCore/Managers/PDRCoreAppFrame.m:2830 +0
4 DEMO -[PDRCoreAppFrame webViewEnginde:didReceiveScriptMessage:] libPDRCore/Managers/PDRCoreAppFrame.m:2832 +0
5 DEMO -[H5WeexWebview handleMessage:withObject:] libPDRCore/WebviewEngine/H5WeexWebview.m:378 +36
6 DEMO -[WXSDKInstance(DCPlusBridge) exec:] DCWeexExtension/WXSDKInstance+Bridge.m:35 +40
7 DEMO -[PlusWeexModule exec:] DCModule/PlusWeexModule.m:114 +24
8 CoreFoundation __invoking___ +148
9 CoreFoundation -[NSInvocation invoke] +448
10 DEMO __53-[WXModuleMethod _dispatchInvocation:moduleInstance:]_block_invoke Sources/Bridge/WXModuleMethod.m:140 +0
11 Foundation __NSThreadPerformPerform +188
12 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ +28
13 CoreFoundation __CFRunLoopDoSource0 +208
14 CoreFoundation __CFRunLoopDoSources0 +268
15 CoreFoundation __CFRunLoopRun +824
16 CoreFoundation CFRunLoopRunSpecific +600
17 GraphicsServices GSEventRunModal +164
18 UIKitCore -[UIApplication _run] +1072
19 UIKitCore UIApplicationMain +168
20 DEMO main DEMO/main.m:30 +28
21 libdyld.dylib start +4
1 个回复
曾大叔
后来是怎么解决的呢