From: Vladimir Sizikov Date: 2010-03-14T18:48:49+09:00 Subject: [ruby-core:28650] [Bug #2959] IO#codepoints crashes MRI/mingw on Windows Bug #2959: IO#codepoints crashes MRI/mingw on Windows http://redmine.ruby-lang.org/issues/show/2959 Author: Vladimir Sizikov Status: Open, Priority: Normal ruby -v: ruby 1.9.2dev (2010-03-05 trunk 26821) [i386-mingw32] One earlier MRI 1.9.2 builds on Windows, IO#codepoints just didn't do *anything*. With more recent versions, MRI crashes. ruby -ve "File.open('TODO').codepoints{|c| p c}" ruby 1.9.2dev (2010-03-05 trunk 26821) [i386-mingw32] -e:1: [BUG] Segmentation fault ruby 1.9.2dev (2010-03-05 trunk 26821) [i386-mingw32] -- control frame ---------- c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC :codepoints c:0003 p:0023 s:0006 b:0006 l:0010c4 d:000964 EVAL -e:1 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:0010c4 d:0010c4 TOP --------------------------- -- Ruby level backtrace information ---------------------------------------- -e:1:in `
' -e:1:in `codepoints' ---------------------------------------- http://redmine.ruby-lang.org