Ruby crashes with portupgrade

Andrew Pantyukhin infofarmer at gmail.com
Sun Feb 19 10:21:30 PST 2006


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
2. Try rebuilding ruby WITHOUT_PTHREADS


More information about the freebsd-questions mailing list