kern/97591: 6.1-RELEASE crashes on fork bomb

Matthieu MICHAUD ohmer at epita.info
Mon May 22 07:40:15 UTC 2006


>Number:         97591
>Category:       kern
>Synopsis:       6.1-RELEASE crashes on fork bomb
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 22 07:40:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Matthieu MICHAUD
>Release:        6.1-RELEASE
>Organization:
EPITA
>Environment:
FreeBSD moe.lan 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon May 15 20:12:38 CEST 2006 root at homer.cload.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
my fresh installed 6.1-RELEASE workstation doesn't survive to a simple fork bomb. after launching the bomb, it freezes a few seconds and then my computer reboots. afair, 5.4 systems survived it.

i didn't tweak my kernel, i just use home compiled GENERIC without overriden CFLAGS. everything is almost default install. what about adding a forkbomb in regression tests ?
>How-To-Repeat:
echo 'int main() { for(;;) fork(); }' | gcc -x c - && ./a.out
>Fix:
i don't know how to fix it. it looks like a scheduler issue.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list