2***@qq.com
2***@qq.com
  • 发布:2024-08-01 09:43
  • 更新:2024-09-03 10:03
  • 阅读:319

【报Bug】Android集成uni小程序sdk打开小程序时有几率白屏,版本Android14

分类:uni小程序sdk

产品分类: uni小程序SDK

手机系统: Android

手机系统版本号: Android 14

手机厂商: 荣耀

手机机型: 荣耀90GT

页面类型: vue

SDK版本号: 4.15

示例代码:

异常报错

SmartGc CheckMemoryInfoTask is stoped.  
2024-08-01 09:35:54.762 19254-23168 WeexCore                cn.bxsoft.yzzf                       E  IPCException server spinWaitPeer timeout  
2024-08-01 09:35:54.762 19254-23168 WeexCore                cn.bxsoft.yzzf                       E  IPCFutexPageQueue.cpp:66,do munmap  
2024-08-01 09:35:55.740 23169-23173 WeexCore                cn.bxsoft.yzzf                       E  IPCCommunicator.cpp:154, IPC TO BE END  
2024-08-01 09:35:55.910 23169-23173 WeexCore                cn.bxsoft.yzzf                       E  IPCHandler.cpp:45, unable to find msg: 10  
2024-08-01 09:35:55.923 23169-23173 libc++abi               cn.bxsoft.yzzf                       E  terminating with uncaught exception of type IPCException  
2024-08-01 09:35:55.924 23169-23173 WeexCore                cn.bxsoft.yzzf                       I  [23169:23173:08-01/09:35:55.923846:INFO:crash_handler.cpp:198]CrashHandlerInfo::handleSignal  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  SIG: SIGABRT (6), fault addr: 0x283100005a81  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  traceid:!![bd4f07ed82121933f219915a2fa05a68438e55a2]  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E    
                                                                                                    backtrace:  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  /data/app/~~S1sDpyUY6wAu-ok9E8r4LA==/cn.bxsoft.yzzf-Vhu1PmxaC6CaGQ5vfGz2eQ==/lib/arm64/libweexjss.so + 0035e468(unknown symbol)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  /data/app/~~S1sDpyUY6wAu-ok9E8r4LA==/cn.bxsoft.yzzf-Vhu1PmxaC6CaGQ5vfGz2eQ==/lib/arm64/libweexjss.so + 0035e298(unknown symbol)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  [vdso] + 0000084c(__kernel_rt_sigreturn)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  /apex/com.android.runtime/lib64/bionic/libc.so + 0005bdc0(abort)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  /data/app/~~S1sDpyUY6wAu-ok9E8r4LA==/cn.bxsoft.yzzf-Vhu1PmxaC6CaGQ5vfGz2eQ==/lib/arm64/libc++_shared.so + 000cac38(__cxa_bad_cast)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  /data/app/~~S1sDpyUY6wAu-ok9E8r4LA==/cn.bxsoft.yzzf-Vhu1PmxaC6CaGQ5vfGz2eQ==/lib/arm64/libc++_shared.so + 000cadf4(unknown symbol)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  /data/app/~~S1sDpyUY6wAu-ok9E8r4LA==/cn.bxsoft.yzzf-Vhu1PmxaC6CaGQ5vfGz2eQ==/lib/arm64/libc++_shared.so + 000df3d0(unknown symbol)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  /data/app/~~S1sDpyUY6wAu-ok9E8r4LA==/cn.bxsoft.yzzf-Vhu1PmxaC6CaGQ5vfGz2eQ==/lib/arm64/libc++_shared.so + 000deae8(__cxa_get_exception_ptr)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  /data/app/~~S1sDpyUY6wAu-ok9E8r4LA==/cn.bxsoft.yzzf-Vhu1PmxaC6CaGQ5vfGz2eQ==/lib/arm64/libc++_shared.so + 000dea4c(unknown symbol)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  /data/app/~~S1sDpyUY6wAu-ok9E8r4LA==/cn.bxsoft.yzzf-Vhu1PmxaC6CaGQ5vfGz2eQ==/lib/arm64/libweexjss.so + 00363924(unknown symbol)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  /data/app/~~S1sDpyUY6wAu-ok9E8r4LA==/cn.bxsoft.yzzf-Vhu1PmxaC6CaGQ5vfGz2eQ==/lib/arm64/libweexjss.so + 00362720(unknown symbol)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  /data/app/~~S1sDpyUY6wAu-ok9E8r4LA==/cn.bxsoft.yzzf-Vhu1PmxaC6CaGQ5vfGz2eQ==/lib/arm64/libweexjss.so + 003629ac(unknown symbol)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  /data/app/~~S1sDpyUY6wAu-ok9E8r4LA==/cn.bxsoft.yzzf-Vhu1PmxaC6CaGQ5vfGz2eQ==/lib/arm64/libweexjss.so + 00323f1c(unknown symbol)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  /data/app/~~S1sDpyUY6wAu-ok9E8r4LA==/cn.bxsoft.yzzf-Vhu1PmxaC6CaGQ5vfGz2eQ==/lib/arm64/libweexjss.so + 00323c60(unknown symbol)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  /apex/com.android.runtime/lib64/bionic/libc.so + 000c0b8c(unknown symbol)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  /apex/com.android.runtime/lib64/bionic/libc.so + 0005d5fc(unknown symbol)  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E  unknown dso: 0x0  
2024-08-01 09:35:55.924 23169-23173 JSE                     cn.bxsoft.yzzf                       E    
2024-08-01 09:35:55.924 23169-23173 WeexCore                cn.bxsoft.yzzf                       I  [23169:23173:08-01/09:35:55.924450:INFO:crash_handler.cpp:438]saveFileContent:   

                                                                                                    maps:  
                                                                                                    23740000-23780000 rw-p 00000000 00:00 0   
                                                                                                    2b780000-2b7c0000 rw-p 00000000 00:00 0   
                                                                                                    2d3c0000-2d400000 rw-p 00000000 00:00 0   
                                                                                                    31d40000-31d80000 rw-p 00000000 00:00 0   
                                                                                                    34ec0000-34f10000 rw-p 00000000 00:00 0   
                                                                                                    35ce7000-35d00000 ---p 00000000 00:00 0   
                                                                                                    35d00000-35d01000 rw-p 00000000 00:00 0   
                                                                                                    35d01000-35d02000 ---p 00000000 00:00 0   
                                                                                                    35d02000-35d11000 r-xp 00000000 00:00 0   
                                                                                                    35d11000-35d3f000 ---p 00000000 00:00 0   
                                                                                                    35d3f000-35d40000 ---p 00000000 00:00 0   
                                                                                                    35d40000-35d41000 rw-p 00000000 00:00 0   
                                                                                                    35d41000-35d42000 ---p 00000000 00:00 0   
                                                                                                    35d42000-35d7f000 r-xp 00000000 00:00 0   
                                                                                                    35d7f000-3dce7000 ---p 00000000 00:00 0   
                                                                                                    3e6c0000-3e700000 rw-p 00000000 00:00 0   
                                                                                                    3e880000-3e905000 rw-p 00000000 00:00 0   
                                                                                                    3f300000-3f313000 rw-p 00000000 00:00 0   
                                                                                                    3fa80000-3fa9d000 r--p 00000000 00:00 0   
                                                                                                    43c80000-43cc0000 rw-p 00000000 00:00 0   
                                                                                                    4df80000-4dfd0000 rw-p 00000000 00:00 0   
                                                                                                    52e80000-52ec0000 rw-p 00000000 00:00 0   
                                                                                                    54ec0000-54f00000 rw-p 00000000 00:00 0   
                                                                                                    5a540000-5a580000 rw-p 00000000 00:00 0   
                                                                                                    5ad00000-5ad40000 rw-p 00000000 00:00 0   
                                                                                                    5b080000-5b0c0000 rw-p 00000000 00:00 0   
                                                                                                    5ae2ad7000-5ae2ad8000 r-xp 00000000 fd:1c 921438                         /data/app/~~S1sDpyUY6wAu-ok9E8r4LA==/cn.bxsoft.yzzf-Vhu1PmxaC6CaGQ5vfGz2eQ==/lib/arm64/libweexjsb.so  
                                                                                                    5ae2ad8000-5ae2ad9000 r--p 00000000 fd:1c 921438                         /data/app/~~S1sDpyUY6wAu-ok9E8r4LA==/cn.bxsoft.yzzf-Vhu1PmxaC6CaGQ5vfGz2eQ==/lib/arm64/libweexjsb.so  
                                                                                                    5ae2ad9000-5ae2ada000 rw-p 00000000 fd:1c 921438                         /data/app/~~S1sDpyUY6wAu-ok9E8r4LA==/cn.bxsoft.yzzf-Vhu1PmxaC6CaGQ5vfGz2eQ==/lib/arm64/libweexjsb.so  
                                                                                                    6e18534000-6e18535000 ---p 00000000 00:00 0   
                                                                                                    6e18535000-6e18636000 rw-p 00000000 00:00 0                              [anon:scudo:secondary]  
                                                                                                    6e18636000-6e18638000 ---p 00000000 00:00 0   
                                                                                                    6e18638000-6e18739000 rw-p 00000000 00:00 0                              [anon:scudo:secondary]  
                                                                                                    6e18739000-6e1873b000 ---p 00000000 00:00 0   
                                                                                                    6e1873b000-6e187bc000 rw-p 00000000 00:00 0                              [anon:scudo:secondary]  
                                                                                                    6e187bc000-6e187bd000 ---p 00000000 00:00 0   
                                                                                                    6e987c0000-6e98800000 rw-p 00000000 00:00 0   
                                                                                                    6e98800000-6e98f00000 ---p 00000000 00:00 0   
                                                                                                    6e98f00000-6e98f02000 rw-p 00000000 00:00 0   
                                                                                                    6e98f02000-6e9a27e000 ---p 00000000 00:00 0   
                                                                                                    6e9a27e000-6e9a280000 rw-p 00000000 00:00 0   
                                                                                                    6e9a280000-6e9a800000 ---p 00000000 00:00 0   
                                                                                                    6e9a800000-6e9a801000 rw-p 00000000 00:00 0   
                                                                                                    6e9a840000-6e9ab58000 ---p 00000000 00:00 0   
                                                                                                    6e9ab58000-6e9ab5a000 rw-p 00000000 00:00 0   
                                                                                                    6e9ab5a000-6e9be46000 ---p 00000000 00:00 0   
                                                                                                    6e9be46000-6e9be48000 rw-p 00000000 00:00 0   
                                                                                                    6e9be48000-6e9d476000 ---p 00000000 00:00 0   
                                                                                                    6e9d476000-6e9d478000 rw-p 00000000 00:00 0   
                                                                                                    6e9d478000-6e9d840000 ---p 00000000 00:00 0   
                                                                                                    6e9d840000-6e9d880000 rw-p 00000000 00:00 0   
                                                                                                    6e9d888000-6e9db20000 ---p 00000000 00:00 0   
                                                                                                    6e9db20000-6e9db22000 rw-p 00000000 00:00 0   
                                                                                                    6e9db22000-6e9ed98000 ---p 00000000 00:00 0   
                                                                                                    6e9ed98000-6e9ed9a000 rw-p 00000000 00:00 0   
                                                                                                    6e9ed9a000-6ea0196000 ---p 00000000 00:00 0   
                                                                                                    6ea0196000-6ea0198000 rw-p 00000000 00:00 0   
                                                                                                    6ea0198000-6ea0888000 ---p 00000000 00:00 0   
                                                                                                    6ea0888000-6ea0889000 ---p 00000000 00:00 0   
                                                                                                    6ea0889000-6ea0984000 rw-p 00000000 00:00 0                              [anon:stack_and_tls:23182]  
                                                                                                    6ea0984000-6ea0986000 ---p 00000000 00:00 0   
                                                                                                    6ea0986000-6ea0a81000 rw-p 00000000 00:00 0                              [anon:stack_and_tls:23181]  
                                                                                                    6ea0a81000-6ea0a83000 ---p 00000000 00:00 0   
                                                                                                    6ea0a83000-6ea0b7e000 rw-p 00000000 00:00 0                              [anon:stack_and_tls:23180]  
                                                                                                    6ea0b7e000-6ea0b80000 ---p 00000000 00:00 0   
                                                                                                    6ea0b80000-6ea0c7b000 rw-p 00000000 00:00 0                              [anon:stack_and_tls:23179]  
                                                                                                    6ea0c7b000-6ea0c7d000 ---p 00000000 00:00 0   
                                                                                                    6ea0c7d000-6ea0d78000 rw-p 00000000 00:00 0                              [anon:stack_and_tls:23178]  
                                                                                                    6ea0d78000-6ea0d7a000 ---p 00000000 00:00 0   
                                                                                                    6ea0d7a000-6ea0e75000 rw-p 00000000 00:00 0                              [anon:stack_and_tls:23177]  
                                                                                                    6ea0e75000-6ea0e77000 ---p 00000000 00:00 0   
                                                                                                    6ea0e7700  
2024-08-01 09:35:56.592 19254-19254 Html5Plus-SplashClosed  cn.bxsoft.yzzf                       E  1722476156592  
2024-08-01 09:35:56.592 19254-19254 Main_Path               cn.bxsoft.yzzf                       E  closeSplashScreen0 appid=__UNI__6C55B79;true;closeSplashDid=true  
2024-08-01 09:35:57.169 19218-19218 AwareBitmapCacher       cn.bxsoft.yzzf                       I  handleReleaseCache: pid=19218  
2024-08-01 09:35:57.169 19218-19218 AwareBitmapCacher       cn.bxsoft.yzzf                       I  init lrucache size: 4194304 pid=19218  
2024-08-01 09:36:02.658 19254-19254 Html5Plus-SplashClosed  cn.bxsoft.yzzf                       E  1722476162658  
2024-08-01 09:36:02.659 19254-19254 Main_Path               cn.bxsoft.yzzf                       E  closeSplashScreen0 appid=__UNI__6C55B79;true;closeSplashDid=false  
2024-08-01 09:36:02.668 19254-19254 libc                    cn.bxsoft.yzzf                       W  Access denied finding property "qemu.hw.mainkeys"  
2024-08-01 09:36:02.664 19254-19254 oft.yzzf:unimp0         cn.bxsoft.yzzf                       W  type=1400 audit(0.0:244477): avc:  denied  { read } for  name="u:object_r:qemu_hw_prop:s0" dev="tmpfs" ino=510 scontext=u:r:untrusted_app_32:s0:c33,c257,c512,c768 tcontext=u:object_r:qemu_hw_prop:s0 tclass=file permissive=0  
2024-08-01 09:36:02.682 19254-19254 PhoneWindow             cn.bxsoft.yzzf                       I  REFRESH_STATUS_BAR_ATTRS OnContentApplyWindowInsetsListener has SYSTEM_UI_LAYOUT_FLAGS

操作步骤:

只需要重复打开小程序然后杀掉小程序后台或者调用IUniMP.closeUniMP()重复打开关闭的步骤就会复现。

预期结果:

每次小程序打开正常显示

实际结果:

每次小程序打开有几率白屏

bug描述:

按照官网的示例配置,在用idea通过usb接口调试在真机测试有复现,只需要打开小程序在关闭多重复几次就会出现这样的问题, 在Splash加载后白屏,官方demo也有类似的问题在Splash加载完毕后小程序的内容白屏只有tabbar显示。

2024-08-01 09:43 负责人:无 分享
已邀请:
2***@qq.com

2***@qq.com (作者)

测试了模拟器和真机发现是Android14的都有这个问题,Android14以下的就没有,是sdk的问题吗适应不了新的Android,sdk什么时候更新呢现在只有4.15的版本

DCloud_Android_DQQ

DCloud_Android_DQQ

我使用 google pixle 4a (Android 14) 运行官网demo未复现问题。能否提供一下可以复现问题的示例

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

    我今天看到sdk更新了,我试试用新的sdk,晚点答复您

    2024-09-12 10:30

要回复问题请先登录注册