Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2001 18:05:02 -0700 (PDT)
From:      davidx@viasoft.com.cn
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/26938: 4.3-stable is a broken kernel
Message-ID:  <200104290105.f3T152r90267@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         26938
>Category:       kern
>Synopsis:       4.3-stable is a broken kernel
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 28 18:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     David Xu
>Release:        FreeBSD 4.3-STABLE
>Organization:
Viasoft
>Environment:
FreeBSD davidbsd.viasoft.com.cn 4.3-STABLE FreeBSD 4.3-STABLE #0: Thu Apr 26 11:22
:51 CST 2001     root@davidbsd.viasoft.com.cn:/usr/obj/usr/src/sys/xu  i386
>Description:
a fork bomb can reboot machine, kernel prints:
vm_map_entry_creat: kernel_resources exhausted

I have never seen this problem in 4.2-release


>How-To-Repeat:
a small example program: 

#include<unistd.h>
int main()
{
    while(1)
    {
       if (fork() == 0)
           break;
    }
    return 0;
}

try to compile and run it, kernel crashed.

>Fix:
diff 4.2-RELEASE.vm 4.3-STABLE.vm
< no bug
> has bug


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104290105.f3T152r90267>