Subject: kern/24750: panic: psignal: Invalid process state 1. during fork handling SIGIO
To: None <gnats-bugs@gnats.NetBSD.org>
From: Frank Kardel <email@example.com>
Date: 03/11/2004 23:18:42
>Synopsis: panic: psignal: Invalid process state 1. during fork handling SIGIO
>Arrival-Date: Thu Mar 11 22:19:00 UTC 2004
>Originator: Frank Kardel
>Release: NetBSD 1.6ZK current-20040311-204106
System: NetBSD pip 1.6ZK NetBSD 1.6ZK (SYSPIP_ISDN) #1: Thu Mar 11 22:42:48 MET 2004 kardel@pip:/fs/IC35L180AVV207-1-n/IC35L120AVV207-0-e/src/NetBSD/netbsd/sys/arch/i386/compile/obj.i386/SYSPIP_ISDN i386
During boot (when running rc) ntpd has a reference clock configured (generating SIGIOs) and forks to
have a separate process doing name server lookups. When a SIGIO occurs during fork() the kernel
panics with "psignal: Invalid process state 1.".
Sorry no stack trace as the msgbuf was overwritten during startup and dumping failed.
The stack trace show ntpd being in fork() and serial line io leading to processing of
The problem exists for at least two weeks.
Configure a refclock for ntpd and be unlucky during start up.
check signal handling code wrt to states and fork() condition.
The comment above the panic() is /* else what? */ maybe this
looks like a race condition to be investigated,