I am experiancing random “object allocation during garbage collection
phase” errors in rails app. I tried upgrading ruby and rails - the error
persists with ruby 1.8.6_p287/1.8.7_p72 / rails 2.1.0/2.1.1.
Also tried in different servers - mongrel and apache/mod_rails.
The error araises from random locations too.
The most frequent one is
“/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/callbacks.rb:271”
Unortunately I have no idea how to make a relatively simple script to
reproduce the error.
The attachment file contains two consecutive crash events in gdb
session.
system info:
Gentoo linux 2.6.25.16
uname -a
Linux georgiev 2.6.25.16 #1 SMP PREEMPT Thu Sep 4 22:54:13 EEST 2008
i686 Genuine Intel® CPU 2160 @ 1.80GHz GenuineIntel GNU/Linux
ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [i686-linux]
gem list
*** LOCAL GEMS ***
actionmailer (2.1.1)
actionpack (2.1.1)
activerecord (2.1.1)
activerecord-firebird-adapter (1.0.0.9250)
activeresource (2.1.1)
activesupport (2.1.1)
capistrano (2.5.0)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
fastthread (1.0.1)
fireruby (0.4.3)
gem_plugin (0.2.3)
highline (1.4.0)
macaddr (1.0.0)
mongrel (1.1.5)
net-scp (1.0.1)
net-sftp (2.0.1)
net-ssh (2.0.4)
net-ssh-gateway (1.0.0)
rails (2.1.1)
rake (0.8.2)
rubygems-update (1.2.0)
uuidtools (1.0.3)
I am running ou of ideas, any help is appreciated.