Cocos creator crash on device Xiaomi Redmi

Cocos creator crash on device Xiaomi Redmi
0

my app crash randomly on XiaomiRedmi Note 5 Pro (whyred) , Redmi Note 7 (lavender) and ZTE B2017G (tulip)

NDK r16b

android version 9 and 8.1

Creator version?(2.0.9)

app link:


********** Crash dump: **********

Build fingerprint: ‘xiaomi/lavender/lavender:9/PKQ1.180904.001/V10.3.5.0.PFGMIXM:user/release-keys’

pid: 30814, tid: 31058, name: V8 WorkerThread >>> td.bagato.studio <<<

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x77f131d000

Stack frame #00 pc 000000000001e088 /system/lib64/libc.so (memcpy+280)

Stack frame #01 pc 0000000000f919a8 /data/app/td.bagato.studio-vCa7e4xAe_iFbWrf-Ob13g==/lib/arm64/libcocos2djs.so: Routine v8::internal::Scavenger::ScavengeObject(v8::internal::HeapObject**, v8::internal::HeapObject*) at :?

Stack frame #02 pc 0000000000f925c4 /data/app/td.bagato.studio-vCa7e4xAe_iFbWrf-Ob13g==/lib/arm64/libcocos2djs.so: Routine v8::internal::IterateAndScavengePromotedObjectsVisitor::VisitPointers(v8::internal::HeapObject*, v8::internal::Object**, v8::internal::Object**) at :?

Stack frame #03 pc 0000000000f91424 /data/app/td.bagato.studio-vCa7e4xAe_iFbWrf-Ob13g==/lib/arm64/libcocos2djs.so: Routine v8::internal::Scavenger::Process(v8::internal::OneshotBarrier*) at :?

Stack frame #04 pc 0000000000d94e68 /data/app/td.bagato.studio-vCa7e4xAe_iFbWrf-Ob13g==/lib/arm64/libcocos2djs.so: Routine v8::internal::ScavengingTask::RunInParallel() at :?

Stack frame #05 pc 0000000000d94c30 /data/app/td.bagato.studio-vCa7e4xAe_iFbWrf-Ob13g==/lib/arm64/libcocos2djs.so: Routine v8::internal::ItemParallelJob::Task::RunInternal() at :?

Stack frame #06 pc 0000000000445e9c /data/app/td.bagato.studio-vCa7e4xAe_iFbWrf-Ob13g==/lib/arm64/libcocos2djs.so: Routine v8::platform::WorkerThread::Run() at :?

Stack frame #07 pc 000000000043c080 /data/app/td.bagato.studio-vCa7e4xAe_iFbWrf-Ob13g==/lib/arm64/libcocos2djs.so: Routine v8::base::ThreadEntry(void*) at :?

Stack frame #08 pc 0000000000090328 /system/lib64/libc.so (__pthread_start(void*)+36)

Stack frame #09 pc 0000000000023a28 /system/lib64/libc.so (__start_thread+68)

Crash dump is completed

@slackmoehrle i need help :frowning:

I need to ask @jare to help. The team is on holiday for a few days but will get back to you.

I got this too. and I gave the feedback to Google and XiaoMi about one year ago, but none of them could help to resolve this crash. There are lots of crashes happen every day in our game.

You could also refer to https://bugs.chromium.org/p/v8/issues/detail?id=9034&q=&colspec=ID%20Type%20Status%20Priority%20Owner%20Summary%20HW%20OS%20Component%20Stars

A core developer from Google V8 team said that it’s not a bug of v8, it’s the bug of kernel inside Redmi phone.
It sucks for a year more without any one could help me.

A developer from XiaoMi said that they made some kernel optimization for memory and may probably trigger this issue, he told me to close JIT to avoid this crash on Redmi phone. I did that, but still get tons of these crashes every day.

1 Like