why kill zygote the system do not restart?

1,118 views
Skip to first unread message

w wylhistory

unread,
Sep 6, 2011, 2:03:05 AM9/6/11
to android-platform
Hi All:
           when I kill the zygote by adb shell,why the system do not restart?
           the attachment is the bugreport:

             Can some one give me some advice?
bugreport.txt

dh

unread,
Sep 6, 2011, 6:44:09 AM9/6/11
to android-...@googlegroups.com
Afaik, zygote forks new application/system processes and initialises the DVM for applications. Most system services run within system_server, which is a user process, whereas zygote is root. So, if you kill zygote, the system cannot initiate any app/system processes (including system_server). See list of processes (ps -P) somwhere eight-tenth down the crashreport.

w wylhistory

unread,
Sep 7, 2011, 2:14:10 AM9/7/11
to android-...@googlegroups.com
I can see the zygote and system_server are restarted by ps;
but the system_server is blocked at SurfaceFlinger instantiate,so the whole system blocked;
I think it actually blocks at the servicemanager addService of Surfaceflinger,but I do not know why the servicemanager does not   be waked  up,I will check it further;


2011/9/6 dh <david....@uni-ulm.de>
Afaik, zygote forks new application/system processes and initialises the DVM for applications. Most system services run within system_server, which is a user process, whereas zygote is root. So, if you kill zygote, the system cannot initiate any app/system processes (including system_server). See list of processes (ps -P) somwhere eight-tenth down the crashreport.

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-platform/-/hyP-POvAhoYJ.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.

Dianne Hackborn

unread,
Sep 8, 2011, 1:00:41 AM9/8/11
to android-...@googlegroups.com
Typically this is because of issues in the graphics driver where it hangs when being re-initialized by surface flinger.
--
Dianne Hackborn
Android framework engineer
hac...@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

w wylhistory

unread,
Sep 8, 2011, 5:29:57 AM9/8/11
to android-...@googlegroups.com
Hi Dianne,
         You are right,finally I find  it stops at lcd driver "wait_for_completion_killable(&mfd->dma->comp)",
         thanks;
        

2011/9/8 Dianne Hackborn <hac...@android.com>
Reply all
Reply to author
Forward
0 new messages