[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[BUG]- error message from script

ruud grosmann

7/29/2008 3:11:00 PM

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

2 Answers

ruud grosmann

7/30/2008 8:58:00 AM

0

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 <r.grosmann@gmail.com> 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
>
>

ruud grosmann

7/30/2008 9:07:00 AM

0

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 <r.grosmann@gmail.com> 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 <r.grosmann@gmail.com> 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
>>
>>
>