Skip to content

Instantly share code, notes, and snippets.

@pdswan
Created November 18, 2012 00:16
Show Gist options
  • Save pdswan/4101841 to your computer and use it in GitHub Desktop.
Save pdswan/4101841 to your computer and use it in GitHub Desktop.
Rubinius vs MRI Socket Errors
IOError:
closed stream
/Users/pdswan/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/openssl/buffering.rb:174:in `sysread_nonblock'
/Users/pdswan/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/openssl/buffering.rb:174:in `read_nonblock'
/Users/pdswan/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/net/protocol.rb:141:in `rbuf_fill'
/Users/pdswan/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/net/protocol.rb:122:in `readuntil'
/Users/pdswan/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/net/protocol.rb:132:in `readline'
/Users/pdswan/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/net/http.rb:2770:in `read_chunked'
/Users/pdswan/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/net/http.rb:2750:in `read_body_0'
/Users/pdswan/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/net/http.rb:2710:in `read_body'
Errno::EBADF:
Bad file descriptor - system failure
kernel/common/errno.rb:18:in `handle'
ossl_ssl.c:in `sysread_nonblock'
/Users/pdswan/.rbenv/versions/rbx-2.0.0-rc1/lib/19/openssl/buffering.rb:174:in `read_nonblock'
/Users/pdswan/.rbenv/versions/rbx-2.0.0-rc1/lib/19/net/protocol.rb:141:in `rbuf_fill'
/Users/pdswan/.rbenv/versions/rbx-2.0.0-rc1/lib/19/net/protocol.rb:122:in `readuntil'
/Users/pdswan/.rbenv/versions/rbx-2.0.0-rc1/lib/19/net/protocol.rb:132:in `readline'
/Users/pdswan/.rbenv/versions/rbx-2.0.0-rc1/lib/19/net/http.rb:2770:in `read_chunked'
/Users/pdswan/.rbenv/versions/rbx-2.0.0-rc1/lib/19/net/http.rb:2750:in `read_body_0'
/Users/pdswan/.rbenv/versions/rbx-2.0.0-rc1/lib/19/net/http.rb:2710:in `read_body'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment