From owner-freebsd-ports@FreeBSD.ORG Wed Feb 11 10:14:08 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B15616A4CE; Wed, 11 Feb 2004 10:14:08 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-169-106-71.dsl.lsan03.pacbell.net [64.169.106.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0109843D1D; Wed, 11 Feb 2004 10:14:07 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 523AA66CC9; Wed, 11 Feb 2004 10:14:02 -0800 (PST) Date: Wed, 11 Feb 2004 10:14:02 -0800 From: Kris Kennaway To: Edwin Culp Message-ID: <20040211181402.GA69185@xor.obsecurity.org> References: <20040211062819.kgg4owsgsg8swggs@mail.viviendaatualcance.com.mx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <20040211062819.kgg4owsgsg8swggs@mail.viviendaatualcance.com.mx> User-Agent: Mutt/1.4.1i cc: ports@freebsd.org cc: knu@FreeBSD.org Subject: Re: ruby in malloc(): error: allocation failed Abort (core dumped) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 18:14:08 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 11, 2004 at 06:28:19AM -0600, Edwin Culp wrote: > This error seems to be part of the threading issue or was brought to ligh= t by > it. >=20 > First I'm running current as of yesterday, while doing a portupgrade -Rrua > during the rebuild of portupgrade. I tried to get past it by recompiling > qmake, etc. with no luck so I added a /etc/libmap.conf based on the man p= age, > recompiled everything based other's information on the mailling list. I = even > blew away my ports tree, distfiles, etc and resuped all. Everything is/w= as > working except portupgrade/ruby. When I start portupgrade or friends, I = get > the above malloc message and signal 6 from ruby. >=20 > ---> Session started at: Wed, 11 Feb 2004 06:02:56 -0600 > [Updating the pkgdb in /var/db/pkg ... - 301 packages= found > (-26 +17) (...)ruby in malloc(): error: allocation failed > Abort (core dumped) >=20 > Any suggestions would be highly appreciated. I'm blocked. I ran into this and fixed it by removing /var/db/pkg/pkgdb.db. This file had become corrupt (perhaps because ruby and the ruby modules were linked against conflicting thread libraries), but recompiling ruby* from scratch did not allow pkgdb to fix the file. This is probably a bug in pkgdb. Kris --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAKnDqWry0BWjoQKURAhJlAJ0X0vGKVZ9LCdZJGNbBhjNQzHAQLwCfTs9n X6Yn1ug1h+PFZxYsIvFIF38= =ZD92 -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--