OpenHarmony开发者论坛
标题:
OpenHarmony5.0.1-release卡在logo界面,无法进入开机动画界面,自动重启。
[打印本页]
作者:
Jason Yan
时间:
5 天前
标题:
OpenHarmony5.0.1-release卡在logo界面,无法进入开机动画界面,自动重启。
[md]### 【问题描述】
1. 介绍问题现象和发生的背景
卡在logo界面,无法进入开机动画界面,自动重启。
2. 相关的代码(请勿使用截图)
ServiceReap函数中执行了重启命令
```
if (service->attribute & SERVICE_ATTR_CRITICAL) { // critical
if (!CalculateCrashTime(service, service->crashTime, service->crashCount)) {
INIT_LOGE("ServiceReap error critical service crashed %s %d", service->name, service->crashCount);
service->pid = tmp;
ServiceReapHookExecute(service);
service->pid = -1;
//ExecReboot("panic");
}
```
3. 运行结果、错误截图
![image.png](
https://forums-obs.openharmony.c ... n5kgs66svvhnh11.png
"image.png")
4. 我尝试过的解决方法和结果
把 ExecReboot(”panic”)给屏蔽了,不会重启,但是无法进入动画界面。
5. 我想要达到的结果
正常进入动画界面。
### 【运行环境】
硬件:ATK-DLRK3568
ROM 版本:N/A
DevEvoStudio 版本:N/A
SDK 版本:OpenHarmony5.0 release 版本
[/md]
作者:
Jason Yan
时间:
5 天前
看起来还是挂在render_service
[ 15.148812] [pid=1][PARAM][INFO][param_service.c:179]Handle set param msgId 76 pid 260 key: persist.samgr.cache.sa
[ 15.164354] SAFWK: Publish SA:1909 result:0,spend:18ms
[ 15.177289] SAFWK: Start OnStart-SA:1909 finished, spend:9387 ms
[ 15.177783] SAFWK: StartSystemAbilityTask memmgrservice SA:1909 init finished, 9751 ms
[ 15.404531] [pid=1][Init][WARNING][init_signal_handler.c:44]Child process Unknown(pid 1137) exit with code : 0
[ 15.404551] [pid=1][Init][WARNING][init_signal_handler.c:52]Service warning Unknown, SIGCHLD received, pid:1137 uid:1003 status:0.
[ 15.405174] [pid=1][Init][WARNING][init_signal_handler.c:44]Child process Unknown(pid 1141) exit with code : 0
[ 15.405209] [pid=1][Init][WARNING][init_signal_handler.c:52]Service warning Unknown, SIGCHLD received, pid:1141 uid:1003 status:0.
[ 15.414714] binder: send failed reply for transaction 5604 to 1044:1120
[ 15.415903] [pid=1][Init][WARNING][init_signal_handler.c:42]Child process render_service(pid 1042) exit with signal : 11
[ 15.415925] [pid=1][Init][WARNING][init_signal_handler.c:52]Service warning render_service, SIGCHLD received, pid:1042 uid:1003 status:11.
[ 15.415955] [pid=1][Init][INFO][init_common_service.c:786]ServiceReap info render_service pid 1042.
[ 15.429397] [pid=1][Init][INFO][init_common_service.c:630]ServiceStart starting:render_service
[ 15.430003] [pid=1][Init][INFO][init_common_service.c:664]ServiceStart started info render_service(pid 1282 uid 1003)
[ 15.430041] [pid=1][Init][INFO][init_common_service.c:667]starttime:1501923618-0, prefork:587730415-6220425, startedtime:1501923618-0
[ 15.430667] [pid=1][Init][WARNING][init_signal_handler.c:42]ServiceReapChild process allocator_host(pid 1043) exit with signal : 9
[ 15.430707] [pid=1][Init][WARNING][init_signal_handler.c:52]Service warning allocator_host, SIGCHLD received, pid:1043 uid:1003 status:9.
[ 15.430721] [pid=1][Init][INFO][init_common_service.c:786]ServiceReap info allocator_host pid 1043.
[ 15.430844] [pid=1][Init][INFO][init_common_service.c:630]ServiceStart starting:allocator_host
[ 15.430901] [pid=1282][Init][ERROR][init_common_service.c:308]Failed to open realPath: (null) /dev/memcg/perf_sensitive/cgroup.procs errno:2.
[ 15.431308] [pid=1282][Init][INFO][init_service.c:118]ServiceExec render_service
[ 15.431443] [pid=1][Init][INFO][init_common_service.c:664]ServiceStart started info allocator_host(pid 1283 uid 3041)
作者:
ppinger
时间:
前天 20:59
rk3588的dayu210遇到同样的问题, 有没有解决办法?
欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/)
Powered by Discuz! X3.5