Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2004 12:40:19 -0800 (PST)
From:      Lev A Gutierrez <lev74@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/63657: pkgdb crash with a 'select': failed to allocate memory (NoMemoryError)' message
Message-ID:  <200403022040.i22KeJSe021059@www.freebsd.org>
Resent-Message-ID: <200403022050.i22KoHGR031017@freefall.freebsd.org>

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

>Number:         63657
>Category:       ports
>Synopsis:       pkgdb crash with a 'select': failed to allocate memory (NoMemoryError)' message
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 02 12:50:17 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Lev A Gutierrez
>Release:        4.9p2
>Organization:
VSOFT
>Environment:
FreeBSD krishna.vsoft.no-ip.com 4.9-RELEASE-p2 FreeBSD 4.9-RELEASE-p2 #0: Fri Feb 13 19:34:40 CST 2004     root@krishna.vsoft.no-ip.com:/usr/obj/usr/src/sys/KRISHNA  i386
>Description:
pkgdb -F generate the next error:

lev@krishna:/usr/ports/sysutils/portupgrade> sudo pkgdb -F
--->  Checking the package registry database
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 223 packages found (-7 +4) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:467:in `select': failed to allocate memory (NoMemoryError)
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:467:in `update_db'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:592:in `open_db'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:759: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:
I have deleted ruby-bdb, ruby18 and portupgrade and rebuild all and the problem is the same.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



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