ruby-1.8.0.p3 segfault

Discussion in 'Ruby' started by George Moschovitis, Jul 9, 2003.

  1. Hi there,

    I am evaluting the latest preview, and i get the following errro:

    .../navel/web/srv/request.rb:339: [BUG] obj_free() called for broken object
    ruby 1.8.0 (2003-06-23) [i686-linux]

    here is the relevant code:

    def read_line(io, sep=LF, to = $srv_request_timeout)
    begin
    timeout(to) do
    # drak: trying to resolve a segfault, will return nil if io.nil?
    # return (io.nil? ? nil : io.gets(sep))
    if io
    return io.gets(sep)
    else
    return ""
    end
    end
    rescue TimeoutError
    raise HttpRequestTimeout
    rescue Exception, StandardError => e
    $log.debug e
    # gmosx: if the nil is not returned it returns File (from the log),
    # and may produce an error.
    return nil
    end
    end
     
    George Moschovitis, Jul 9, 2003
    #1
    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. Andrey Vul
    Replies:
    8
    Views:
    717
    Richard Bos
    Jul 30, 2010
  2. Nathaniel Talbott

    Segfault in Ruby/ODBC

    Nathaniel Talbott, Nov 7, 2003, in forum: Ruby
    Replies:
    2
    Views:
    264
    Hidetoshi NAGAI
    Nov 10, 2003
  3. francois DOT delobel removeAT free DOT fr

    Ruby 1.8.1 segfault (debian testing)

    francois DOT delobel removeAT free DOT fr, Feb 17, 2004, in forum: Ruby
    Replies:
    3
    Views:
    111
  4. Ernie
    Replies:
    9
    Views:
    159
    Chad Fowler
    Jun 5, 2004
  5. Godot

    Segfault on embedded ruby.

    Godot, Jun 6, 2004, in forum: Ruby
    Replies:
    15
    Views:
    266
Loading...

Share This Page