Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2004 03:19:58 +0100
From:      Palle Girgensohn <girgen@pingpong.net>
To:        freebsd-ports@freebsd.org
Subject:   ruby segfaults when running portsdb -u
Message-ID:  <DE2732B6ACADFC762EB441D8@palle.girgensohn.se>

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

When running portsdb -Uu, it fails on -u every time.

Yesterday I tracked it down to the entry around row 8825 of the INDEX file. 
It seems more dependant on that row number than what actual record is on 
that row. OpenSSH-askpass-1.2.2.2001.02.24 was there, but removing it made 
the next row fail. Is there some kind of memory problem in ruby, perhaps?

$ ulimit
unlimited
$

Updating the ports index ... Generating INDEX.tmp - please wait..Warning: 
Duplicate INDEX entry: freeciv-gtk2-1.14.2
Warning: Duplicate INDEX entry: openldap-sasl-client-2.1.30
Warning: Duplicate INDEX entry: openldap-sasl-server-2.1.30
Warning: Duplicate INDEX entry: fvwm-imlib-2.4.19
 Done.
done
[Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11959 port 
entries found 
.........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000....../usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: 
[BUG] Segmentation fault
ruby 1.8.2 (2004-07-29) [i386-freebsd4]

Abort trap (core dumped)



This happens on two different machines, FreeBSD 4.10:

Information for portupgrade-20040701_3:

Packing list:
        Comment: PKG_FORMAT_REVISION:1.1
        Package name: portupgrade-20040701_3
        Package origin: sysutils/portupgrade
        CWD to /usr/local
Dependency: ruby-1.8.2.p2_1
        dependency origin: lang/ruby18
Dependency: ruby18-bdb1-0.2.2
        dependency origin: databases/ruby-bdb1


It seems to work fine @ FreeBSD 5.3

Ideas?

/Palle



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