Details

    • Number of attachments :
      0

      Description

      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.

        Activity

        Hide
        Charles Oliver Nutter added a comment -
        commit 92b38c48cd9960e0692bcf36e2b790c89d0b324c
        Author: Charles Oliver Nutter <headius@headius.com>
        Date:   Fri Oct 5 22:23:58 2012 -0500
        
            Fix JRUBY-5732
            
            Error with selector: java.nio.channels.ClosedChannelException
        
        :100644 100644 2d3cea7... 0492ffb... M	src/org/jruby/Ruby.java
        :100644 100644 856833b... 8ffef63... M	src/org/jruby/RubyThread.java
        
        Show
        Charles Oliver Nutter added a comment - commit 92b38c48cd9960e0692bcf36e2b790c89d0b324c Author: Charles Oliver Nutter <headius@headius.com> Date: Fri Oct 5 22:23:58 2012 -0500 Fix JRUBY-5732 Error with selector: java.nio.channels.ClosedChannelException :100644 100644 2d3cea7... 0492ffb... M src/org/jruby/Ruby.java :100644 100644 856833b... 8ffef63... M src/org/jruby/RubyThread.java

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Tony Arcieri
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: