Actions
Bug #2959
closedIO#codepoints crashes MRI/mingw on Windows
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2dev (2010-03-05 trunk 26821) [i386-mingw32]
Backport:
Description
=begin
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 <main>' -e:1:in
codepoints'
=end
Updated by nobu (Nobuyoshi Nakada) over 14 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r26926.
Vladimir, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Actions
Like0
Like0