On Mon, Sep 13, 2004 at 04:35:40PM +0100, Yann Golanski
wrote:> I'm getting the following crash:
>
> [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11732
port
> entries found
.........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000..../usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587:
[BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd5]
> Abort trap (core dumped)
> Does anyone else get this?
You and about 10,000 other people. It's been done to death on
freebsd-ports@... freebsd-questions@..., freebsd-current@..., and
probably a few other mailing lists as well.
The problem is a bug in the underlying BDB v1 btree implementation.
Jun Kuriyama posted a couple of patched for people to try out onto
freebsd-current@... -- this is the most recent one, which might even
work:
http://lists.freebsd.org/pipermail/freebsd-current/2004-September/037222.html
Porting that to 4-STABLE is left as an exercise. Should be fairly
easy, as the code in question hasn't been modified for 5.x (as far as
I know).
Otherwise, there's a nice simple low impact workaround:
# setenv PORTS_DBDRIVER bdb1_hash
There are some other workarounds and some variations on this
workaround but you can find those for yourself by searching the
various FreeBSD mailing list archives
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20040913/893ebc3d/attachment.bin