From: ngotogenome@... Date: 2015-07-15T14:23:19+00:00 Subject: [ruby-core:69977] [Ruby trunk - Bug #11353] [Open] ASYNC BUG after failure of Process.exec when closing FD 3 (or 4 or 5) Issue #11353 has been reported by Naohisa Goto. ---------------------------------------- Bug #11353: ASYNC BUG after failure of Process.exec when closing FD 3 (or 4 or 5) https://bugs.ruby-lang.org/issues/11353 * Author: Naohisa Goto * Status: Open * Priority: Normal * Assignee: * ruby -v: * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- The following shows ASYNC BUG. ~~~ ruby -e 'Process.exec("/does_not_exist", "arg", {3=>:close})' [ASYNC BUG] -e:1:in `exec': No such file or directory - /does_not_exist (Errno::ENOENT) from -e:1:in `
' consume_communication_pipe: read EBADF ruby 2.3.0dev (2015-07-10) [x86_64-linux] [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html Aborted ~~~ Closing FD 4 or 5 also causes ASYNC BUG. -- https://bugs.ruby-lang.org/