Bug #7750
closedGC中にオブジェクトが割り当てられる
Description
下記が吐き出されたメッセージです。
0062.rb:2: [BUG] object allocation during garbage collection phase
ruby 1.9.3p374 (2013-01-15) [i386-mingw32]
-- Control frame information -----------------------------------------------
c:0005 p:---- s:0012 b:0012 l:000011 d:000011 CFUNC :permutation
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :each
c:0003 p:0055 s:0007 b:0007 l:00220c d:002640 EVAL 0062.rb:2
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:00220c d:00220c TOP
-- Ruby level backtrace information ----------------------------------------
0062.rb:2:in <main>' 0062.rb:2:in
each'
0062.rb:2:in `permutation'
-- C level backtrace information -------------------------------------------
-- Other runtime information -----------------------------------------------
-
Loaded script: 0062.rb
-
Loaded features:
0 enumerator.so
1 C:/Ruby193/lib/ruby/1.9.1/i386-mingw32/enc/encdb.so
2 C:/Ruby193/lib/ruby/1.9.1/i386-mingw32/enc/shift_jis.so
3 C:/Ruby193/lib/ruby/1.9.1/i386-mingw32/enc/trans/transdb.so
4 C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb
5 C:/Ruby193/lib/ruby/1.9.1/i386-mingw32/rbconfig.rb
6 C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/deprecate.rb
7 C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/exceptions.rb
8 C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/defaults/operating_system.rb
9 C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb
10 C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb
[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
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Files
Updated by usa (Usaku NAKAMURA) almost 12 years ago
とりあえず、現時点ではRubyのどのバージョンでも再現できていません。
が、非常に時間のかかるスクリプトのようですので、そもそも落ちるところまで我慢できずに実行を打ち切ってしまっているため、という感もあります。
参考までに、どのような環境(CPU)でどれくらいの時間でこの現象が起きるのか、教えていただけますか?
Updated by konishi_takurou (瀧澤 悠介) almost 12 years ago
OSはWindows8で、CPUは、Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz 3.30GHzです。5分程度でスクリプト自体は死にます。再度手元で、10回程度実行してみたところ前述したメッセージが出ませんでした。すいません。
Updated by ko1 (Koichi Sasada) almost 12 years ago
- Category set to core
- Assignee set to authorNari (Narihiro Nakamura)
- Target version changed from 1.9.3 to 2.1.0
見た感じ、メモリが無いとかそういう状況でオブジェクトを生成した、
というような気がしますが、果てどうしたものか。
ストレステストが足りてないんですよね。
なりさんに振っておこう。
Updated by hsbt (Hiroshi SHIBATA) almost 11 years ago
- Target version changed from 2.1.0 to 2.2.0
Updated by hsbt (Hiroshi SHIBATA) over 6 years ago
- Status changed from Open to Rejected
- Assignee deleted (
authorNari (Narihiro Nakamura))
1.9.3 はすでにサポートを終了しているバージョン、かつ現在の安定バージョンの Ruby では GC の仕組みを大きく変わっているのでクローズします。