From: Ben Gras Date: Thu, 29 Apr 2010 08:50:17 +0000 (+0000) Subject: rs: stacktrace if system process exits early. X-Git-Tag: v3.1.7~100 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=4ac5eb78320a8a08b687e194b5e684f6fe2cfc7d;p=minix.git rs: stacktrace if system process exits early. --- diff --git a/servers/rs/manager.c b/servers/rs/manager.c index 6114e91d9..b585b40bf 100644 --- a/servers/rs/manager.c +++ b/servers/rs/manager.c @@ -822,6 +822,7 @@ PUBLIC void terminate_service(struct rproc *rp) if(rp->r_flags & RS_INITIALIZING) { printf("RS: service '%s' exited during initialization\n", rpub->label); rp->r_flags |= RS_EXITING; /* don't restart. */ + sys_sysctl_stacktrace(rp->r_pub->endpoint); /* If updating, rollback. */ if(rp->r_flags & RS_UPDATING) {