From owner-freebsd-bugs@FreeBSD.ORG Tue Jun 13 00:20:25 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B7B716A41B for ; Tue, 13 Jun 2006 00:20:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFB7343D49 for ; Tue, 13 Jun 2006 00:20:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5D0KMWR065232 for ; Tue, 13 Jun 2006 00:20:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5D0KM9u065231; Tue, 13 Jun 2006 00:20:22 GMT (envelope-from gnats) Date: Tue, 13 Jun 2006 00:20:22 GMT Message-Id: <200606130020.k5D0KM9u065231@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Matthieu Michaud Cc: Subject: Re: kern/97591: 6.1-RELEASE crashes on fork bomb X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthieu Michaud List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2006 00:20:25 -0000 The following reply was made to PR kern/97591; it has been noted by GNATS. From: Matthieu Michaud To: Maxim Konovalov Cc: bug-followup@freebsd.org Subject: Re: kern/97591: 6.1-RELEASE crashes on fork bomb Date: Tue, 13 Jun 2006 02:16:32 +0200 On Fri, 2006-06-09 at 21:40 +0400, Maxim Konovalov wrote: > 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? i meant that i used the official GENERIC kernel configuration file but i compiled it myself. the only kernel module i use is snd_ich (and sound obviously). that's stick into my /boot/loader.conf and i didn't set any value with /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. i tried to reproduce it but couldn't. when i tried it, just before filling a PR, it did exactly the same thing 3 times : run, fork few seconds and suddenly reboot. i can't explain it. > Please try to obtain a backtrace from the kernel core file or ddb. > > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html i activated it, i'll try to crash it again, have a core dump and send useful information. for now, i don't see any reason to keep this PR open as it seem to be a very rare case. -- Matthieu Michaud