如何写精华回答,获更多曝光?
发布
问题:com.ohos.systemui系统应用启动有时异常有时正常&其他OH APP多数无法启动
环境:系统为oh5.1.0R版本,SoC为RK3588
最后的故障日志:
W C01342/ServiceExt: [js_service_extension.cpp:580]Not found ServiceExtension.js
W C03f00/ArkCompiler: [ecmascript] set label failed! level: s1, file: /data/storage/ark-profile/rt_phone_entry.ap
I C03f00/ArkCompiler: [pgo] will save profiler to file /data/storage/ark-profile/rt_phone_entry.ap
I C03f00/ArkCompiler: [ecmascript] start to execute module buffer with secure memory: /data/storage/el1/bundle/phone_entry/ets/Application/AbilityStage.abc
E C03f00/ArkCompiler: [TID 0014fb] E/pandafile: Secure memory check failed, mem out of secure memory region.
E C03f00/ArkCompiler: [ecmascript] Secure memory check failed, mem out of secure memory region.
E C03f00/ArkCompiler: [TID 0014fb] E/pandafile: Secure memory check failed, mem out of secure memory region.[TID 0014fb] E/pandafile: Secure memory check failed, please execute in secure memory.: No such file or directory
E C03f00/ArkCompiler: [ecmascript] Secure memory check failed, please execute in secure memory.: No such file or directory
E C03f00/ArkCompiler: [ecmascript] open file /data/storage/el1/bundle/phone_entry/ets/modules.abc error
F C03f00/ArkCompiler: [default] [ExecuteModuleBufferSecure:340] Load current file's panda file failed. Current file is /data/storage/el1/bundle/phone_entry/ets/modules.abc主要Hilog Error级日志:
[sandbox_utils.cpp:272]check dir /data/app/el1/public/aot_compiler/ark_cache/com.ohos.systemui failed, strerror: No such file or directory
[sandbox_utils.cpp:223]errno is 30, mkdir /mnt/sandbox/0/com.ohos.systemui/chip_prod/etc/passthrough failed
[sandbox_utils.cpp:223]errno is 30, mkdir /mnt/sandbox/0/com.ohos.systemui/chip_prod/lib64/ failed
[sandbox_utils.cpp:928]DoAppSandboxMountOnce section permission failed, /mnt/sandbox/0/com.ohos.systemui/mnt/storage/Users
[appspawn_silk.c:118]Load silk library failed for configItems is NULL
[XpmIoctl]:Ioctl cmd 40087803 failed: Bad address (ignore)
Error loading header libsecurity_component_client_enhance.z.so, namespace ndk has no inherits, errno=2
Error loading header: can't find library libsecurity_component_client_enhance.z.so in namespace: default
dlopen_impl load library header failed for libsecurity_component_client_enhance.z.so
[InitEnhanceHandler]init enhance lib libsecurity_component_client_enhance.z.so failed, error Error loading shared library libsecurity_component_client_enhance.z.so: No such file or directory
[param_manager.c:753]SystemReadParam failed! name is:ark.profile, errNum is:106!
[param_manager.c:753]SystemReadParam failed! name is:ark.profile, errNum is:106!
[param_manager.c:753]SystemReadParam failed! name is:ark.jit.escape.disable, errNum is:106!
[param_manager.c:753]SystemReadParam failed! name is:persist.ark.properties, errNum is:106!
[Interface] task 8446 belong to user 10008 open qos node failed, errno = 2
[param_manager.c:753]SystemReadParam failed! name is:ark.profile, errNum is:106!
[zip_file.cpp(ExtractToBufByName:933)]GetEntry failed hapPath pkgContextInfo.json
[zip_file.cpp(ExtractToBufByName:933)]GetEntry failed hapPath pkgContextInfo.json
[zip_file.cpp(ExtractToBufByName:933)]GetEntry failed hapPath pkgContextInfo.json
[zip_file.cpp(ExtractToBufByName:933)]GetEntry failed hapPath pkgContextInfo.json
[zip_file.cpp(ExtractToBufByName:933)]GetEntry failed hapPath pkgContextInfo.json
[zip_file.cpp(ExtractToBufByName:933)]GetEntry failed hapPath pkgContextInfo.json
[zip_file.cpp(ExtractToBufByName:933)]GetEntry failed hapPath pkgContextInfo.json
[zip_file.cpp(ExtractToBufByName:933)]GetEntry failed hapPath pkgContextInfo.json
[hdc_register.cpp:58]null registerLocalHandler_
LoadThemesRes failed, userId = 100, bundleName = com.ohos.systemui
[main_thread.cpp:3699]empty config
LocaleConfig::GetSystemLocale: Read system locale failed.详细的Hilog日志在附件中。 还请各位前辈解惑!
查看进程信息:
ps -ef | grep ohos
20010015 1662 309 0 15:34:07 ? 00:00:03 com.ohos.launcher
10008 12467 309 0 16:50:39 ? 00:00:00 com.ohos.systemui
20010012 13789 309 17 16:51:44 ? 00:00:01 com.ohos.note
20010020 14605 309 4 16:52:33 ? 00:00:00 com.ohos.camera
20010013 16661 309 2 16:54:13 ? 00:00:00 com.ohos.updateapp
10005 18283 309 9 16:55:26 ? 00:00:00 com.ohos.contacts
20010009 18531 309 1 16:55:31 ? 00:00:00 com.ohos.photos
20010016 19313 309 9 16:56:07 ? 00:00:00 com.ohos.settings
10004 19741 309 2 16:56:19 ? 00:00:00 com.ohos.mms能启动的应用有(其他均无法闪退): com.ohos.note、com.ohos.contacts、com.ohos.settings、com.ohos.mms
前辈指导后的相关信息如下:
1.查看沙箱信息
# mount | grep mnt/sandbox
/dev/block/mmcblk0p12 on /mnt/sandbox/100/com.ohos.launcher/data/storage/el1/bundle type f2fs (rw,lazytime,relatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,fsync_mode=posix)
/dev/block/mmcblk0p12 on /mnt/sandbox/0/com.ohos.settingsdata/data/storage/el1/bundle type f2fs (rw,lazytime,relatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,fsync_mode=posix)
/dev/block/mmcblk0p12 on /mnt/sandbox/0/com.ohos.systemui/data/storage/el1/bundle type f2fs (rw,lazytime,relatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,fsync_mode=posix)
# ls -ld /mnt/sandbox
drwxr-xr-x 7 root root 140 2025-10-27 09:07 /mnt/sandbox
#相关文件下载