Bug #12445
open![Assignee: cygwin](/images/group.png?1722288379)
Testing TestIO#test_open_fifo_does_not_block_other_threads results in deadlock on cygwin
Description
When I run bin/ruby test/runner.rb test/ruby/test_*
, testing stops at TestIO#test_open_fifo_does_not_block_other_threads
. Checking the task manager shows that this is a deadlock (there are two ruby interpreters running, but they don't use any CPU at all).
This is what I see for ages:
[1589/4545] TestIO#test_open_fifo_does_not_block_other_threads
Updated by duerst (Martin Dürst) about 8 years ago
I see exactly the same phenomenon for TestProcess#test_execopts_redirect_open_fifo
. Given the similarity of the test names, these two problems may be related.
Updated by duerst (Martin Dürst) about 8 years ago
Very much the same also for TestReadPartial#test_open_pipe
. Probably also related.
Updated by duerst (Martin Dürst) about 8 years ago
TestSignal#test_exit_action
is another test that hangs in the same way, but from the name, it's not clear whether this is caused by the same bug or not.
Updated by duerst (Martin Dürst) about 8 years ago
Martin Dürst wrote:
TestSignal#test_exit_action
is another test that hangs in the same way, but from the name, it's not clear whether this is caused by the same bug or not.
Another difference is that for this test, Ctrl-C creates a failure (see below) and moves on, whereas for the others, Ctrl-C isn't of much help.
[ 63/1101] TestSignal#test_exit_action = 2717.75 s
1) Failure:
TestSignal#test_exit_action [/cygdrive/c/Data/ruby/test/ruby/test_signal.rb:56]:
[ruby-dev:26128].
Exception raised:
<Interrupt>.
Updated by shyouhei (Shyouhei Urabe) over 7 years ago
- Status changed from Open to Assigned
Updated by naruse (Yui NARUSE) about 2 years ago
- Assignee changed from nobu (Nobuyoshi Nakada) to cygwin