Subject: Re: pkg_create dumping core (NetBSD-current)
To: Robert Elz <kre@munnari.OZ.AU>
From: Hubert Feyrer <>
List: tech-pkg
Date: 04/27/2001 20:38:11
On Sat, 28 Apr 2001, Robert Elz wrote:
> Yet something apparently trashed the file...

I've seen the problem you describe a (very) few times on my bulk build
machine too, which gets some pkgs added and deinstalled. It does not
happen on each run, though - so much for easy finding what this is. 

My guess is that it's somewhere in the btree routines. If you wonder where
the code in pkg_* is, it's all in pkg_install/pkgdb.c, maybe adding
a few asserts in there could catch a few cases that lead the btree
routines to go south...

Let me know if you find something!

 - Hubert

Hubert Feyrer <>