ruby-1.8.0.p3 segfault

  • Thread starter George Moschovitis
  • Start date
G

George Moschovitis

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top