From: Mike Williams Date: 2011-08-22T15:31:15+09:00 Subject: [ruby-core:39043] [Ruby 1.9 - Bug #5211][Open] Segmentation fault in Enumerator#each Issue #5211 has been reported by Mike Williams. ---------------------------------------- Bug #5211: Segmentation fault in Enumerator#each http://redmine.ruby-lang.org/issues/5211 Author: Mike Williams Status: Open Priority: High Assignee: Category: Target version: 1.9.2 ruby -v: ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.1.0] Under ruby-1.9.2-p290, on OS X Lion, the following code @e1 = %w(strike strike strike).to_enum @e2 = [1,2,3].to_enum p [@e1.next, @e2.next] p [@e1.next, @e2.next] p [@e1.next, @e2.next] Fails with a Segmentation fault. Same code works fine in both ruby-1.9.2-p180 and ruby-1.9.3dev. -- http://redmine.ruby-lang.org