android 开webview 长时间挂机,音效崩溃

cocos 3.5.0 版本 打包 web手机版
android 开webview 运行
08-27 09:08:51.024 F/DEBUG (12285): Build fingerprint: ‘rockchip/rk3588_s:12/SQ3A.220705.003.A1/eng.230913.091649:userdebug/release-keys’
08-27 09:08:51.024 F/DEBUG (12285): Revision: ‘0’
08-27 09:08:51.024 F/DEBUG (12285): ABI: ‘arm64’
08-27 09:08:51.024 F/DEBUG (12285): Timestamp: 2024-08-27 09:08:50.711807478+0800
08-27 09:08:51.024 F/DEBUG (12285): Process uptime: 44740s
08-27 09:08:51.024 F/DEBUG (12285): Cmdline: com.longmei.lm
08-27 09:08:51.024 F/DEBUG (12285): pid: 16096, tid: 14363, name: AudioTrack >>> com.longmei.lm <<<
08-27 09:08:51.024 F/DEBUG (12285): uid: 10072
08-27 09:08:51.024 F/DEBUG (12285): tagged_addr_ctrl: 0000000000000001
08-27 09:08:51.024 F/DEBUG (12285): signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
08-27 09:08:51.025 F/DEBUG (12285): x0 0000000000000000 x1 000000000000381b x2 0000000000000006 x3 0000007bbbeac650
08-27 09:08:51.025 F/DEBUG (12285): x4 0000000000000784 x5 0000000000000784 x6 0000000000000784 x7 3ac0068bbce144e6
08-27 09:08:51.025 F/DEBUG (12285): x8 00000000000000f0 x9 b2570fdc2c6a0bb1 x10 0000000000000000 x11 ffffff80fffffbdf
08-27 09:08:51.025 F/DEBUG (12285): x12 0000000000000001 x13 0000007ef549c040 x14 0000000000444452 x15 00000498f69945a1
08-27 09:08:51.025 F/DEBUG (12285): x16 0000007f0ed59050 x17 0000007f0ed35db0 x18 0000007b7b25c000 x19 0000000000003ee0
08-27 09:08:51.025 F/DEBUG (12285): x20 000000000000381b x21 00000000ffffffff x22 0000000000000001 x23 0000007c57f33a58
08-27 09:08:51.025 F/DEBUG (12285): x24 0000007bbbead000 x25 0000000000000001 x26 0000000000000049 x27 0000007f114eaf38
08-27 09:08:51.025 F/DEBUG (12285): x28 0000007bbbeac9e8 x29 0000007bbbeac6d0
08-27 09:08:51.025 F/DEBUG (12285): lr 0000007f0ece8aa0 sp 0000007bbbeac630 pc 0000007f0ece8acc pst 0000000000001000
08-27 09:08:51.025 F/DEBUG (12285): backtrace:
08-27 09:08:51.025 F/DEBUG (12285): #00 pc 000000000004facc /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: cd7952cb40d1a2deca6420c2da7910be)
08-27 09:08:51.025 F/DEBUG (12285): #01 pc 0000000000025f84 /system/lib64/libaaudio_internal.so (aaudio::AudioStreamLegacy::getBestTimestamp(int, long*, long*, android::ExtendedTimestamp*)+328) (BuildId: f5120b3570535d62a22110492c6fb491)
08-27 09:08:51.025 F/DEBUG (12285): #02 pc 000000000002ab30 /system/lib64/libaaudio_internal.so (aaudio::AudioStreamTrack::getTimestamp(int, long*, long*)+224) (BuildId: f5120b3570535d62a22110492c6fb491)
08-27 09:08:51.025 F/DEBUG (12285): #03 pc 000000000286a834 /data/data/com.longmei.lm/app_tbs_64/core_share/libmttwebview.so (BuildId: bb370039f54237d394c87a72e9533069a6e7a9c2)
08-27 09:08:51.025 F/DEBUG (12285): #04 pc 000000000002252c /system/lib64/libaaudio_internal.so (aaudio::AudioStream::maybeCallDataCallback(void*, int)+192) (BuildId: f5120b3570535d62a22110492c6fb491)
08-27 09:08:51.025 F/DEBUG (12285): #05 pc 00000000000251d4 /system/lib64/libaaudio_internal.so (aaudio::AudioStreamLegacy::callDataCallbackFrames(unsigned char*, int)+304) (BuildId: f5120b3570535d62a22110492c6fb491)
08-27 09:08:51.025 F/DEBUG (12285): #06 pc 000000000002e550 /system/lib64/libaaudio_internal.so (FixedBlockReader::processVariableBlock(unsigned char*, int)+236) (BuildId: f5120b3570535d62a22110492c6fb491)
08-27 09:08:51.025 F/DEBUG (12285): #07 pc 00000000000259b0 /system/lib64/libaaudio_internal.so (aaudio::AudioStreamLegacy::processCallbackCommon(int, void*)+868) (BuildId: f5120b3570535d62a22110492c6fb491)
08-27 09:08:51.025 F/DEBUG (12285): #08 pc 0000000000087bd0 /system/lib64/libaudioclient.so (android::AudioTrack::processAudioBuffer()+2364) (BuildId: afcc1167d2f037f02235cebd84457d00)
08-27 09:08:51.025 F/DEBUG (12285): #09 pc 0000000000086fac /system/lib64/libaudioclient.so (android::AudioTrack::AudioTrackThread::threadLoop()+272) (BuildId: afcc1167d2f037f02235cebd84457d00)
08-27 09:08:51.025 F/DEBUG (12285): #10 pc 000000000001215c /system/lib64/libutils.so (android::thread::_threadLoop(void*)+460) (BuildId: c1f7ebcd9c7d12c6107c4834ed56b006)
08-27 09:08:51.025 F/DEBUG (12285): #11 pc 00000000000c1318 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+144) (BuildId: b83575ba848632e0a70b0bff58923185)
08-27 09:08:51.025 F/DEBUG (12285): #12 pc 0000000000011964 /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+404) (BuildId: c1f7ebcd9c7d12c6107c4834ed56b006)
08-27 09:08:51.026 F/DEBUG (12285): #13 pc 00000000000b1810 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: cd7952cb40d1a2deca6420c2da7910be)
08-27 09:08:51.026 F/DEBUG (12285): #14 pc 00000000000512f0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: cd7952cb40d1a2deca6420c2da7910be)
08-27 09:08:51.150 E/tombstoned( 370): Tombstone written to: tombstone_02

有人遇到同样的问题吗 挂机24小时就app 就崩溃了

如果从项目设置里关闭音效 ,app是正常的 不会崩溃

大佬们 来看看吧,cocos creator 3.5.0打包手机版 空项目 场景就挂在一个循环背景,andriod 开webview 运行,挂机 8 小时,崩溃,目前测试设备 小米 pad 5

你好,我也遇到了这个问题,请问你是否已经解决。引起的缘由是什么,解决方法是什么呢

1赞

不知道什么原因,后来改成Android播放了

1赞