- error message from script

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

More info:

the problem arises when I do in my document

def create (file)
doc = XML::Document.file( file)

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs