From owner-freebsd-questions@FreeBSD.ORG Wed Jan 26 09:57:02 2005 Return-Path: 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 C7A5716A4CE for ; Wed, 26 Jan 2005 09:57:02 +0000 (GMT) Received: from esemetz.metz.supelec.fr (esemetz.metz.supelec.fr [193.48.224.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA9C143D46 for ; Wed, 26 Jan 2005 09:57:01 +0000 (GMT) (envelope-from gregorynou@altern.org) Received: from [193.48.225.2] (nou.rez-metz.supelec.fr [193.48.225.2]) by esemetz.metz.supelec.fr (8.11.6/8.9.3) with ESMTP id j0Q9up530891 for ; Wed, 26 Jan 2005 10:56:52 +0100 Message-ID: <41F76963.5080203@altern.org> Date: Wed, 26 Jan 2005 10:56:51 +0100 From: Gregory Nou User-Agent: Mozilla Thunderbird 0.8 (X11/20041130) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD-Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: pb with portupgrade (segfault or cannot allocate memory) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2005 09:57:02 -0000 Hi, Since I don't really know where the relevant place to post this is, I thought it would be ok there. If it's not the case, I would be glad someone would transfer it to the right location :) I had a deep use of portupgrade/portinstall this morning. Everything was working pretty good (at least, it used to have the behaviour I was expecting), but after 2 hours, I got this : 10:45 root@alfred /usr/ports# portupgrade -P gnomevfs2-2.8.3_1 [Updating the pkgdb in /var/db/pkg ... - 561 packages found (-1 +0) (...)[Updating the pkgdb in /var/db/pkg ... - 561 packages found (-1 +0) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:467: [BUG] Segmentation fault ruby 1.8.2 (2004-07-29) [i386-freebsd5] zsh: abort portupgrade -P gnomevfs2-2.8.3_1 10:46 root@alfred /usr/ports# portupgrade -P gnomevfs2 [Updating the pkgdb in /var/db/pkg ... - 561 packages found (-1 +0) (...)[Updating the pkgdb in /var/db/pkg ... - 561 packages found (-1 +0) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:239:in `origin': Cannot allocate memory: Cannot update the pkgdb!] (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:178:in `origin' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:913:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933:in `sort_build!' from /usr/local/sbin/portupgrade:674:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1845 zsh: exit 1 portupgrade -P gnomevfs2 Any idea ? I cannot figure why it suddently segfaulted, and why the errors are not at the same line. Thx -- Grégory