Subject: kern/37004: SIGINFO while process is dying results in panic
To: None <email@example.com, firstname.lastname@example.org,>
From: None <email@example.com>
Date: 09/19/2007 04:15:01
>Synopsis: SIGINFO while process is dying results in panic
>Arrival-Date: Wed Sep 19 04:15:00 +0000 2007
>Originator: Aaron J. Grier
>Release: NetBSD 4.0_RC1
Frye Electronics, Tigard, OR
run (threaded? forked?) program via gdb. control-C program. program
gets SIGQUIT and dies. while program is busy dying, control-T program.
kernel attempts to pass SIGINFO to program, and panics since it is in
I have no way to get a coredump on this machine due to no swap space,
but I'm fairly certain I could replicate it elsewhere if necessary.
here's the backtrace:
--- syscall (number 4) ---
current will also panic given the same sequence of events.
add case for switch (p->p_stat) in kern/kern_sig.c to handle dying
states without panicing, like SIDL, perhaps?
(alternately, change status values to enums so the compiler can warn you
if you're missing a case.)