Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不知道为什么 测试运行没问题,但是正式打包后主要用这个就闪退 #1

Open
zhangruiyu opened this issue Jan 9, 2025 · 10 comments
Assignees

Comments

@zhangruiyu
Copy link

不知道需要添加什么吗
我也很纳闷为什么 错误信息也看不出来什么 方便给个联系方式吗

@zhangruiyu
Copy link
Author

这个正式打包不是release的测试签名包 是打正式签名的release包 提交审核时候就闪退

@zhangruiyu
Copy link
Author

01-09 14:54:04.318 53595-53595 C02C11/com.niu...next/APPSPAWN apppool E [sandbox_utils.cpp:296]errno is: 13, private mount to /mnt/sandbox/100/com.niucodata.duxiang.next/vendor/etc/vulkan failed
01-09 14:54:04.323 53595-53595 C02C11/com.niu...next/APPSPAWN apppool E [sandbox_utils.cpp:296]errno is: 13, private mount to /mnt/sandbox/100/com.niucodata.duxiang.next/data/service/el0/public/for-all-app failed
01-09 14:54:04.325 53595-53595 C02C11/com.niu...next/APPSPAWN apppool E [sandbox_utils.cpp:296]errno is: 13, private mount to /mnt/sandbox/100/com.niucodata.duxiang.next/chip_prod/lib64/passthrough failed
01-09 14:54:04.329 53595-53595 C02C11/com.niu...next/APPSPAWN apppool E [appspawn_silk.c:118]Load silk library failed for configItems is NULL
01-09 14:54:04.354 53595-53595 C01336/com.niu...iang.next/AMS apppool E [main_thread.cpp:3474]emptye config
01-09 14:54:04.358 53595-53595 C01317/com.niu...g.next/AppKit apppool E [js_ability_stage.cpp:175]stage is nullptr
01-09 14:54:04.358 53595-53595 C01356/com.niu...next/Recovery apppool E [app_recovery.cpp:119]not enabled
01-09 14:54:04.369 53595-53595 C03F00/MUSL-LDSO apppool E Error loading header libimage_ndk.z.so, namespace default has no inherits, errno=2
01-09 14:54:04.370 53595-53595 C03F00/MUSL-LDSO apppool E Error loading header libpixelmap_ndk.z.so, namespace default has no inherits, errno=2
01-09 14:54:04.404 53595-53595 C03F01/com.niu...ang.next/NAPI apppool E [(native_module_manager.cpp:932)(GetFileBuffer)] /system/etc/abc/app/ability/want.abc is not existed.
01-09 14:54:04.404 53595-53595 C03F01/com.niu...ang.next/NAPI apppool E [(native_module_manager.cpp:1031)(FindNativeModuleByDisk)] First attempt: load app module failed. do_dlsym failed: Symbol not found: NAPI_app_ability_appRecovery_GetABCCode, version: null so=/system/lib64/module/app/ability/libapprecovery_napi.z.so
Second attempt: load app module failed. Error loading path /system/lib64/module/app/ability/libwant_napi.z.so:No such file or directory
try to load abc file from /system/etc/abc/app/ability/want.abc failed
01-09 14:54:04.404 53595-53595 C03F00/com.niu...t/ArkCompiler apppool E [default] [LoadNativeModule:455] export objects of native so is undefined, so name is entry
01-09 14:54:04.407 53595-53657 C03F00/com.niu...t/ArkCompiler apppool E ReferenceError: NativeCustomSpan is not defined
at func_main_0 (/usr1/hmos_for_system/src/increment/sourcecode/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsEnumStyle.js:3280:1)
01-09 14:54:04.407 53595-53657 C03F00/com.niu...t/ArkCompiler apppool E [ecmascript] invalid size of the string cache table or the table has been registered.
01-09 14:54:04.407 53595-53657 C03F00/com.niu...t/ArkCompiler apppool E [ecmascript] Currently, maximum size of the table is 150
01-09 14:54:04.429 53595-53595 C03F01/com.niu...ang.next/NAPI apppool E [(native_engine.cpp:712)(AddCleanupHook)] AddCleanupHook Failed.
01-09 14:54:04.452 53595-53595 C057C2/com.niu...PCObjectProxy apppool E SendRequest 168: failed, handle:12 error:1 desc:*.IBluetoothHost proxy:2720150784 time:17826219534256
01-09 14:54:04.452 53595-53595 C00101/com.niu...ofile_manager apppool E (RegisterFunc:225)remote is nullptr
01-09 14:54:04.481 53595-53595 C01F10/com.niu...allManagerApi apppool E [RegisterCallBack-(call_manager_proxy.cpp:161)] register callback to call manager service failed,result: 83886109
01-09 14:54:04.487 53595-53595 C03F01/com.niu...ang.next/NAPI apppool E [(native_engine.cpp:712)(AddCleanupHook)] AddCleanupHook Failed.
01-09 14:54:04.497 53595-53595 C01332/com.niu...ext/UIAbility apppool E [ui_ability.cpp:500]appRecovery not recovery restart
01-09 14:54:04.508 53595-53595 A00000/com.niu...erOHOS_Native apppool E system font file not found
01-09 14:54:04.509 53595-53595 A00000/com.niu...erOHOS_Native apppool E system font file not found
01-09 14:54:04.529 53595-53595 C05810/com.niu...iang.next/abr apppool E module.metadata.empty
01-09 14:54:04.529 53595-53595 C05810/com.niu...iang.next/abr apppool E module.metadata.empty
01-09 14:54:04.529 53595-53595 C05810/com.niu...iang.next/abr apppool E module.metadata.empty
01-09 14:54:04.530 53595-53595 C0470A/com.niu...meServicePerf apppool E [(CreateReportThread:100)]GameService-graphics: begin create thread
01-09 14:54:04.535 53595-53595 C01201/com.niu...t/EventRunner apppool E Do not call, if event runner is deposited
01-09 14:54:04.568 53595-53595 C03F00/MUSL-LDSO apppool E dlns_create2 ns is exist.
01-09 14:54:04.569 53595-53595 C04500/com.niu...next/chromium apppool E [nodict][check.cc:222] Check failed: false.
01-09 14:54:04.574 53595-53595 C01332/com.niu...ext/UIAbility apppool E [ui_ability_impl.cpp:296]hasSaveData_: false
01-09 14:54:04.575 53595-53595 C04200/com.niu...iang.next/WMS apppool E [] SetWindowType(1650): set window type permission denied!
01-09 14:54:04.580 53595-53595 C02800/com.niu...utManagerImpl apppool E [][PackEnhanceConfig:579] CHKPR(enhanceCfg_) is null, return value is -1
01-09 14:54:04.580 53595-53595 C02800/com.niu...utManagerImpl apppool E [][PrintEnhanceConfig:768] CHKPV(enhanceCfg_) is null
01-09 14:54:04.581 53595-53595 C04200/com.niu...etonContainer apppool E (82)GetSingleton: can not get OHOS::Rosen::WindowInfoReporter
01-09 14:54:04.581 53595-53595 C01332/com.niu...ext/UIAbility apppool E [ui_ability.cpp:266]appRecovery not recovery restart
01-09 14:54:04.587 53595-53595 A000FF/com.niu....next/Flutter apppool E FlutterViewTag --> UIContext is null, cannot send Settings!
01-09 14:54:04.608 53595-53595 C01D02/com.niu...ility_asacfwk apppool E [(AccessibilitySystemAbilityClientImpl:55)]accessibility service is ready.
01-09 14:54:04.611 53595-53595 C01406/com.niu...next/OHOS::RS apppool E FlushImplicitTransaction return, [renderServiceClient_:1, transactionData empty:1]
01-09 14:54:04.612 53595-53595 C01321/com.niu...ext/JsRuntime apppool E [connect_server_manager.cpp:430]No connected server
01-09 14:54:04.619 53595-53595 C01332/com.niu...ext/UIAbility apppool E [ui_ability_impl.cpp:414]null applicationContext or lifecycleCallback
01-09 14:54:04.619 53595-53650 C01C10/com.niu....next/ImsaKit apppool E line: 618, function: operator(),test (errcode == ErrorCode::NO_ERROR) failed: updateCursor return error!
01-09 14:54:04.619 53595-53595 C01C10/com.niu....next/ImsaKit apppool E line: 190, function: OnComplete,runStatus: [9]
01-09 14:54:04.619 53595-53595 C01C10/com.niu....next/ImsaKit apppool E line: 144, function: Convert,ErrorCode: 12800009
01-09 14:54:04.619 53595-53595 C01C10/com.niu....next/ImsaKit apppool E line: 144, function: Convert,ErrorCode: 12800009
01-09 14:54:04.627 53595-53595 A00000/com.niu...FlutterEngine apppool E Thread:391019245616 [ERROR:flutter/shell/platform/ohos/napi/platform_view_ohos_napi.cpp(234)] nativeInvokePlatformMessageResponseCallback message null
01-09 14:54:04.632 53595-53661 A00000/com.niu...FlutterEngine apppool E Thread:398059211144 [ERROR:flutter/common/graphics/persistent_cache.cc(253)] No sksl asset found.
01-09 14:54:04.678 53595-53694 A00000/com.niu...ang.next/Dart apppool E
01-09 14:54:04.678 53595-53694 C03F00/MUSL-SIGCHAIN apppool E signal_chain_handler call 2 rd sigchain action for signal: 6 sca_sigaction=5b0a0b5804 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=639 tl_lock_count_fail=-10000 tl_lock_count_tid_sub=639 thread_list_lock_after_lock=53660 thread_list_lock_pre_unlock=53660 thread_list_lock_pthread_exit=53688 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
01-09 14:54:04.931 53595-53694 C03F00/MUSL-SIGCHAIN apppool E signal_chain_handler call usr sigaction for signal: 6 sig_action.sa_sigaction=5b908e9394
01-09 14:54:04.931 53595-53694 C03F00/MUSL-SIGCHAIN apppool E signal_chain_handler call 2 rd sigchain action for signal: 6 sca_sigaction=5b0a0b5804 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=639 tl_lock_count_fail=-10000 tl_lock_count_tid_sub=639 thread_list_lock_after_lock=53660 thread_list_lock_pre_unlock=53660 thread_list_lock_pthread_exit=53688 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
01-09 14:54:04.931 53595-53694 C03F00/MUSL-SIGCHAIN apppool E signal_chain_handler call usr sigaction for signal: 6 sig_action.sa_sigaction=5b8da17508
01-09 14:54:04.934 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 11:operator():308 <<<=== ffrt black box(BBOX) start ===>>>
01-09 14:54:04.934 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 12:SaveCurrent:72 <<<=== current status ===>>>
01-09 14:54:04.934 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 13:SaveWorkerStatus:116 <<<=== worker status ===>>>
01-09 14:54:04.934 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 14:SaveWorkerStatus:123 qos 2: worker tid 53690 is running nothing
01-09 14:54:04.934 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 15:SaveWorkerStatus:123 qos 2: worker tid 53655 is running nothing
01-09 14:54:04.934 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 16:SaveWorkerStatus:123 qos 3: worker tid 53652 is running nothing
01-09 14:54:04.934 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 17:SaveWorkerStatus:123 qos 3: worker tid 53650 is running nothing
01-09 14:54:04.934 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 18:SaveKeyStatus:159 <<<=== key status ===>>>
01-09 14:54:04.934 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 19:SaveKeyStatus:161 no key status
01-09 14:54:04.934 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 20:SaveReadyQueueStatus:136 <<<=== ready queue status ===>>>
01-09 14:54:04.934 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 21:operator():181 <<<=== blocked by task dependence ===>>>
01-09 14:54:04.934 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 22:operator():187 <1/1> id 7 qos 2 name SubmitEvent
01-09 14:54:04.942 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 23:backtrace:263 Tid:53712, Name:DartWorker
#00 pc 0000000000006f28 /system/lib64/chipset-pub-sdk/libbacktrace_local.so(OHOS::HiviewDFX::GetBacktrace(std::__h::basic_string<char, std::__h::char_traits, std::__h::allocator>&, bool, unsigned long)+152)(e1192b1079c06e542fd6889262beba25)
#1 pc 0000000000054034 /system/lib64/ndk/libffrt.so(backtrace(int)+64)(c9b36af5720add83e976549f2d742f00)
simolus3#2 pc 0000000000066cb8 /system/lib64/ndk/libffrt.so(CoYield()+604)(c9b36af5720add83e976549f2d742f00)
simolus3#3 pc 00000000000a53e4 /system/lib64/ndk/libffrt.so(ffrt::this_task::SleepUntilImpl(std::__h::chrono::time_point<std::__h::chrono::steady_clock, std::__h::chrono::duration<long long, std::__h::ratio<1l, 1000000000l>>> const&)+356)(c9b36af5720add83e976549f2d742f00)
simolus3#4 pc 00000000000a5b30 /system/lib64/ndk/libffrt.so(ffrt_usleep+60)(c9b36af5720add83e976549f2d742f00)
simolus3#5 pc 0000000000051fd8 /system/lib64/ndk/libffrt.so(c9b36af5720add83e976549f2d742f00)
simolus3#6 pc 00000000000a8b24 /system/lib64/ndk/libffrt.so(ffrt::CPUEUTask::Execute()+168)(c9b36af5720add83e976549f2d742f00)
simolus3#7 pc 0000000000067e78 /system/lib64/ndk/libffrt.so(c9b36af5720add83e976549f2d742f00)
01-09 14:54:04.942 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 24:operator():181 <<<=== pending task ===>>>
01-09 14:54:04.942 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 25:operator():187 <1/1> id 8 qos 2 name SubmitEvent
01-09 14:54:04.942 53595-53712 C01719/com.niu...ang.next/ffrt apppool E 26:operator():318 <<<=== ffrt black box(BBOX) finish ===>>>
01-09 14:54:04.942 53595-53694 C03F00/MUSL-SIGCHAIN apppool E signal_chain_handler call 2 rd sigchain action for signal: 6 sca_sigaction=5b0a0b5804 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=639 tl_lock_count_fail=-10000 tl_lock_count_tid_sub=639 thread_list_lock_after_lock=53712 thread_list_lock_pre_unlock=53694 thread_list_lock_pthread_exit=53688 thread_list_lock_tid_overlimit=-1 tl_lock_unlock_count=1 __pthread_gettid_np_tl_lock=0 __pthread_exit_tl_lock=1 __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
01-09 14:54:04.942 53595-53694 C03F00/MUSL-SIGCHAIN apppool E signal_chain_handler SIG_DFL handler for signal: 6
01-09 14:54:04.945 53595-53694 C03F00/MUSL-SIGCHAIN apppool E pid(53595) rethrow sig(6) success.

@zhangruiyu
Copy link
Author

爆红日志

@zhangruiyu
Copy link
Author

https://gitee.com/harmonycommando_flutter/flutter/issues/IBGCNP
搜到个不知道对不对的方案 我看确实有Pointer.fromFunction方法

@zhangruiyu
Copy link
Author

@SageMik 哈喽 能帮忙看看吗

@SageMik SageMik self-assigned this Jan 16, 2025
@SageMik
Copy link
Owner

SageMik commented Jan 19, 2025

https://gitee.com/harmonycommando_flutter/flutter/issues/IBHGKG?from=project-issue

@zhangruiyu 这一条应该你提的 issue 吧?我本地确实复现不了这个问题,无从下手,所以需要了解几个问题:

  1. 注释掉 Pointer.fromFunction 也会闪退,这个时候的闪退日志和注释掉之前是一样的吗?顺便想问一下,我对鸿蒙应用的发布上架不太了解,这个报错日志怎么得到呢?是提交审核之后,然后是审核那边说闪退然后给出来的吗?
  2. 根据上一条和 harmonyOS4.1.0(11) 模拟器启动加载异常退出 ,你的 APP 用的 HarmonyOS SDK 版本应该是 5.0.0(12) 吧,是否有向下兼容版本呢?审核那边是用哪个版本的手机测试的呢?
  3. 是否能确定就是这个库引起的崩溃?比如之前没有这个库正常上架发布,用了这个库就崩溃了?我看报错日志,像是哪个地方的问题引发了 Flutter SDK 的崩溃。能否试一下去除这个库,或者更新一下突击队的 Flutter SDK 试试看呢?
  4. 最后这个 rethrow sig(6) success. ,我还在 HarmonyOS调用napi_call_function方法时崩溃 看到类似报错,不知道有没有帮助。

@zhangruiyu
Copy link
Author

感谢回复
1,具体崩溃日志是我打包提交测试审核,就像ios那个tf一样,可以内部设备运行,最开始提交正式上架审核,一直被拒绝说是闪退。后来我尝试打包后提交内部审核得到的日志就是发的
2,最开始我也是怀疑环境问题,重装了flutter,用的突击队最新依旧这样,api版本也是最的
关于确实是否这个问题引起的闪退,感觉应该可以确认,目前给这个插件去除就不闪退了,加上打包后就闪退。

@zhangruiyu
Copy link
Author

准备明天试试创建个空项目试试。太难顶了,这个主要本地运行无法复现是最难搞的

@zhangruiyu
Copy link
Author

今天试了下空项目直接崩溃,就是例子里的代码Screenshot_20250121_183930_com.netease.mobimail.png

方便加下联系方式吗😂

@SageMik
Copy link
Owner

SageMik commented Jan 21, 2025

@zhangruiyu 我在 HarmonyCandies 群里,你可以搜到我的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants