Bug #852: Ruby dies with SIGILL regarding a change in generator
http://redmine.ruby-lang.org/issues/show/852

Author: Akinori MUSHA
Status: Open, Priority: Normal

The attached change is planned to be merged but it causes a coredump.

knu@daemon[1]% ruby-1.8 -rstringio -e 'x = StringIO.new("a\nb\nc"); e = x.each; e.each{|i|p i}; e.rewind; e.each{|i| p i }' 
"a\n"
"b\n"
"c"
zsh: illegal hardware instruction (core dumped)  ruby-1.8 -rstringio -e


----------------------------------------
http://redmine.ruby-lang.org