From owner-freebsd-questions@FreeBSD.ORG Mon Feb 20 16:32:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87DE316A420 for ; Mon, 20 Feb 2006 16:32:32 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from viefep15-int.chello.at (viefep15-int.chello.at [213.46.255.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24E3643D6B for ; Mon, 20 Feb 2006 16:32:24 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from [192.168.2.186] (really [80.98.231.227]) by viefep15-int.chello.at (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20060220163222.VYKQ18248.viefep15-int.chello.at@[192.168.2.186]>; Mon, 20 Feb 2006 17:32:22 +0100 Message-ID: <43F9EF13.6080509@t-hosting.hu> Date: Mon, 20 Feb 2006 17:32:19 +0100 From: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Pantyukhin References: <43F88203.7060205@t-hosting.hu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions Subject: Re: Ruby crashes with portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2006 16:32:32 -0000 Andrew Pantyukhin wrote: >On 2/19/06, Kövesdán Gábor wrote: > > >>Hello, >> >>Ruby always crashes and makes a coredump when I try to use portupgrade: >> >>root@server# portupgrade -ai >>---> Session started at: Sun, 19 Feb 2006 15:32:51 +0100 >>[Updating the pkgdb in /var/db/pkg ... - 313 packages >>found (-5 +4) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG] >>Segmentation fault >>ruby 1.8.4 (2005-12-24) [amd64-freebsd5] >> >>Abort trap (core dumped) >> >>I tried to reinstall both of them but no use. Have somebody experiencd >>and fixed such issue? >> >> > > >1. Try removing /var/db/pkg/pkgdb.db > > Thanks, it helped. >2. Try rebuilding ruby WITHOUT_PTHREADS > > Gabor Kovesdan