Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2006 11:53:41 -0500
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: pkgdb core dumb
Message-ID:  <200603231153.42052.lists@jnielsen.net>
In-Reply-To: <001501c64e94$6e6384e0$0201a8c0@KA2NB>
References:  <001501c64e94$6e6384e0$0201a8c0@KA2NB>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 23 March 2006 11:11, Kaveh Ahmadian wrote:
> After a recent update, whenever I try to run the pkgdb (or any other
> command that in turn calls pkgdb I get an error resulting in a core dump:
>
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 24 packages
> found (-1 +2) (...).ruby18 in free(): error: chunk is already free
> Abort (core dumped)

I've seen this a number of times; it usually means a corrupt pkgdb.  Rebuild 
it from scratch (pkgdb -fu).  If that fails or if you still get the error 
afterwards, rebuild and reinstall portupgrade and ruby (without using 
portupgrade in the process).  Run 'pkgdb -fu' again after the reinstall.

JN



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603231153.42052.lists>