Bug #1615
Updated by jeremyevans0 (Jeremy Evans) over 4 years ago
=begin h1. 概要 添付ライブラリを使って少なくとも500MBを超える大きなCSVファイルを書き出すときに、Ruby 1.9.1インタープリタがSegmentation Faultを起こします。 この現象はWindows XP SP3上、mswin32版で発生することを確認しました。 h1. クラッシュ時のメッセージ bq. D:/ruby/lib/ruby/1.9.1/csv.rb:1706: [BUG] Segmentation fault ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32] bq. -- control frame ---------- c:0011 p:---- s:0036 b:0036 l:000035 d:000035 CFUNC :to_s c:0010 p:---- s:0034 b:0034 l:000033 d:000033 CFUNC :join c:0009 p:0185 s:0030 b:0029 l:000028 d:000028 METHOD D:/ruby/lib/ruby/1.9.1/csv. rb:1706 c:0008 p:0148 s:0025 b:0025 l:000834 d:000024 BLOCK graph.rb:57 c:0007 p:---- s:0021 b:0021 l:000020 d:000020 FINISH c:0006 p:---- s:0019 b:0019 l:000018 d:000018 CFUNC :each c:0005 p:0043 s:0016 b:0016 l:000834 d:000015 BLOCK graph.rb:52 c:0004 p:0126 s:0013 b:0013 l:000012 d:000012 METHOD D:/ruby/lib/ruby/1.9.1/csv. rb:1335 c:0003 p:0090 s:0007 b:0007 l:000834 d:000400 EVAL graph.rb:45 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:000834 d:000834 TOP <main>:401 --------------------------- -- Ruby level backtrace information----------------------------------------- D:/ruby/lib/ruby/1.9.1/csv.rb:1706:in `to_s' D:/ruby/lib/ruby/1.9.1/csv.rb:1706:in `join' D:/ruby/lib/ruby/1.9.1/csv.rb:1706:in `<<' graph.rb:57:in `block (2 levels) in <main>' graph.rb:52:in `each' graph.rb:52:in `block in <main>' D:/ruby/lib/ruby/1.9.1/csv.rb:1335:in `open' graph.rb:45:in `<main>' =end