Project

General

Profile

This project is closed and read-only.

Actions

Bug #852

closed

Ruby dies with SIGILL regarding a change in generator

Bug #852: Ruby dies with SIGILL regarding a change in generator

Added by knu (Akinori MUSHA) almost 18 years ago. Updated over 15 years ago.

Status:
Closed
Target version:
-
ruby -v:
[ruby-core:20471]

Description

=begin
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
=end


Files

generator.rb.diff (693 Bytes) generator.rb.diff knu (Akinori MUSHA), 12/11/2008 02:07 PM
Actions

Also available in: PDF Atom