From owner-freebsd-ports@FreeBSD.ORG Mon Sep 6 18:00:05 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 BCC5516A4CE for ; Mon, 6 Sep 2004 18:00:05 +0000 (GMT) Received: from makeworld.com (makeworld.com [198.92.228.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55E0E43D46 for ; Mon, 6 Sep 2004 18:00:05 +0000 (GMT) (envelope-from racerx@makeworld.com) Received: from localhost (localhost.com [127.0.0.1]) by makeworld.com (Postfix) with ESMTP id CAF6E6348; Mon, 6 Sep 2004 13:00:04 -0500 (CDT) Received: from makeworld.com ([127.0.0.1]) by localhost (makeworld.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 36562-08; Mon, 6 Sep 2004 12:59:59 -0500 (CDT) Received: from [198.92.228.34] (racerx.makeworld.com [198.92.228.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by makeworld.com (Postfix) with ESMTP id 4C6F862E1; Mon, 6 Sep 2004 12:59:59 -0500 (CDT) Message-ID: <413CA59E.3060304@makeworld.com> Date: Mon, 06 Sep 2004 12:59:58 -0500 From: Chris User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040903) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vulpes Velox References: <20040906143153.N44103@atlantis.atlantis.dp.ua> <20040906125305.7f577034@vixen42.24-119-122-191.cpe.cableone.net> In-Reply-To: <20040906125305.7f577034@vixen42.24-119-122-191.cpe.cableone.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at makeworld.com - Isn't it ironic cc: Dmitry Pryanishnikov cc: ports@freebsd.org Subject: Re: portsdb and ruby bug on 4-STABLE 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: Mon, 06 Sep 2004 18:00:05 -0000 Vulpes Velox wrote: > On Mon, 6 Sep 2004 16:24:57 +0300 (EEST) > Dmitry Pryanishnikov wrote: > > >>Hello! >> >> I'm hitting notoriuos bug during the portsdb -u last several days: >> >>root@core# portsdb -fu >>[Updating the portsdb in /usr/ports ... - 10078 >>port entries found >>.........1000.........2000.........3000.........4000.........5000.. >>.......6000.........7000../usr/local/lib/ruby/site_ruby/1.8/portsdb >>.rb:587: [BUG] Segmentation fault >>ruby 1.8.2 (2004-07-29) [i386-freebsd4] >>Abort trap (core dumped) >> >>Machine has ECC memory and is rock-solid, so I'd say it's definitely >>a software bug. Machine is running 4.9-RELEASE-p11, the same >>behaviour is seen on another PC, running 4.10-RELEASE-p2. However, >>my third server, running 4.7-RELEASE, doesn't trap with the same >>ports collection and the same INDEX generation procedure (I use >>portindex). Versions of the involved software are the same on all >>three machines: >> >>portindex-18_1 Incremental ports INDEX file builder >>portupgrade-20040701_3 FreeBSD ports/packages administration and >>management python-2.3.4_2 An interpreted object-oriented >>programming language ruby-1.8.2.p2_1 An object-oriented >>interpreted scripting language ruby18-bdb1-0.2.2 Ruby interface to >>Berkeley DB revision 1.8x with full >> >>So I'm curious, why this bug doesn't show under 4.7-RELEASE but >>shows under 4.9+? libc issue? >> >>P.S. BTW ruby sometimes runs into infinite loop instead of crashing >>(if it helps someone). Of course, I use portindexdb as a workaround. > > > fix it using rm INDEX* and then rebuild the index using portindex and > then rebuild the INDEX.db using portindexdb. Port upgrade now works > again. I have not seen this problem on for X, but did once on > 5.3beta3. Oh, and as a follow-up: I did another cvsup not more then an hour ago - portsdb - still bombs. -- Best regards, Chris In order for something to become clean, something else must become dirty. ... but you can get everything dirty without getting anything clean.