Error with selector: java.nio.channels.ClosedChannelException
-------------------------------------------------------------

                 Key: JRUBY-5732
                 URL: http://jira.codehaus.org/browse/JRUBY-5732
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.6.1
            Reporter: Tony Arcieri


I have several threads that are doing blocking reads on pipes created with 
IO.pipe. Kernel#exit is called, and the threads begin to die. I've managed to 
swallow most of the exceptions being generated except for this one:

  RuntimeError: Error with selector: java.nio.channels.ClosedChannelException
  org/jruby/RubyIO.java:2723:in `read'

It looks as though this needs to be wrapped in something like Errno::EBADF or 
IOError.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to