Bug 18234

Summary: 4.0-CURRENT crashes when "make test" in perl with jail environment
Product: Base System Reporter: tsasaki <tsasaki>
Component: kernAssignee: Poul-Henning Kamp <phk>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   

Description tsasaki 2000-04-26 17:10:01 UTC
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 rx0, 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

Fix: 

automaticaly rebooting after crashes.
do not execute 'make test' in source directory.
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.
Comment 1 Robert Watson freebsd_committer freebsd_triage 2000-06-07 03:13:42 UTC
Responsible Changed
From-To: freebsd-bugs->phk@FreeBSD.org

This PR seemed to get lost in the mix.  Poul-Henning is Mr Jail.
Comment 2 Robert Watson freebsd_committer freebsd_triage 2000-06-07 03:25:15 UTC
Responsible Changed
From-To: phk@FreeBSD.org->phk

I'm told that gnats likes it better if you don't append @freebsd.org to 
the owner name. 
Sorry about that.
Comment 3 Poul-Henning Kamp freebsd_committer freebsd_triage 2000-06-10 21:39:45 UTC
State Changed
From-To: open->feedback

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 ?
Comment 4 Poul-Henning Kamp freebsd_committer freebsd_triage 2001-03-13 10:56:30 UTC
State Changed
From-To: feedback->closed

timed out.