< :前の番号
^ :番号順リスト
> :次の番号
P :前の記事(スレッド移動)
N :次の記事(スレッド移動)
|<:前のスレッド
>|:次のスレッド
^ :返事先
_:自分への返事
>:同じ返事先を持つ記事(前)
<:同じ返事先を持つ記事(後)
---:分割してスレッド表示、再表示
| :分割して(縦)スレッド表示、再表示
~ :スレッドのフレーム消去
.:インデックス
..:インデックスのインデックス
Issue #7999 has been updated by kosaki (Motohiro KOSAKI).
This issue was introduced at r35163 (see [Bug#6098]).
----------------------------------------
Bug #7999: bootstarap test hungs at threading tests
https://bugs.ruby-lang.org/issues/7999#change-37247
Author: ko1 (Koichi Sasada)
Status: Assigned
Priority: Normal
Assignee: kosaki (Motohiro KOSAKI)
Category: core
Target version: current: 2.1.0
ruby -v: ruby 2.1.0dev
On [ruby-list:49232], Ootani-san reported that Ruby 2.0.0p0 hungs on bootstarap test hungs at threading tests.
assert_equal 'true', %{
t = Thread.new { loop {} }
begin
pid = fork {
exit t.status != "run"
}
Process.wait pid
$?.success?
rescue NotImplementedError
true
end
}
He rewrites to " t = Thread.new { loop {sleep 1} }" and it work successfully.
His environment is CentOS6.3 and VMware.
He doubts this issue caused only on single-core processor because there is no problem on multi-core VM setting.
I also observed same issue on VirtualBox with Ubuntu. I haven't check yet that it is only on single-core or not.
I want to clarify the reason of this issue.
Please give information about your environment if you have same issue.
--
http://bugs.ruby-lang.org/