Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2006 11:40:53 GMT
From:      Martin <nakal@nurfuerspam.de>
To:        freebsd-threads@FreeBSD.org
Subject:   Re: threads/80435: panic on high loads
Message-ID:  <200603111140.k2BBerFh096411@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR threads/80435; it has been noted by GNATS.

From: Martin <nakal@nurfuerspam.de>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: threads/80435: panic on high loads
Date: Sat, 11 Mar 2006 12:36:04 +0100

 Hi,
 
 I've a similar panic. Not exactly the same, but in a similar
 situation. You can trigger it with a slightly modified fork bomb:
 
 #include <stdlib.h>
 #include <unistd.h>
 
 int main(void)
 {
    while(1) {
 	fork();
 	malloc(1024);
    }
    return 0;
 }
 
 
 The resulting panic is:
 
 fault code = supervisor write, page not present
 
 backtrace:
 pmap_qenter()
 vm_thread_new()
 thread_init()
 slab_zalloc()
 uma_zone_slab()
 uma_zalloc_bucket()
 uma_zalloc_arg()
 thread_alloc()
 proc_init()
 slab_zalloc()
 uma_zone_slab()
 uma_zalloc_bucket()
 uma_zalloc_arg()
 fork1()
 fork()
 syscall()
 Xint0x80()
 -- syscall (2, FreeBSD ELF32, fork)
 
 Reproducible on: -STABLE
 uname -a:
 FreeBSD klotz.local 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Mon Mar  6 
 00:21:54 CET 2006     root@klotz.local:/usr/obj/usr/src/sys/KLOTZ  i386
 
 --
 Martin



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