From: ruud grosmann Date: 2008-07-30T18:06:54+09:00 Subject: Re: [BUG]- error message from script Sorry for my previous post. More info: the problem arises when I do this in the script (which contains a Test::Unit::TestCase): require 'xml/libxml' require 'test/unit' class Test def create (file) doc = XML::Document.file( file) return 'test' end end class TC_s < Test::Unit::TestCase def test_error t = Test.new res = t.create( 'mytest.xml') assert_equal( res, 'blip') end end THe error only occurs if the assertion fails, so assert_equal( res, 'test') would not raise the error. It seems that the libxml library does something that is not OK. regards, Ruud On 30/07/2008, ruud grosmann wrote: > More info: > > the problem arises when I do in my document > > def create (file) > doc = XML::Document.file( file) > > > > On 29/07/2008, ruud grosmann wrote: >> hello, >> >> I've got this error message from my script: >> >> /usr/lib/ruby/1.8/pp.rb:490: [BUG] object allocation during garbage >> collection phase >> ruby 1.8.7 (2008-06-20 patchlevel 22) [i486-linux] >> >> Can anybody tell me what I should do with it? Is there some email >> address where I should report it? >> >> regards, Ruud >> >> >