Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Sep 2004 22:29:23 -0500
From:      Jeff Hinrichs <jlh@cox.net>
To:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   Re: portupgrade, portsdb -U failing, ruby dumping core
Message-ID:  <41393693.2050908@cox.net>
In-Reply-To: <89ceee704090211342b63c20c@mail.gmail.com>
References:  <89ceee704090210493f05add6@mail.gmail.com> <89ceee704090211342b63c20c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Finn wrote:

> [ root @ stewie : /usr/ports/sysutils/portupgrade] : portupgrade ruby
> [Failed `Inappropriate file type or format'] [Updating the portsdb
> <format:bdb1_btree> in /usr/ports ... - 11725 port entries found
> .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000..../usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587:
> [BUG] Bus Error
> ruby 1.8.1 (2004-05-02) [i386-freebsd5]
> 
> Abort trap (core dumped)
> 
> Any ideas what could be causing this?  I recently installed portindex
> and have been using that to generate indexes after reading someone
> suggestion on one of the fbsd mailing lists.  I don't think I have
> made any other changes recently.

I just sup'd and then portsversion produced this:

[Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11734 port 
entries found 
.........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000....

where it is just sitting, so I pulled out top and see:

   PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
21110 root      64   0 12540K 12068K RUN     10:53 99.02% 99.02% ruby18

Something is getting it stuck in a loop, it runs then explodes with the 
Bus Error.

No gnome, no kde, this is on a 4.10 box that had been merrily running 
and sup'ing nightly.

Hope someone figures this out....  Is their a debug switch for portsdb??

-Jeff



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