jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • JRuby
  • JRUBY-3047

IO.select sometime reports Unable to establish loopback

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Incomplete
  • Affects Version/s: JRuby 1.1.4
  • Fix Version/s: None
  • Component/s: Core Classes/Modules
  • Labels:
    None
  • Environment:
    Windows XP, JDK 1.5

Description

This error happends frequently after running the same program using net/ssh

D:/huy/scripts/jruby1.1.4/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/transport/packet_stream.rb:68:in `available_for_read?': Unable to establish loopback
connection (IOError)
from D:/huy/scripts/jruby1.1.4/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/transport/packet_stream.rb:80:in `next_packet'
from D:/huy/scripts/jruby1.1.4/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/transport/session.rb:160:in `poll_message'
from D:/huy/scripts/jruby1.1.4/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/transport/session.rb:155:in `loop'
from D:/huy/scripts/jruby1.1.4/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/transport/session.rb:155:in `poll_message'
from D:/huy/scripts/jruby1.1.4/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/connection/session.rb:437:in `dispatch_incoming_packets'
from D:/huy/scripts/jruby1.1.4/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/connection/session.rb:194:in `preprocess'
from D:/huy/scripts/jruby1.1.4/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/connection/session.rb:178:in `process'
from D:/huy/scripts/jruby1.1.4/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh/connection/session.rb:142:in `loop'

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Wayne Meissner added a comment - 09/Oct/08 7:13 PM

That error appears to be bubbling up from the windows selector implementation. It could be that the selector isn't always getting closed (there are a few exception paths in IO#select that can cause that), or windows just can't create and tear down selectors quickly.

Show
Wayne Meissner added a comment - 09/Oct/08 7:13 PM That error appears to be bubbling up from the windows selector implementation. It could be that the selector isn't always getting closed (there are a few exception paths in IO#select that can cause that), or windows just can't create and tear down selectors quickly.
Hide
Permalink
Le Huy added a comment - 10/Oct/08 5:58 PM

the same program work well with MRI, can it be a bug of JRUBY implementation of IO module ?

Show
Le Huy added a comment - 10/Oct/08 5:58 PM the same program work well with MRI, can it be a bug of JRUBY implementation of IO module ?
Hide
Permalink
Charles Oliver Nutter added a comment - 25/Oct/08 4:42 PM

Le Huy: It's certainly possible...I'm not sure how to proceed on this one though. Any chance you can provide a simple script we can run to reproduce it?

Show
Charles Oliver Nutter added a comment - 25/Oct/08 4:42 PM Le Huy: It's certainly possible...I'm not sure how to proceed on this one though. Any chance you can provide a simple script we can run to reproduce it?
Hide
Permalink
Charles Oliver Nutter added a comment - 12/Feb/09 7:11 PM

No followup with a reproducible test case; incomplete.

Show
Charles Oliver Nutter added a comment - 12/Feb/09 7:11 PM No followup with a reproducible test case; incomplete.

People

  • Assignee:
    Charles Oliver Nutter
    Reporter:
    Le Huy
Vote (0)
Watch (0)

Dates

  • Created:
    08/Oct/08 8:15 PM
    Updated:
    27/Oct/09 1:48 PM
    Resolved:
    12/Feb/09 7:11 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.