kern/79940: 5.3 with kernel debug causes panic when large # defunct
processes occur
Cory Marsh
cory.marsh at albertsons.com
Thu Apr 14 15:00:42 PDT 2005
>Number: 79940
>Category: kern
>Synopsis: 5.3 with kernel debug causes panic when large # defunct processes occur
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 14 22:00:41 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Cory Marsh
>Release: 5.3-RELEASE #3
>Organization:
Albertsons
>Environment:
i386 GENERIC with debug
>Description:
FreeBSD 5.3 when compiled with the Kernel debugger will kernel panic when excessively high numbers of fork() without wait() occur. This seems to be time specific so that inserting a sleep(1); in the while loop prevents thet panic. Perhaps a race condition?
>How-To-Repeat:
options DDB
options KDB
makeoptions DEBUG=-g
#include <stdio.h>
#include <unistd.h>
int main(int argc, char **argv) {
int pid;
while(1) {
if((pid = fork()) < 1)
exit(2);
}
exit(1);
}
>Fix:
unknown.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list