Date: Wed, 26 Jan 2005 10:56:51 +0100 From: Gregory Nou <gregorynou@altern.org> To: FreeBSD-Questions <freebsd-questions@freebsd.org> Subject: pb with portupgrade (segfault or cannot allocate memory) Message-ID: <41F76963.5080203@altern.org>
next in thread | raw e-mail | index | archive | help
Hi, Since I don't really know where the relevant place to post this is, I thought it would be ok there. If it's not the case, I would be glad someone would transfer it to the right location :) I had a deep use of portupgrade/portinstall this morning. Everything was working pretty good (at least, it used to have the behaviour I was expecting), but after 2 hours, I got this : 10:45 root@alfred /usr/ports# portupgrade -P gnomevfs2-2.8.3_1 [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 561 packages found (-1 +0) (...)[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 561 packages found (-1 +0) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:467: [BUG] Segmentation fault ruby 1.8.2 (2004-07-29) [i386-freebsd5] zsh: abort portupgrade -P gnomevfs2-2.8.3_1 10:46 root@alfred /usr/ports# portupgrade -P gnomevfs2 [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 561 packages found (-1 +0) (...)[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 561 packages found (-1 +0) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:239:in `origin': Cannot allocate memory: Cannot update the pkgdb!] (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:178:in `origin' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:913:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933:in `sort_build!' from /usr/local/sbin/portupgrade:674:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1845 zsh: exit 1 portupgrade -P gnomevfs2 Any idea ? I cannot figure why it suddently segfaulted, and why the errors are not at the same line. Thx -- Grégory
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F76963.5080203>