Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2005 20:32:56 GMT
From:      Thomas Schweikle <tps@vr-web.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/81878: pkgdb crashes, core dumped
Message-ID:  <200506032032.j53KWuWJ084918@www.freebsd.org>
Resent-Message-ID: <200506032040.j53Ke2ou091328@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         81878
>Category:       ports
>Synopsis:       pkgdb crashes, core dumped
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 03 20:40:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Schweikle
>Release:        FreeBSD 5.4-STABLE
>Organization:
>Environment:
FreeBSD hazel.tps 5.4-STABLE FreeBSD 5.4-STABLE #37: Fri May 20 11:15:49 CEST 2005     screen@hazel.tps:/usr/obj/usr/src/sys/HAZEL  i386

>Description:
      pkgdb crashes:

hazel# pkgdb -F
--->  Checking the package registry database
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 341 packages found (-6 +7) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466:in `select': failed to allocate memory (NoMemoryError)
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466:in `update_db'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:591:in `open_db'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:758:in `installed_pkgs'
        from /usr/local/sbin/pkgdb:292:in `fix_db_init'
        from /usr/local/sbin/pkgdb:284:in `fix_db'
        from /usr/local/sbin/pkgdb:231:in `main'
        from /usr/local/sbin/pkgdb:64:in `initialize'
        from /usr/local/sbin/pkgdb:64:in `new'
        from /usr/local/sbin/pkgdb:64:in `main'
        from /usr/local/sbin/pkgdb:1043


>How-To-Repeat:
      cvsup 1. Jun. 2005, compile portupgrade (new version available), run pkgdb -F (worked), use the new portupgrade for one more upgrade, pkgdb -F crashes.
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506032032.j53KWuWJ084918>