ports/66222: ruby / bdb segfault

Radim Kolar hsn at netmag.cz
Mon May 3 19:40:21 UTC 2004


>Number:         66222
>Category:       ports
>Synopsis:       ruby / bdb segfault
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 03 12:40:19 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 5.2.1-RELEASE-p3 i386
>Organization:
Bhagavata Dharma
>Environment:
System: FreeBSD asura.bsd 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #6: Mon Apr 5 17:41:24 CEST 2004 root at asura.bsd:/usr/src/sys/i386/compile/UP i386
ruby-1.8.1_2        An object-oriented interpreted scripting language
ruby18-bdb1-0.2.2   Ruby interface to Berkeley DB revision 1.8x with full featu
portupgrade-20040325_1 FreeBSD ports/packages administration and management tools
>Description:
There is bug in ruby or in Berkeley db1.
	
>How-To-Repeat:
asura# portsdb -u
[Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 10799 port entries
found .........1000.........2000.........3000......../usr/local/lib/ruby/site_r uby/1.8/portsdb.rb:587: [BUG] Segmentation fault
ruby 1.8.1 (2003-12-25) [i386-freebsd5]

Abort (core dumped)

You need INDEX-5 file from 
http://home.tiscali.cz/~cz210552/junk/INDEX-5.bz2
for re-creating the problem.
>Fix:
This crash is sensitive to order of lines in input file. If you reorder lines
(place crashing gd-2 port into random location or modify gd-2 line i.e. add space), you can avoid the crash.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list