Subject: Re: Frequently panic while bulding pacakges.
To: Takahiro Kambe <taca@back-street.net>
From: David Holland <dholland+netbsd@eecs.harvard.edu>
List: current-users
Date: 09/10/2007 21:20:58
On Wed, Aug 01, 2007 at 06:42:09PM +0900, Takahiro Kambe wrote:
 > savecore(8) said:
 > 
 > savecore: reboot after panic: panic: pool_get(plimitpl): free list modified: magic=deadbef4; page 0xcc1e5000; item addr 0xcc1e5654 

Try this patch:

   http://www.eecs.harvard.edu/~dholland/tmp/netbsd/plimit-locking-2.patch

particularly if you can repeat this fairly reliably. I see it only
once in a while.

The locking governing the plimit structures held in plimitpl is
questionable enough to explain any number of dangling pointer bugs.
I've reworked it, and with luck the panics will stop.

-- 
   - David A. Holland / dholland@eecs.harvard.edu