com.ohos.systemui系统应用启动有时异常有时正常&其他OH App都无法启动

一饮尽江河
发布于 2025-10-27 09:37
浏览
0收藏

问题:com.ohos.systemui系统应用启动有时异常有时正常&其他OH APP都无法启动

**环境:**系统为oh5.1.0R版本,SoC为RK3588

主要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日志在附件中。
还请各位前辈解惑!

前辈指导后的相关信息如下:

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
#

相关文件下载

详细hilog日志

已于2025-10-27 09:41:28修改
收藏
回复
举报
1条回复
按时间正序
/
按时间倒序
一饮尽江河
一饮尽江河

临时的解决办法:

修改文件"arkcompiler/runtime_core/libpandafile/file.cpp:348"(CheckSecureMem函数定义)
修改前:
return false;
修改后:
return true;

问题解决了,但深层次原因是什么还不得而知!(为什么会出现超出安全内存这种情况呢!有时又没有超出,这问题出哪里?)

回复
2025-11-3 17:35:18
回复
    相关推荐