ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:69977] [Ruby trunk - Bug #11353] [Open] ASYNC BUG after failure of Process.exec when closing FD 3 (or 4 or 5)
       [not found] <redmine.issue-11353.20150715142318@ruby-lang.org>
@ 2015-07-15 14:23 ` ngotogenome
  0 siblings, 0 replies; only message in thread
From: ngotogenome @ 2015-07-15 14:23 UTC (permalink / raw)
  To: ruby-core

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 `<main>'
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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-15 13:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-11353.20150715142318@ruby-lang.org>
2015-07-15 14:23 ` [ruby-core:69977] [Ruby trunk - Bug #11353] [Open] ASYNC BUG after failure of Process.exec when closing FD 3 (or 4 or 5) ngotogenome

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).