From: ngotogenome@... Date: 2015-07-08T00:47:57+00:00 Subject: [ruby-core:69895] [Ruby trunk - Bug #11336] TestProcess#test_exec_fd_3_redirect failed on Solaris 10 Issue #11336 has been updated by Naohisa Goto. Sometimes ASYNC BUG occurs, but it cannot be reproduced with truss. ~~~ $ ruby -e 'a = IO.pipe; b = IO.pipe; p a; p b; pid = fork { exec("ruby", "-e", "print IO.for_fd(3).read(1)", 3=>a[0],1=>b[1]) }; b[1].close; a[0].close; a[1].write("."); p b[0].read(1); Process.wait(pid)' [#, #] [#, #] [ASYNC BUG] consume_communication_pipe: read EBADF ruby 2.3.0dev (2015-07-08) [sparc64-solaris2.10] [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 "." ~~~ ---------------------------------------- Bug #11336: TestProcess#test_exec_fd_3_redirect failed on Solaris 10 https://bugs.ruby-lang.org/issues/11336#change-53313 * Author: Naohisa Goto * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.3.0dev (2015-07-06) [sparc64-solaris2.10] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- On Solaris 10, TestProcess#test_exec_fd_3_redirect failed since r51146 (where the test was added). ~~~ 1) Failure: TestProcess#test_exec_fd_3_redirect [/XXXXX-51146/test/ruby/test_process.rb:2049]: <"."> expected but was . ~~~ -- https://bugs.ruby-lang.org/