From: Erik van der Kouwe Date: Wed, 14 Apr 2010 09:06:34 +0000 (+0000) Subject: Provide information on lethal signals (stacktrace and signo) X-Git-Tag: v3.1.7~144 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/verify-sign/verify.pl?a=commitdiff_plain;h=8b459cfbb3c1f7c597de6a784f983c97226fad56;p=minix.git Provide information on lethal signals (stacktrace and signo) --- diff --git a/kernel/system.c b/kernel/system.c index a7f068504..e49a20009 100644 --- a/kernel/system.c +++ b/kernel/system.c @@ -373,7 +373,9 @@ int sig_nr; /* signal to be sent */ /* If the target is the signal manager of itself, send the signal directly. */ if(rp->p_endpoint == sig_mgr) { if(SIGS_IS_LETHAL(sig_nr)) { - panic("cause_sig: signal manager gets lethal signal for itself"); + proc_stacktrace(rp); + panic("cause_sig: signal manager gets lethal signal %d for itself", + sig_nr); } sigaddset(&priv(rp)->s_sig_pending, sig_nr); send_sig(rp->p_endpoint, SIGKSIGSM);