[ruby-trunk - Bug #7750][Open] GC中にオブジェクトが割り当てられる

Issue #7750 has been reported by konishi_takurou (瀧澤 悠介).


Bug #7750: GC中にオブジェクトが割り当てられる

Author: konishi_takurou (瀧澤 悠介)
Status: Open
Priority: Normal
Assignee:
Category:
Target version: 1.9.3
ruby -v: ruby 1.9.3p374 (2013-01-15) [i386-mingw32]

下記が吐き出されたメッセージです。

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.

Issue #7750 has been updated by usa (Usaku NAKAMURA).

とりあえず、現時点ではRubyのどのバージョンでも再現できていません。
が、非常に時間のかかるスクリプトのようですので、そもそも落ちるところまで我慢できずに実行を打ち切ってしまっているため、という感もあります。

参考までに、どのような環境(CPU)でどれくらいの時間でこの現象が起きるのか、教えていただけますか?

Bug #7750: GC中にオブジェクトが割り当てられる

Author: konishi_takurou (瀧澤 悠介)
Status: Open
Priority: Normal
Assignee:
Category:
Target version: 1.9.3
ruby -v: ruby 1.9.3p374 (2013-01-15) [i386-mingw32]

下記が吐き出されたメッセージです。

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.

Issue #7750 has been updated by konishi_takurou (瀧澤 悠介).

OSはWindows8で、CPUは、Intel(R) Core™ i3-3220 CPU @ 3.30GHz
3.30GHzです。5分程度でスクリプト自体は死にます。再度手元で、10回程度実行してみたところ前述したメッセージが出ませんでした。すいません。


Bug #7750: GC中にオブジェクトが割り当てられる

Author: konishi_takurou (瀧澤 悠介)
Status: Open
Priority: Normal
Assignee:
Category:
Target version: 1.9.3
ruby -v: ruby 1.9.3p374 (2013-01-15) [i386-mingw32]

下記が吐き出されたメッセージです。

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.

Issue #7750 has been updated by ko1 (Koichi Sasada).

Category set to core
Assignee set to authorNari (Narihiro N.)
Target version changed from 1.9.3 to 2.1.0

見た感じ、メモリが無いとかそういう状況でオブジェクトを生成した、
というような気がしますが、果てどうしたものか。
ストレステストが足りてないんですよね。

なりさんに振っておこう。

Bug #7750: GC中にオブジェクトが割り当てられる

Author: konishi_takurou (瀧澤 悠介)
Status: Open
Priority: Normal
Assignee: authorNari (Narihiro N.)
Category: core
Target version: 2.1.0
ruby -v: ruby 1.9.3p374 (2013-01-15) [i386-mingw32]

下記が吐き出されたメッセージです。

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.

Issue #7750 has been updated by Hiroshi SHIBATA.

Target version changed from 2.1.0 to current: 2.2.0


Bug #7750: GC中にオブジェクトが割り当てられる

  • Author: 瀧澤 悠介
  • Status: Open
  • Priority: Normal
  • Assignee: Narihiro N.
  • Category: core
  • Target version: current: 2.2.0
  • ruby -v: ruby 1.9.3p374 (2013-01-15) [i386-mingw32]
  • Backport:

下記が吐き出されたメッセージです。

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--------------------------------
0062.rb (186 Bytes)