From: Chris Schlaeger Date: 2009-03-01T02:00:04+09:00 Subject: [ruby-core:22597] [Bug #1227] [BUG] object allocation during garbage collection phase Bug #1227: [BUG] object allocation during garbage collection phase http://redmine.ruby-lang.org/issues/show/1227 Author: Chris Schlaeger Status: Open, Priority: Normal Category: core ruby -v: ruby 1.9.2dev (2009-02-28 trunk 22678) [x86_64-linux] I'm trying to profile sections of a large application (taskjuggler) with ruby-prof. As soon as I hit the RubyProf.stop call, I get the attached error message. Since ruby-prof is using C code as well, this may be a ruby-prof issue, but could also be a generic ruby bug. ruby 1.9 and ruby-prof both from svn today. Enclosing the RubyProf.stop call with GC.en-/disabled calls is a workaround, but no long-term solution. To reproduce: get ruby 1.9 and ruby-prof from svn. get taskjuggler3 from git (commit eee3a2c6f0d559086f95bc2b02e54bdae337fd95) has the offending code. git clone http://www.taskjuggler.org/git-repos/taskjuggler3.git cd taskjuggler3 git checkout eee3a2c6f0d559086f95bc2b02e54bdae337fd9 cd lib; ruby taskjuggler3.rb ../examples/acso.tjp ---------------------------------------- http://redmine.ruby-lang.org