[Ruby 1.9 - Bug #4223][Feedback] GC.stress = true で謎の ArgumentError

Issue #4223 has been updated by Yui NARUSE.

Status changed from Open to Feedback
Assignee set to Makoto K.


Bug #4223: GC.stress = true で謎の ArgumentError

Author: Makoto K.
Status: Feedback
Priority: Low
Assignee: Makoto K.
Target version:
ruby -v: ruby 1.9.3dev (2010-12-29 trunk 30417) [x86_64-freebsd8.2]

手元の環境で、trunk の r29690 以降で、次のようなスクリプトが、


GC.stress = true
t = Time.local(2000)
File.utime(t + 1, t + 2, “foo.rb”)

こんな感じに謎の ArgumentError になります

$ ruby19 -v foo.rb
ruby 1.9.3dev (2010-12-29 trunk 30417) [x86_64-freebsd8.2]
foo.rb:4:in utime': time out of system range (ArgumentError) from foo.rb:4:in