Date: Tue, 25 Jul 2006 08:18:08 GMT From: Valerio Daelli <valerio.daelli@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/100802: panic in ddb mode if sending signal '0' Message-ID: <200607250818.k6P8I8Mk023463@www.freebsd.org> Resent-Message-ID: <200607250820.k6P8KHFd034920@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 100802
>Category: kern
>Synopsis: panic in ddb mode if sending signal '0'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 25 08:20:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Valerio Daelli
>Release: 5.4
>Organization:
IFOM
>Environment:
FreeBSD webgate.ifom-ieo-campus.it 5.4-RELEASE-p12 FreeBSD 5.4-RELEASE-p12 #1: Thu Mar 2 14:16:41 CET 2006 root@webgate.ifom-ieo-campus.it:/usr/obj/usr/src/sys/WEBGATE alpha
>Description:
If you break in ddb mode by pressing CTRL-ALT-ESC and send any process
a signal '0', then kernel panics.
>How-To-Repeat:
Break in ddb mode (CTRL-ALT-ESC), type ps, get a pid and type
kill 0 <PID>
>Fix:
Correct line number 561 in /usr/src/sys/ddb/db_command.c:
from
if (sig < 0 || sig > _SIG_MAXSIG)
to
if (sig < 1 || sig > _SIG_MAXSIG)
and recompile the kernel.
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607250818.k6P8I8Mk023463>
