From owner-freebsd-ports Fri Mar 29 22:30:14 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9B8C537B419 for ; Fri, 29 Mar 2002 22:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2U6U1q41014; Fri, 29 Mar 2002 22:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B20E237B426 for ; Fri, 29 Mar 2002 22:28:37 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2U6Sb540863; Fri, 29 Mar 2002 22:28:37 -0800 (PST) (envelope-from nobody) Message-Id: <200203300628.g2U6Sb540863@freefall.freebsd.org> Date: Fri, 29 Mar 2002 22:28:37 -0800 (PST) From: Henry Miller To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/36525: portupgrade, and pkgdb -F crash Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36525 >Category: ports >Synopsis: portupgrade, and pkgdb -F crash >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 29 22:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Henry Miller >Release: 4.5 - stable >Organization: >Environment: %uname -a FreeBSD daphne.bogus 4.5-STABLE FreeBSD 4.5-STABLE #0: Fri Mar 29 19:55:06 CST 2002 root@daphne.bogus:/usr/src/sys/compile/DAPHNE i386 >Description: I was attempting to upgrade two ports at the same time, and filled my filesystem. From here on, all attempts to run portupgrade crash with an out of memory error. daphne# pkgdb -F [Updating the pkgdb in /var/db/pkg ... - 150 packages found (-2 +6) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:375:in `each': tried to allocate too big memory (NoMemoryError) from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:375:in `select' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:375:in `update_db' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:533:in `open_db' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:682:in `installed_pkgs' from /usr/local/sbin/pkgdb:233:in `fix_db' from /usr/local/sbin/pkgdb:182:in `main' from /usr/local/sbin/pkgdb:61:in `initialize' from /usr/local/sbin/pkgdb:61:in `new' from /usr/local/sbin/pkgdb:61:in `main' from /usr/local/sbin/pkgdb:890 daphne# /usr/local/sbin/portupgrade autoconf [Updating the pkgdb in /var/db/pkg ... - 147 packages found (-2 +3) (...)[Updating the pkgdb in /var/db/pkg ... - 147 pa ckages found (-2 +3) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:210:in `ori gin': Cannot allocate memory: Cannot update the pkgdb!] (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:174:in `origin' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:797:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:791:in `each' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:791:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:813:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:817:in `sort_build!' from /usr/local/sbin/portupgrade:609:in `main' from /usr/local/sbin/portupgrade:196:in `initialize' from /usr/local/sbin/portupgrade:196:in `new' from /usr/local/sbin/portupgrade:19 This is repeatable, and the system is still in that state. My guess is that there is a data corruption issue on my machine someplace, but I don't know which files they could be. I'm not sure where to look from here to find. The ports I was upgradeing when this happened are pcre, and libaudiofile. I deinstalled those ports, and built/installed them manually, and the problem persists. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message