NetBSD Problem Report #8925
Received: (qmail 17575 invoked from network); 30 Nov 1999 22:21:56 -0000
Message-Id: <199911302218.OAA03340@nooksack.ldc.cs.wwu.edu>
Date: Tue, 30 Nov 1999 14:18:34 -0800 (PST)
From: p99dreyf@criens.u-psud.fr
Reply-To: p99dreyf@criens.u-psud.fr
To: gnats-bugs@gnats.netbsd.org
Subject: A fork bomb trigers a kernel panic
X-Send-Pr-Version: www-1.0
>Number: 8925
>Category: kern
>Synopsis: A fork bomb trigers a kernel panic
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 30 14:24:01 +0000 1999
>Closed-Date: Thu Oct 18 18:51:42 +0000 2001
>Last-Modified: Thu Oct 18 18:51:42 +0000 2001
>Originator: Emmanuel Dreyfus
>Release: 1.4.1
>Organization:
None
>Environment:
NetBSD gizmo 1.4.1 NetBSD 1.4.1 (DEBUG) #2: Wed Oct 27 09:23:37 CEST 1999 ro
ot@gizmo:/usr/src/sys/arch/mac68k/compile/DEBUG mac68k
>Description:
I was trying to reproduce the processes stuck in uvn_get problem
(see kern/8679). Launching a fork bomb as any normal user does nothing
but increasing the load. That's normal. When I launched the fork bomb
as root, I expected the system getting uncontrolable, but not a kernel
crash. Here is the crash message:
panic: pmap_page_protect: bad mapping
Stopped in pagedaemon at _Debugger+0x6: unlk a6
I have a crash dump, but since mac68k crash dump seems to be broken as
well, I assume it will be of no interest.
>How-To-Repeat:
#include <unistd.h> /* Run me as root */
int main (int argc, char* argv[]) {
pid_t dontcare;
while (1) {dontcare=fork();}
}
>Fix:
Sorry... :o/
>Release-Note:
>Audit-Trail:
From: Petri Koistinen <pkoistin@cs.stadia.fi>
To: gnats-bugs@netbsd.org
Cc: netbsd-bugs@netbsd.org
Subject: Re: kern/8925: A fork bomb trigers a kernel panic
Date: Sat, 21 Jul 2001 16:37:18 +0300
Hi!
I can't reproduce this crash with -current, I'll only get messages:
proc: table is full - increase kern.maxproc or NPROC
Petri
State-Changed-From-To: open->feedback
State-Changed-By: jdolecek
State-Changed-When: Sat Jul 21 06:56:28 PDT 2001
State-Changed-Why:
Does that still happen on mac68k with -current?
State-Changed-From-To: feedback->closed
State-Changed-By: jdolecek
State-Changed-When: Thu Oct 18 11:51:11 PDT 2001
State-Changed-Why:
Seems to not happen anymore.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.