From: Tanaka Akira Date: 2010-05-29T18:28:11+09:00 Subject: [ruby-dev:41456] Re: [Feature #3203] LazySweepGC patch 2010年5月28日5:15 Narihiro Nakamura : > > make test-rubyspec、check、benchmarkが通るようなりました。 思い立って、GC.stress を true にしてテストを動かしてみました。 つまり、 for f in test/test_* test/*(/) do echo $f ./ruby -e 'GC.stress = true; load "test/runner.rb"' $f done のようなかんじです。 まだ終わってませんが、いくつも問題を発生させられるようです。 コンパイラなどによっても違うでしょうから私だけでなく、他の人もやってみるといいかもしれません。 とりあえず、発生した問題の一つは以下のようなものです。 % ./ruby -e 'GC.stress = true; load "test/runner.rb"' test/cgi Loaded suite -e Started ...................................... Finished in 597.027141 seconds. 38 tests, 524 assertions, 0 failures, 0 errors, 0 skips Test run options: --seed 55933 -e: [BUG] Segmentation fault ruby 1.9.3dev (2010-05-29 trunk 28057) [i686-linux] -- control frame ---------- c:0001 p:0000 s:0002 b:0002 l:00236c d:00236c TOP --------------------------- -- C level backtrace information ------------------------------------------- ./ruby(rb_vm_bugreport+0x73) [0x815803e] ./ruby [0x818d07b] ./ruby(rb_bug+0x36) [0x818d0d6] ./ruby [0x80eecb7] [0xb7fbc410] ./ruby [0x806813d] ./ruby(rb_gc_call_finalizer_at_exit+0x19) [0x806806a] ./ruby [0x805e98a] ./ruby(ruby_cleanup+0x1de) [0x805eb7c] ./ruby(ruby_run_node+0x43) [0x805ee2d] ./ruby(main+0x74) [0x805d898] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7ddc455] ./ruby [0x805d791] [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 lazy sweep 以前からあった問題かも知れませんけれど。 -- [田中 哲][たなか あきら][Tanaka Akira]