[#43284] [Ruby 1.9 - Bug #4456] [Open] Time#strftime で %F 指定子に大きな幅を指定した際の不具合 — tadayoshi funaba <redmine@...>
14 messages
2011/03/02
[#43285] [Ruby 1.9 - Bug #4457] [Open] Time#strftime で %z 指定子などに大きな幅を指定した際の不具合 — tadayoshi funaba <redmine@...>
6 messages
2011/03/02
[#43296] [Ruby 1.9 - Bug #3990] [Assigned]tests of rexml/rss reports many errors and failures without iconv — Yui NARUSE <redmine@...>
5 messages
2011/03/03
[#43297] Re: [Ruby 1.9 - Bug #3990] [Assigned]tests of rexml/rss reports many errors and failures without iconv
— SASADA Koichi <ko1@...>
2011/03/03
(2011/03/03 18:56), Yui NARUSE wrote:
[#43298] Re: [Ruby 1.9 - Bug #3990] [Assigned]tests of rexml/rss reports many errors and failures without iconv
— "U.Nakamura" <usa@...>
2011/03/03
こんにちは、なかむら(う)です。
[#43317] [Ruby 1.9 - Bug #4474][Open] 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動 — Masaki Matsushita <redmine@...>
9 messages
2011/03/06
[#43346] [BUG] lib/irb/locale.rb — keiju@... (Keiju ISHITSUKA)
けいじゅ@いしつかです.
8 messages
2011/03/24
[#43347] Re: [BUG] lib/irb/locale.rb
— Yugui <yugui@...>
2011/03/24
2011/3/24 Keiju ISHITSUKA <keiju@ishitsuka.com>:
[#43355] [Ruby 1.9 - Feature #4529][Assigned] date_core と long 型 — Yui NARUSE <redmine@...>
10 messages
2011/03/25
[#43359] [Ruby 1.9 - Feature #4529][Rejected] date_core と long 型
— tadayoshi funaba <redmine@...>
2011/03/26
[#43360] Re: [ruby-dev:43359] [Ruby 1.9 - Feature #4529][Rejected] date_core と long 型
— "NARUSE, Yui" <naruse@...>
2011/03/26
(2011/03/26 19:21), tadayoshi funaba wrote:
[#43365] [Ruby 1.9 - Bug #4536][Open] 定数参照について1.8と1.9の違い — Yukihiro Matsumoto <matz@...>
11 messages
2011/03/29
[#43366] Re: [ruby-dev:43365] [Ruby 1.9 - Bug #4536][Open] 定数参照について1.8と1.9の違い
— SASADA Koichi <ko1@...>
2011/03/29
ささだです.
[ruby-dev:43344] [Ruby 1.9 - Bug #4518][Open] (win32) waitpid returns exit code while the child process still alive.
From:
Akio Tajima <artonx@...>
Date:
2011-03-22 14:57:29 UTC
List:
ruby-dev #43344
Issue #4518 has been reported by Akio Tajima.
----------------------------------------
Bug #4518: (win32) waitpid returns exit code while the child process still alive.
http://redmine.ruby-lang.org/issues/4518
Author: Akio Tajima
Status: Open
Priority: Normal
Assignee: Akio Tajima
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-03-22) [i386-mswin32_100]
以下のスクリプトを実行すると2~4回目の繰り返しでエラーとなります(test/test_process.rbから抽出して加工)。
# coding: utf-8
require 'tmpdir'
require 'pathname'
def with_tmpchdir
Dir.mktmpdir {|d|
p d
d = Pathname.new(d).realpath.to_s
Dir.chdir(d) { yield d }
}
end
def write_file(filename, content)
File.open(filename, "w") {|f| f << content }
end
10.times do
with_tmpchdir do
write_file("foo", "sleep 0.1")
ps = (0...3).map { spawn("ruby", "foo") }.sort
ss = Process.waitall
end
end
エラー:
C:/Users/arton/Documents/ruby/src/rubytrunk/lib/fileutils.rb:1308:in `rmdir': Permission denied - :/Users/arton/AppData/Local/Temp/d20110322-7200-dxjpnx (Errno::EACCES)
from C:/Users/arton/Documents/ruby/src/rubytrunk/lib/fileutils.rb:1308:in `block in remove_dir1'
...
WIN32APIのGetExitCodeProcessがアプリケーションの終了ステータスを返した時点では、まだプロセスが終了していないことがあるため、子プロセスがテンポラリディレクトリを利用していてEACCESとなるようです。
(実行環境が、4コア Xeonというのが利いているとは思います)
--
http://redmine.ruby-lang.org