Woolle
Woolle
  • 发布:2022-10-13 17:23
  • 更新:2022-10-13 17:23
  • 阅读:339

【报Bug】打开小程序闪退

分类:uni小程序sdk

产品分类: uni小程序SDK

手机系统: Android

手机系统版本号: Android 9.0

手机厂商: 华为

手机机型: 车机

页面类型: nvue

SDK版本号: UniMPSDK_Android@3.4.18.V2.20220705

示例代码:

正常打开通过uniMPsdk 打开小程序

DCUniMPSDK.getInstance().openUniMP(this, appId);

操作步骤:

随机发生,无法具体步骤复现

预期结果:

不发生闪退

实际结果:

随机发生闪退

bug描述:

打开小程序闪退,详细日志见附件

09-21 15:07:07.197 E/WeexCore( 4580): render_page.cpp:74,[RenderPage] Delete RenderPage >>>> pageId: 10  
09-21 15:07:07.200 E/WeexCore( 4580): wx_bridge.cpp:1313,class Name is com/taobao/weex/bridge/WXBridge  
09-21 15:07:07.200 E/WeexCore( 4580): WXBridge_jni.h:1449,Java_WXBridge_reset_clazz class Name is com/taobao/weex/bridge/WXBridge  
09-21 15:07:07.201 D/AndroidRuntime( 4580): Shutting down VM  
09-21 15:07:07.202 I/hwcomposer(  432): [HWC] (0) remove DIM layer id:403 v:1 acq:-1 hnd:0x0,-1,0 w:0,0 h:0,0 f:0 sz:0 z:0 c:ff000000 DEV(DIM,SOL1,SOL,5086) s[0.0,0.0,-1.0,-1.0]->d[0,0,1440,1784] t:0 d(s1,b0)    
09-21 15:07:07.202 E/AndroidRuntime( 4580): FATAL EXCEPTION: main  
09-21 15:07:07.202 E/AndroidRuntime( 4580): Process: com.xxx.xxx.miniprogram:unimp1, PID: 4580  
09-21 15:07:07.202 E/AndroidRuntime( 4580): java.lang.IndexOutOfBoundsException: getChildDrawingOrder() returned invalid index 1 (child count is 1)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.ViewGroup.getAndVerifyPreorderedIndex(ViewGroup.java:2029)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.ViewGroup.gatherTransparentRegion(ViewGroup.java:7051)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.ViewGroup.gatherTransparentRegion(ViewGroup.java:7054)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.ViewGroup.gatherTransparentRegion(ViewGroup.java:7054)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.ViewGroup.gatherTransparentRegion(ViewGroup.java:7054)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.ViewGroup.gatherTransparentRegion(ViewGroup.java:7054)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.ViewGroup.gatherTransparentRegion(ViewGroup.java:7054)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.ViewGroup.gatherTransparentRegion(ViewGroup.java:7054)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.ViewGroup.gatherTransparentRegion(ViewGroup.java:7054)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.ViewGroup.gatherTransparentRegion(ViewGroup.java:7054)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.ViewGroup.gatherTransparentRegion(ViewGroup.java:7054)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at com.android.internal.policy.DecorView.gatherTransparentRegion(DecorView.java:291)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2331)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1459)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7182)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.Choreographer$CallbackRecord.run(Choreographer.java:949)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.Choreographer.doCallbacks(Choreographer.java:761)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.Choreographer.doFrame(Choreographer.java:696)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:935)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.os.Handler.handleCallback(Handler.java:873)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.os.Handler.dispatchMessage(Handler.java:99)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.os.Looper.loop(Looper.java:193)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at android.app.ActivityThread.main(ActivityThread.java:6718)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at java.lang.reflect.Method.invoke(Native Method)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)  
09-21 15:07:07.202 E/AndroidRuntime( 4580):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:902)  
09-21 15:07:07.207 E/WeexCore(28665): engine_context_v8.cc:43, [release] release ctx   
09-21 15:07:07.220 I/hwcomposer(  432): [HWC] (0) remove DIM layer id:403 v:1 acq:-1 hnd:0x0,-1,0 w:0,0 h:0,0 f:0 sz:0 z:0 c:ff000000 DEV(DIM,SOL1,SOL,5086) s[0.0,0.0,-1.0,-1.0]->d[0,0,1440,1784] t:0 d(s1,b0)    
09-21 15:07:07.225 E/weex    ( 4580): [WXBridgeManager] invoke execJSService: framework.js uninitialized.  
09-21 15:07:07.226 W/weex    ( 4580): app AvailMemory ---->>>1943  
09-21 15:07:07.226 I/DCFileUtils( 4580): getAssetPath---------uni-jsframework.js  
09-21 15:07:07.236 I/CaTbox  (  619): on_gps_mcu_req_mtk,mux_handler_private MSG_GPS_MCU_REQ_MTK  
09-21 15:07:07.237 I/hwcomposer(  432): [HWC] (0) remove DIM layer id:403 v:1 acq:-1 hnd:0x0,-1,0 w:0,0 h:0,0 f:0 sz:0 z:0 c:ff000000 DEV(DIM,SOL1,SOL,5086) s[0.0,0.0,-1.0,-1.0]->d[0,0,1440,1784] t:0 d(s1,b0)    
09-21 15:07:07.239 E/WXParams( 4580): setCrashFilePath: /data/user/0/com.xxx.xxx.miniprogram/app_crash  
09-21 15:07:07.240 E/weex    ( 4580): getUseSingleProcess is running false  
09-21 15:07:07.240 E/weex    ( 4580): getReleaseMap:true  
09-21 15:07:07.240 E/weex    ( 4580): getLibJsbPath is running /data/user/0/com.xxx.xxx.miniprogram/cache/cache/weex/libs/weexjsb/arm64-v8a/libweexjsb.so  
09-21 15:07:07.240 E/weex    ( 4580): getLibLdPath is running /system/app/IflytekMiniProgramApp/lib/arm64:/system/app/IflytekMiniProgramApp/IflytekMiniProgramApp.apk!/lib/arm64-v8a:/system/lib64:/vendor/lib64  
09-21 15:07:07.254 I/hwcomposer(  432): [HWC] (0) remove DIM layer id:403 v:1 acq:-1 hnd:0x0,-1,0 w:0,0 h:0,0 f:0 sz:0 z:0 c:ff000000 DEV(DIM,SOL1,SOL,5086) s[0.0,0.0,-1.0,-1.0]->d[0,0,1440,1784] t:0 d(s1,b0)    
09-21 15:07:07.209 E/@mtk.h  (  942): PackageManager.PERMISSION_DENIED,   !mUserManagerInt.exists(userId), userId = 0  
09-21 15:07:07.267 E/@mtk.h  (  942): PackageManager.PERMISSION_DENIED,   !mUserManagerInt.exists(userId), userId = 0  
09-21 15:07:07.268 D/WeexCore( 8716): jsengine#weexcore fork child success  
09-21 15:07:07.272 I/hwcomposer(  432): [HWC] (0) remove DIM layer id:403 v:1 acq:-1 hnd:0x0,-1,0 w:0,0 h:0,0 f:0 sz:0 z:0 c:ff000000 DEV(DIM,SOL1,SOL,5086) s[0.0,0.0,-1.0,-1.0]->d[0,0,1440,1784] t:0 d(s1,b0)    
09-21 15:07:07.285 I/AV2HPR_20210901(  586): set50msTimer,CarLevel = 0,isConfigAdasMap = 0  
09-21 15:07:07.289 I/hwcomposer(  432): [HWC] (0) remove DIM layer id:403 v:1 acq:-1 hnd:0x0,-1,0 w:0,0 h:0,0 f:0 sz:0 z:0 c:ff000000 DEV(DIM,SOL1,SOL,5086) s[0.0,0.0,-1.0,-1.0]->d[0,0,1440,1784] t:0 d(s1,b0)    
09-21 15:07:07.294 I/chatty  ( 2444): uid=1000(system) com.xxx.xxx.mediagroup expire 1 line  
09-21 15:07:07.296 I/chatty  ( 2444): uid=1000(system) RxCachedThreadS expire 14 lines  
09-21 15:07:07.307 I/hwcomposer(  432): [HWC] (0) remove DIM layer id:403 v:1 acq:-1 hnd:0x0,-1,0 w:0,0 h:0,0 f:0 sz:0 z:0 c:ff000000 DEV(DIM,SOL1,SOL,5086) s[0.0,0.0,-1.0,-1.0]->d[0,0,1440,1784] t:0 d(s1,b0)    
09-21 15:07:07.317 E/WeexCore( 4580): script_bridge_in_multi_process.cpp:1026,ScriptBridgeInMultiProcess DELETE  
09-21 15:07:07.317 E/WeexCore( 4580): IPCFutexPageQueue.cpp:66,do munmap  
09-21 15:07:07.320 E/WeexCore( 4580): weex_js_connection.cpp:186,IPCException server died original owner has die  
09-21 15:07:07.321 E/WeexCore( 4580): IPCFutexPageQueue.cpp:66,do munmap

在别复现的日志中发现还有这个错误,不知道会不会是导致上面IndexOutOfBoundsException的原因。

WeexCore: weex_js_connection.cpp:186,IPCException server died futex lock pi failed: No such process, 80002126 8478 (0 0 211e 80002126)
2022-10-13 17:23 负责人:无 分享
已邀请:

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