Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 1999 11:38:41 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        peter@FreeBSD.ORG, assar@sics.se, freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/15707: bad trap in mprotect
Message-ID:  <199912301938.LAA77035@apollo.backplane.com>
References:   <199912301906.LAA50571@freefall.freebsd.org>

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

:
:Synopsis: bad trap in mprotect
:
:Responsible-Changed-From-To: freebsd-bugs->dillon
:Responsible-Changed-By: peter
:Responsible-Changed-When: Thu Dec 30 11:04:49 PST 1999
:Responsible-Changed-Why: 
:Matt, can you take a look at this please?

    Sure.  I may not be able to get to it until early january.  I can
    make a few suggestions to Assar in the mean time:  First thing to
    do is to turn off DIAGNOSTIC in your kernel config.  It appears
    to be there in two places so be sure you comment out both.

    I doubt that that DIAGNOSTIC is the problem, but it has been known to
    cause problems.  ElectricFence makes very heavy use of the VM system by
    allocating two pages around each malloc().  Due to the number of 
    vm_map_entry's that will be created, it is possible that the kernel 
    is running out of KVM, so please also check:

	apollo:/usr/src/sys/vm# vmstat -z
	...

    and

	apollo:/usr/src/sys/vm# vmstat -m
	...

    While you are running your test, run the above command once a second
    or so.  The panic is definitely a bug - at the very least it should
    tell us if its running out resources.

    However, since the fault address is non-NULL, there is a good chance
    that the huge size of the map_entry list is causing a previously 
    unknown race condition to rear its ugly head.  Most likely you have
    found a real bug somewhere in the code.

    I should be able to reproduce the crash when I have time in January
    to take up the problem.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>


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?199912301938.LAA77035>