w***@163.com
w***@163.com
  • 发布:2024-05-17 11:00
  • 更新:2024-06-19 08:04
  • 阅读:641

【报Bug】uni小程序sdk偶现闪退

分类:uni小程序sdk

产品分类: uni小程序SDK

手机系统: iOS

手机系统版本号: iOS 17

手机厂商: 苹果

手机机型: iPhone13,4

页面类型: vue

SDK版本号: 3.99

操作步骤:

偶现, uni小程序sdk的版本发生闪退以后升级到了4.08,请问4.08修复了吗,还是需要发布新版本。

预期结果:

不闪退

实际结果:

发生了闪退

bug描述:

uni小程序sdk内部发生闪退

Application threw exception NSGenericException: *** Collection <__NSArrayM: 0x303df2af0> was mutated while being enumerated.Originated at or in a subcall of xkjgaol0 CoreFoundation 0x000000018aadeb28 __exceptionPreprocess + [ : 164]
Thread 7 Crashed:  
0   CoreFoundation                      0x000000018aadeb28 __exceptionPreprocess + [ : 164]   
1   libobjc.A.dylib                     0x0000000182952f78 objc_exception_throw + [ : 60]   
2   CoreFoundation                      0x000000018ab63d10 -[__NSSingleObjectEnumerator init]  
3   FSM                                 0x00000001032a08b8 -[PDRCoreAppWindow getFrameByName:] + [PDRCoreAppWindow.m : 1042]   
4   FSM                                 0x00000001031ec830 -[PGUI JSWindow_Sync_findWindowByName:] + [PGUi.mm : 2325]   
5   FSM                                 0x00000001031dfd68 -[PGUI syncExecMethod:] + [PGUi.mm : 100]   
6   FSM                                 0x00000001032243f8 -[PDRCoreFeature Execute:] + [PDRCoreFeature.m : 755]   
7   FSM                                 0x00000001032b165c -[PDRCoreApp handleCmds:] + [PDRCoreApp.m : 3020]   
8   FSM                                 0x0000000103211548 -[PDRCoreAppFrame webViewEnginde:didReceiveSyncScriptMessage:] + [PDRCoreAppFrame.m : 2829]   
9   FSM                                 0x0000000103068e20 -[H5WeexWebview handleMessage:withObject:] + [H5WeexWebview.m : 419]   
10  FSM                                 0x00000001030680bc __28-[H5WeexWebview refreshWeex]_block_invoke + [H5WeexWebview.m : 236]   
11  FSM                                 0x000000010316b5e8 -[WXSDKInstance(DCPlusBridge) execSync:] + [WXSDKInstance+Bridge.m : 40]   
12  FSM                                 0x0000000103140ba8 -[PlusWeexModule execSync:] + [PlusWeexModule.m : 161]   
13  CoreFoundation                      0x000000018aa23c84 __invoking___ + [ : 148]   
14  CoreFoundation                      0x000000018aa23710 -[NSInvocation invoke] + [ : 428]   
15  FSM                                 0x00000001031523b8 -[WXModuleMethod invoke] + [WXModuleMethod.m : 110]   
16  FSM                                 0x00000001030cf340 __42-[WXBridgeContext registerGlobalFunctions]_block_invoke_5.130 + [WXBridgeContext.mm : 377]   
17  FSM                                 0x00000001031940fc __43-[WXJSCoreBridge registerCallNativeModule:]_block_invoke + [WXJSCoreBridge.mm : 357]   
18  CoreFoundation                      0x000000018aa23c84 __invoking___ + [ : 148]   
19  CoreFoundation                      0x000000018aa23710 -[NSInvocation invoke] + [ : 428]   
20  JavaScriptCore                      0x00000001a0f07440 JSC::ObjCCallbackFunctionImpl::call(JSContext*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) + [ : 464]   
21  JavaScriptCore                      0x00000001a0f06e60 JSC::objCCallbackFunctionCallAsFunction(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) + [ : 168]   
22  JavaScriptCore                      0x00000001a0f0537c JSC::callObjCCallbackFunction(JSC::JSGlobalObject*, JSC::CallFrame*) + [ : 272]   
23  JavaScriptCore                      0x00000001a203b790 llint_function_for_construct_arity_checkTagGateAfter + [ : 158212]   
24  JavaScriptCore                      0x00000001a20380c0 llint_function_for_construct_arity_checkTagGateAfter + [ : 144180]   
25  JavaScriptCore                      0x00000001a20380c0 llint_function_for_construct_arity_checkTagGateAfter + [ : 144180]   
26  JavaScriptCore                      0x00000001a20380c0 llint_function_for_construct_arity_checkTagGateAfter + [ : 144180]   
27  JavaScriptCore                      0x00000001a20380c0 llint_function_for_construct_arity_checkTagGateAfter + [ : 144180]   
28  JavaScriptCore                      0x00000001a20392a8 llint_function_for_construct_arity_checkTagGateAfter + [ : 148764]   
29  JavaScriptCore                      0x00000001a20392a8 llint_function_for_construct_arity_checkTagGateAfter + [ : 148764]   
30  JavaScriptCore                      0x00000001a20392a8 llint_function_for_construct_arity_checkTagGateAfter + [ : 148764]   
31  JavaScriptCore                      0x00000001a20392a8 llint_function_for_construct_arity_checkTagGateAfter + [ : 148764]   
32  JavaScriptCore                      0x00000001a20392a8 llint_function_for_construct_arity_checkTagGateAfter + [ : 148764]   
33  JavaScriptCore                      0x00000001a20380c0 llint_function_for_construct_arity_checkTagGateAfter + [ : 144180]   
34  JavaScriptCore                      0x00000001a20392a8 llint_function_for_construct_arity_checkTagGateAfter + [ : 148764]   
35  JavaScriptCore                      0x00000001a200eed4 vmEntryToJavaScriptGateAfter  
36  JavaScriptCore                      0x00000001a16e0684 JSC::Interpreter::executeCall(JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + [ : 484]   
37  JavaScriptCore                      0x00000001a197f92c JSC::boundThisNoArgsFunctionCall(JSC::JSGlobalObject*, JSC::CallFrame*) + [ : 888]   
38  JavaScriptCore                      0x00000001a203b6b0 llint_function_for_construct_arity_checkTagGateAfter + [ : 157988]   
39  JavaScriptCore                      0x00000001a20380c0 llint_function_for_construct_arity_checkTagGateAfter + [ : 144180] 
2024-05-17 11:00 负责人:DCloud_iOS_XHY 分享
已邀请:

最佳回复

DCloud

DCloud

HBuilderX 4.21.2024061818-alpha 已修复。

l***@163.com

l***@163.com

同样的问题 插眼等回复

l***@163.com

l***@163.com

我是4.08 同样的奔溃

DCloud_iOS_XHY

DCloud_iOS_XHY

无法复现,已对代码逻辑做了优化,下次发版后可以更新一下在观察观察

要回复问题请先登录注册