[BUG]- error message from script

Discussion in 'Ruby' started by ruud grosmann, Jul 29, 2008.

  1. 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, Jul 29, 2008
    #1
    1. Advertising

  2. 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
    >
    >
     
    ruud grosmann, Jul 30, 2008
    #2
    1. Advertising

  3. 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
    >>
    >>

    >
     
    ruud grosmann, Jul 30, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?VmVua2k=?=

    Validator error message label becomes editable - Bug

    =?Utf-8?B?VmVua2k=?=, Sep 25, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    501
    Hermit Dave
    Sep 25, 2004
  2. tshad
    Replies:
    0
    Views:
    807
    tshad
    Jan 27, 2005
  3. Replies:
    2
    Views:
    2,674
    replicant
    Jul 2, 2006
  4. Rajat
    Replies:
    3
    Views:
    722
    Jorgen Grahn
    Jan 8, 2010
  5. VYAS ASHISH M-NTB837
    Replies:
    2
    Views:
    584
    Jan Kaliszewski
    Jan 7, 2010
Loading...

Share This Page