]> Zhao Yanbai Git Server - minix.git/commitdiff
rs: stacktrace if system process exits early.
authorBen Gras <ben@minix3.org>
Thu, 29 Apr 2010 08:50:17 +0000 (08:50 +0000)
committerBen Gras <ben@minix3.org>
Thu, 29 Apr 2010 08:50:17 +0000 (08:50 +0000)
servers/rs/manager.c

index 6114e91d9dbd212fb735793b9890c22e255fe4a1..b585b40bf004a96e03f59c7a9332fcc1f7f41791 100644 (file)
@@ -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) {