• Lv0
    粉丝0

积分3 / 贡献0

提问4答案被采纳0文章0

OpenHarmony5.0.1-release卡在logo界面,无法进入开机动画界面,自动重启。

Jason Yan 显示全部楼层 发表于 5 天前

【问题描述】

  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

  4. 我尝试过的解决方法和结果

    把 ExecReboot(”panic”)给屏蔽了,不会重启,但是无法进入动画界面。

  5. 我想要达到的结果

    正常进入动画界面。

【运行环境】

硬件:ATK-DLRK3568 ROM 版本:N/A DevEvoStudio 版本:N/A SDK 版本:OpenHarmony5.0 release 版本

您尚未登录,无法参与评论,登录后可以:
参与开源共建问题交流
认同或收藏高质量问答
获取积分成为开源共建先驱

精彩评论2

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遇到同样的问题, 有没有解决办法?

Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部