kern/100802: panic in ddb mode if sending signal '0'

Valerio Daelli valerio.daelli at gmail.com
Tue Jul 25 08:20:18 UTC 2006


>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 at 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:


More information about the freebsd-bugs mailing list