Ruby crashes with portupgrade

Kövesdán Gábor gabor.kovesdan at t-hosting.hu
Mon Feb 20 08:32:32 PST 2006


Andrew Pantyukhin wrote:

>On 2/19/06, Kövesdán Gábor <gabor.kovesdan at t-hosting.hu> wrote:
>  
>
>>Hello,
>>
>>Ruby always crashes and makes a coredump when I try to use portupgrade:
>>
>>root at server# portupgrade -ai
>>--->  Session started at: Sun, 19 Feb 2006 15:32:51 +0100
>>[Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... - 313 packages
>>found (-5 +4) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG]
>>Segmentation fault
>>ruby 1.8.4 (2005-12-24) [amd64-freebsd5]
>>
>>Abort trap (core dumped)
>>
>>I tried to reinstall both of them but no use. Have somebody experiencd
>>and fixed such issue?
>>    
>>
>
>
>1. Try removing /var/db/pkg/pkgdb.db
>  
>
Thanks, it helped.

>2. Try rebuilding ruby WITHOUT_PTHREADS
>  
>
Gabor Kovesdan


More information about the freebsd-questions mailing list