kern/97591: 6.1-RELEASE crashes on fork bomb
Maxim Konovalov
maxim at macomnet.ru
Fri Jun 9 17:50:21 UTC 2006
The following reply was made to PR kern/97591; it has been noted by GNATS.
From: Maxim Konovalov <maxim at macomnet.ru>
To: Matthieu MICHAUD <ohmer at epita.info>
Cc: bug-followup at freebsd.org
Subject: Re: kern/97591: 6.1-RELEASE crashes on fork bomb
Date: Fri, 9 Jun 2006 21:40:30 +0400 (MSD)
Hi Matthieu,
> >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 ?
Please clarify what you mean by "home compiled GENERIC"? Do you
change anything there? Have you changed anything in /boot/loader.conf
or /etc/sysctl.conf?
> >How-To-Repeat:
> echo 'int main() { for(;;) fork(); }' | gcc -x c - && ./a.out
While we definitly have some problems in pmap(9) code in 7.0 aka HEAD
I can't reproduce the problem on RELENG_6 system.
Please try to obtain a backtrace from the kernel core file or ddb.
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html
--
Maxim Konovalov
More information about the freebsd-bugs
mailing list