Harmony next 项目接入 cocos 3.8.6 之后 退出页面Crash

  • Creator 版本:3.8.6

  • 目标平台: Harmony Next

  • 重现方式:空项目,把cocos页面改为二级页面,点击进入cocos页面,再退出页面。

  • 首个报错: 16:09:04 [INFO]: NapiHelper::napiOnBackPress
    07-27 16:09:05.443 38222-38222 C03930/com.exam…AceAnimation com.examp…stcocos2 I [(100000:100000:scope)] pageTransition in finish, nodeId:7
    07-27 16:09:05.443 38222-38222 C03925/com.exa…os2/AceRouter com.examp…stcocos2 I [(100000:100000:scope)] cocosMain finish inPage transition.
    07-27 16:09:05.443 38222-38222 C03925/com.exa…os2/AceRouter com.examp…stcocos2 I [(100000:100000:scope)] cocosIndex finish out page transition.
    07-27 16:09:05.443 38222-38222 C0391C/com.exa…cos2/AceFocus com.examp…stcocos2 I [(100000:100000:scope)] view: page/12 close
    07-27 16:09:05.443 38222-38222 C0391C/com.exa…cos2/AceFocus com.examp…stcocos2 I [(100000:100000:scope)] View: page/12 lost focus
    07-27 16:09:05.443 38222-38222 C03931/com.exa…AceXcomponent com.examp…stcocos2 I [(100000:100000:scope)] UninitializeAccessibility
    07-27 16:09:05.443 38222-38222 C03931/com.exa…AceXcomponent com.examp…stcocos2 I [(100000:100000:scope)] XComponent[xcomponentId] DetachFromMainTree
    07-27 16:09:05.444 38222-38222 A03D00/com.exa…tcocos2/JSAPP com.examp…stcocos2 I [LIFECYCLE-Index] cocos aboutToDisappear
    07-27 16:09:05.445 38222-38222 C03931/com.exa…AceXcomponent com.examp…stcocos2 I [(100000:100000:scope)] XComponent[xcomponentId] native OnSurfaceDestroyed
    07-27 16:09:05.445 38222-38222 A03D00/com.exa…tcocos2/JSAPP com.examp…stcocos2 I cocos onDestroy
    07-27 16:09:05.445 38222-38222 C03931/com.exa…AceXcomponent com.examp…stcocos2 I [(100000:100000:scope)] XComponent[xcomponentId] onDestroy
    07-27 16:09:05.446 38222-38222 C01406/com.exa…cos2/OHOS::RS com.examp…stcocos2 I RSSurfaceNode::~RSSurfaceNode, Node: 164162239987726, Name: xcomponentIdSurface
    07-27 16:09:05.459 38222-39514 A00000/com.exa…ocos2/HMG_LOG com.examp…stcocos2 I 16:09:05 [INFO]: onMessageCallback WM_XCOMPONENT_SURFACE_DESTROY …
    07-27 16:09:05.854 38222-38470 C03F00/com.exa…cos2/ArkEtsVm com.examp…stcocos2 I [nodict][a92ab21220cfca8 0 0]gc: App cold start finished
    07-27 16:09:06.099 38222-39523 C01401/com.exa…2/Bufferqueue com.examp…stcocos2 E <native_window.cpp:229-NativeWindowRequestBuffer>: RequestBuffer ret:41202000, uniqueId: 6760278529834.
    07-27 16:09:06.099 38222-39523 A00000/com.exa…ocos2/HMG_LOG com.examp…stcocos2 E 16:09:06 [ERROR]: [ERROR] file /Applications/Cocos/Creator/3.8.6/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp: line 1929
    07-27 16:09:06.099 38222-39523 A00000/com.exa…ocos2/HMG_LOG com.examp…stcocos2 E 16:09:06 [ERROR]: glClear(glClears) returned GL error: 0x505
    07-27 16:09:06.100 38222-39523 C03F07/MUSL-SIGCHAIN com.examp…stcocos2 W signal_chain_handler call 0 rd sigchain action for signal: 6 sca_sigaction=5bda81551c noreturn=0 FREEZE_signo_6 thread_list_lock_status:-1 tl_lock_count=0 tl_lock_waiters=0 tl_lock_tid_fail=-1 tl_lock_count_tid=610 tl_lock_count_fail=-10000 tl_lock_count_tid_sub=610 thread_list_lock_after_lock=39529 thread_list_lock_pre_unlock=39523 thread_list_lock_pthread_exit=39529 thread_list_lock_tid_overlimit=-1 tl_lock_unlock_count=0 __pthread_gettid_np_tl_lock=0 __pthread_exit_tl_lock=0 __pthread_create_tl_lock=0 __pthread_key_delete_tl_lock=0 __synccall_tl_lock=0 __membarrier_tl_lock=0 install_new_tls_tl_lock=0 set_syscall_hooks_tl_lock=0 set_syscall_hooks_linux_tl_lock=0 fork_tl_lock=0 register_count=0 __custom_hook_flag=0g_dlcloseLockStatus=0g_dlcloseLockLastExitTid=39514
    07-27 16:09:06.100 38222-39523 C03F07/MUSL-SIGCHAIN com.examp…stcocos2 W signal_chain_handler call 3 rd sigchain action for signal: 6 sca_sigaction=5b52d08208 noreturn=0 FREEZE_signo_6 thread_list_lock_status:-1 tl_lock_count=0 tl_lock_waiters=0 tl_lock_tid_fail=-1 tl_lock_count_tid=610 tl_lock_count_fail=-10000 tl_lock_count_tid_sub=610 thread_list_lock_after_lock=39529 thread_list_lock_pre_unlock=39523 thread_list_lock_pthread_exit=39529 thread_list_lock_tid_overlimit=-1 tl_lock_unlock_count=0 __pthread_gettid_np_tl_lock=0 __pthread_exit_tl_lock=0 __pthread_create_tl_lock=0 __pthread_key_delete_tl_lock=0 __synccall_tl_lock=0 __membarrier_tl_lock=0 install_new_tls_tl_lock=0 set_syscall_hooks_tl_lock=0 set_syscall_hooks_linux_tl_lock=0 fork_tl_lock=0 register_count=0 __custom_hook_flag=0g_dlcloseLockStatus=0g_dlcloseLockLastExitTid=39514
    07-27 16:09:06.100 38222-39523 C02D11/DfxSignalHandler com.examp…stcocos2 I DFX_SignalHandler :: signo(6), si_code(-6), pid(38222), tid(39523).
    07-27 16:09:06.100 38222-39523 C02D11/DfxSignalHandler com.examp…stcocos2 I g_GetStackIdFunc .
    07-27 16:09:06.101 38222-39523 C02D11/DfxSignalHandler com.examp…stcocos2 I DFX_SignalHandler :: signo(6), pid(38222), processName(com.example.testcocos2), threadName(WorkerThread_Co).
    07-27 16:09:06.273 38222-39523 C02D11/DfxSignalHandler com.examp…stcocos2 E dummy exit (0)
    07-27 16:09:06.727 38222-39523 C02D11/DfxSignalHandler com.examp…stcocos2 E dummy exit (0)
    07-27 16:09:06.727 38222-39523 C02D11/DfxSignalHandler com.examp…stcocos2 I crash processdump unwind finish, unwind success Flag 610839791, blockFlag 0
    07-27 16:09:06.727 38222-39523 C02D11/DfxSignalHandler com.examp…stcocos2 I Finish handle signal(6) in 38222:39523.
    07-27 16:09:06.727 38222-39523 C03F07/MUSL-SIGCHAIN com.examp…stcocos2 W signal_chain_handler call usr sigaction for signal: 6 sig_action.sa_sigaction=5bdad49388
    07-27 16:09:06.727 38222-39523 C03F07/MUSL-SIGCHAIN com.examp…stcocos2 W signal_chain_handler call 0 rd sigchain action for signal: 6 sca_sigaction=5bda81551c noreturn=0 FREEZE_signo_6 thread_list_lock_status:-1 tl_lock_count=0 tl_lock_waiters=0 tl_lock_tid_fail=-1 tl_lock_count_tid=610 tl_lock_count_fail=-10000 tl_lock_count_tid_sub=610 thread_list_lock_after_lock=39529 thread_list_lock_pre_unlock=39523 thread_list_lock_pthread_exit=39529 thread_list_lock_tid_overlimit=-1 tl_lock_unlock_count=0 __pthread_gettid_np_tl_lock=0 __pthread_exit_tl_lock=0 __pthread_create_tl_lock=0 __pthread_key_delete_tl_lock=0 __synccall_tl_lock=0 __membarrier_tl_lock=0 install_new_tls_tl_lock=0 set_syscall_hooks_tl_lock=0 set_syscall_hooks_linux_tl_lock=0 fork_tl_lock=0 register_count=0 __custom_hook_flag=0g_dlcloseLockStatus=0g_dlcloseLockLastExitTid=39514
    07-27 16:09:06.727 38222-39523 C03F07/MUSL-SIGCHAIN com.examp…stcocos2 W signal_chain_handler call 3 rd sigchain action for signal: 6 sca_sigaction=5b52d08208 noreturn=0 FREEZE_signo_6 thread_list_lock_status:-1 tl_lock_count=0 tl_lock_waiters=0 tl_lock_tid_fail=-1 tl_lock_count_tid=610 tl_lock_count_fail=-10000 tl_lock_count_tid_sub=610 thread_list_lock_after_lock=39529 thread_list_lock_pre_unlock=39523 thread_list_lock_pthread_exit=39529 thread_list_lock_tid_overlimit=-1 tl_lock_unlock_count=0 __pthread_gettid_np_tl_lock=0 __pthread_exit_tl_lock=0 __pthread_create_tl_lock=0 __pthread_key_delete_tl_lock=0 __synccall_tl_lock=0 __membarrier_tl_lock=0 install_new_tls_tl_lock=0 set_syscall_hooks_tl_lock=0 set_syscall_hooks_linux_tl_lock=0 fork_tl_lock=0 register_count=0 __custom_hook_flag=0g_dlcloseLockStatus=0g_dlcloseLockLastExitTid=39514
    07-27 16:09:06.727 38222-39523 C02D11/DfxSignalHandler com.examp…stcocos2 I DFX_SignalHandler :: signo(6), si_code(-6), pid(38222), tid(39523).
    07-27 16:09:06.727 38222-39523 C03F07/MUSL-SIGCHAIN com.examp…stcocos2 W signal_chain_handler call usr sigaction for signal: 6 sig_action.sa_sigaction=5bec73a614
    07-27 16:09:06.728 38222-39523 C03F00/com.exa…cos2/ArkEtsVm com.examp…stcocos2 W [nodict]runtime: panda vm can not handle sig 6, call next handler
    07-27 16:09:06.855 38222-39523 C03F07/MUSL-SIGCHAIN com.examp…stcocos2 W signal_chain_handler call 0 rd sigchain action for signal: 6 sca_sigaction=5bda81551c noreturn=0 FREEZE_signo_6 thread_list_lock_status:-1 tl_lock_count=0 tl_lock_waiters=0 tl_lock_tid_fail=-1 tl_lock_count_tid=610 tl_lock_count_fail=-10000 tl_lock_count_tid_sub=610 thread_list_lock_after_lock=39529 thread_list_lock_pre_unlock=39523 thread_list_lock_pthread_exit=39529 thread_list_lock_tid_overlimit=-1 tl_lock_unlock_count=0 __pthread_gettid_np_tl_lock=0 __pthread_exit_tl_lock=0 __pthread_create_tl_lock=0 __pthread_key_delete_tl_lock=0 __synccall_tl_lock=0 __membarrier_tl_lock=0 install_new_tls_tl_lock=0 set_syscall_hooks_tl_lock=0 set_syscall_hooks_linux_tl_lock=0 fork_tl_lock=0 register_count=0 __custom_hook_flag=0g_dlcloseLockStatus=0g_dlcloseLockLastExitTid=39514
    07-27 16:09:06.855 38222-39523 C03F07/MUSL-SIGCHAIN com.examp…stcocos2 W signal_chain_handler call 3 rd sigchain action for signal: 6 sca_sigaction=5b52d08208 noreturn=0 FREEZE_signo_6 thread_list_lock_status:-1 tl_lock_count=0 tl_lock_waiters=0 tl_lock_tid_fail=-1 tl_lock_count_tid=610 tl_lock_count_fail=-10000 tl_lock_count_tid_sub=610 thread_list_lock_after_lock=39529 thread_list_lock_pre_unlock=39523 thread_list_lock_pthread_exit=39529 thread_list_lock_tid_overlimit=-1 tl_lock_unlock_count=0 __pthread_gettid_np_tl_lock=0 __pthread_exit_tl_lock=0 __pthread_create_tl_lock=0 __pthread_key_delete_tl_lock=0 __synccall_tl_lock=0 __membarrier_tl_lock=0 install_new_tls_tl_lock=0 set_syscall_hooks_tl_lock=0 set_syscall_hooks_linux_tl_lock=0 fork_tl_lock=0 register_count=0 __custom_hook_flag=0g_dlcloseLockStatus=0g_dlcloseLockLastExitTid=39514
    07-27 16:09:06.855 38222-39523 C02D11/DfxSignalHandler com.examp…stcocos2 I DFX_SignalHandler :: signo(6), si_code(-6), pid(38222), tid(39523).
    07-27 16:09:06.855 38222-39523 C03F07/MUSL-SIGCHAIN com.examp…stcocos2 W signal_chain_handler SIG_DFL handler for signal: 6
    07-27 16:09:06.855 38222-39523 C03F07/MUSL-SIGCHAIN com.examp…stcocos2 W pid(38222) rethrow sig(6) success.

  • 之前哪个版本是正常的:

  • 手机型号: mate 60 pro

  • 手机浏览器:

  • 编辑器操作系统:

  • 重现概率:100%