From owner-freebsd-current@FreeBSD.ORG Tue Jan 13 07:00:08 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 465C616A4CE for ; Tue, 13 Jan 2004 07:00:08 -0800 (PST) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09B6B43D49 for ; Tue, 13 Jan 2004 07:00:03 -0800 (PST) (envelope-from tuc@ttsg.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)i0DF01VV083650; Tue, 13 Jan 2004 10:00:02 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost [127.0.0.1]) id i0DExvS0014182; Tue, 13 Jan 2004 09:59:57 -0500 (EST) (envelope-from tuc@ttsg.com) Received: (from tuc@localhost)i0DExuO2014181; Tue, 13 Jan 2004 09:59:57 -0500 (EST) From: Tuc Message-Id: <200401131459.i0DExuO2014181@himinbjorg.tucs-beachin-obx-house.com> To: q@uni.de (Ulrich Spoerlein) Date: Tue, 13 Jan 2004 09:59:56 -0500 (EST) In-Reply-To: <20040113144450.GA775@galgenberg.net> from "Ulrich Spoerlein" at Jan 13, 2004 03:44:50 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: Edwin Culp cc: current@freebsd.org cc: Tuc Subject: Re: Signal 6's with ruby apps such as portupgrade and pkg X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2004 15:00:08 -0000 > On Mon, 12.01.2004 at 18:42:34 -0500, Tuc wrote: > > > Is anyone else seeing this or have an idea what might > > > have started it. I'm not able to find a common > > > denominator. I rebuilt all the ruby apps, > > > portupgrade, etc. I've run mergemaster. Maybe I have > > > some old libraries in /usr/lib. I'm going to check. > > himinbjorg# portupgrade lsof-4.69 =20 > > [Updating the pkgdb in /var/db/pkg ... - 303 packages= > found (-1 +2) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:469: [BUG] S= > egmentation fault > > ruby 1.6.8 (2003-03-26) [i386-freebsd4] > > Abort (core dumped) > > I get this once in a while, simply 'rm /var/db/pkg/pkgdb.db'. Then run > portversion or portupgrade, which will rebuild the pkgdb. > I renamed it, tried, and it didn't work. I went to look, and there was a pkgdb.db from 4 days ago there?! So I deleted it, and now it seems to work! Thanks. Tuc/TTSG Internet Services, Inc.