From nobody@FreeBSD.org  Wed Apr 26 09:03:02 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id 1DAB537BD48
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 26 Apr 2000 09:03:02 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id JAA47193;
	Wed, 26 Apr 2000 09:03:01 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200004261603.JAA47193@freefall.freebsd.org>
Date: Wed, 26 Apr 2000 09:03:01 -0700 (PDT)
From: tsasaki@onbiz.net
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: 4.0-CURRENT crashes when "make test" in perl with jail environment
X-Send-Pr-Version: www-1.0

>Number:         18234
>Category:       kern
>Synopsis:       4.0-CURRENT crashes when "make test" in perl with jail environment
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    phk
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 26 09:10:01 PDT 2000
>Closed-Date:    Tue Mar 13 02:56:30 PST 2001
>Last-Modified:  Tue Mar 13 02:56:48 PST 2001
>Originator:     TOMOyuki sasaki
>Release:        4.0-CURRENT
>Organization:
ONLINE BUSINESS
>Environment:
FreeBSD red.onbiz.net 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Sun Apr 23 18:34:40 JS
T 2000     tomo@red.onbiz.net:/usr/src/sys/compile/SMP  i386
>Description:
Fatal trap 12: page fault while in kernel mode
mp_lock = 00000002; cpuid = 0; lapic.id = 00000000
fault virtual address = 0x0
fault code            = supervisor write, page not present
instruction pointer   = 0x8:0xc0186269
stack pointer         = 0x10:0xc885cdf0
frame pointer         = 0x10:0xc885cdf4
code segment          = base 0x0, limit 0xfffff, type 0x1b
                      = DPL 0, pres 1, def32 1, gran 1
processor eflags      = interrupt enabled, resume, IOPL = 0
current process       = 1849 (ypcat)
interrupt mask        = <- SMP: XXX
trap number           = 12
panic: page fault
mp_lock = 00000002; cpuid = 0; lapic.id = 00000000
boot() called on cpu#0

>How-To-Repeat:
"v88" is prison host. (jail environment)

v88% tar xfpz perl-5.6.0.tar.gz
v88% cd perl-5.6.0
v88% ./configure.gnu
v88% make all
v88% make test

The system crashes when testing fork() or glob().
also test perl-5.005.03. but same as too.

This problem does not appear in real environment.

>Fix:
automaticaly rebooting after crashes.
do not execute 'make test' in source directory.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->phk@FreeBSD.org 
Responsible-Changed-By: rwatson 
Responsible-Changed-When: Tue Jun 6 19:13:42 PDT 2000 
Responsible-Changed-Why:  
This PR seemed to get lost in the mix.  Poul-Henning is Mr Jail. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18234 
Responsible-Changed-From-To: phk@FreeBSD.org->phk 
Responsible-Changed-By: rwatson 
Responsible-Changed-When: Tue Jun 6 19:25:15 PDT 2000 
Responsible-Changed-Why:  
I'm told that gnats likes it better if you don't append @freebsd.org to 
the owner name. 
Sorry about that. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18234 
State-Changed-From-To: open->feedback 
State-Changed-By: phk 
State-Changed-When: Sat Jun 10 13:39:45 PDT 2000 
State-Changed-Why:  
I can't reproduce this.  Could you please try to find out if this is 
depends on: SMP ? , YP/nis ?, which interface the jails IP# is on ? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18234 
State-Changed-From-To: feedback->closed 
State-Changed-By: phk 
State-Changed-When: Tue Mar 13 02:56:30 PST 2001 
State-Changed-Why:  
timed out. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18234 
>Unformatted:
