From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 14 22:00:42 2005 Return-Path: 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 88D5F16A4CE for ; Thu, 14 Apr 2005 22:00:42 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D05D43D48 for ; Thu, 14 Apr 2005 22:00:42 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3EM0gf3038617 for ; Thu, 14 Apr 2005 22:00:42 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3EM0fFT038616; Thu, 14 Apr 2005 22:00:42 GMT (envelope-from gnats) Resent-Date: Thu, 14 Apr 2005 22:00:42 GMT Resent-Message-Id: <200504142200.j3EM0fFT038616@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Cory Marsh Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89D7216A4CE for ; Thu, 14 Apr 2005 21:55:47 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F98543D2F for ; Thu, 14 Apr 2005 21:55:47 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3ELtlEQ067203 for ; Thu, 14 Apr 2005 21:55:47 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j3ELtlxK067202; Thu, 14 Apr 2005 21:55:47 GMT (envelope-from nobody) Message-Id: <200504142155.j3ELtlxK067202@www.freebsd.org> Date: Thu, 14 Apr 2005 21:55:47 GMT From: Cory Marsh To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/79940: 5.3 with kernel debug causes panic when large # defunct processes occur X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 22:00:42 -0000 >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 #include 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: