Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2000 04:07:46 +0100
From:      Tor.Egge@fast.no
To:        johan@FreeBSD.org
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/2840: mlock+minherit+fork+munlock causes panics or freezes
Message-ID:  <200010310307.EAA19594@midten.fast.no>
In-Reply-To: Your message of "Fri, 27 Oct 2000 13:13:48 -0700 (PDT)"
References:  <200010272013.NAA78899@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Synopsis: mlock+minherit+fork+munlock causes panics or freezes
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: johan
> State-Changed-When: Fri Oct 27 13:10:31 PDT 2000
> State-Changed-Why: 
> Hi Tor
> 
> Is this still a problem in more recent version of FreeBSD
> (for example 4.x or current).

This is still a problem:

not# ./minherit
minherit: a=0x8055000, alen=0x100000, res=0, errno=0
mlock: res=0, errno=0
pass 0
munlock: res=0, errno=0
munlock: res=0, errno=0
panic: vm_page_unwire: invalid wire count: 0

cpuid = 1; lapic.id = 00000000
Debugger("panic")

CPU1 stopping CPUs: 0x00000001... stopped.
Stopped at      Debugger+0x38:  movb    $0,in_Debugger.837
db> trace
Debugger(c02c9181) at Debugger+0x38
panic(c02e7280,0,bb28000,e4b3eea0,c0270daf) at panic+0xb8
vm_page_unwire(c0840d24,1,dfba336c,8166000,0) at vm_page_unwire+0x9f
vm_fault_unwire(dfba3300,8166000,8256000,e4b7f540,e4b3eeec) at vm_fault_unwire+0x53
vm_map_entry_unwire(dfba3300,e4b82b10) at vm_map_entry_unwire+0x15
vm_map_delete(dfba3300,8166000,8256000,8166000,dfba3300) at vm_map_delete+0xca
vm_map_remove(dfba3300,8166000,8256000,c034f840,0) at vm_map_remove+0x6a
obreak(dfb9d340,e4b3ef80,8054020,100000,8256000) at obreak+0xb7
syscall2(2f,2f,2f,8256000,100000) at syscall2+0x31c
Xint0x80_syscall() at Xint0x80_syscall+0x24
db> 

> The supplied how-to-repeate program does not compile
> on a 4.1-STABLE system. Can you please close the PR
> if the problem is solved.

The content of vm/vm_inherit.h has been moved into vm/vm.h.
Just remove the #include <vm/vm_inherit.h> line.

- Tor Egge


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?200010310307.EAA19594>