From: Kenta Murata Date: 2011-08-22T19:34:25+09:00 Subject: [ruby-core:39045] [Ruby 1.9 - Bug #5211][Rejected] Segmentation fault in Enumerator#each Issue #5211 has been updated by Kenta Murata. Status changed from Open to Rejected Assignee set to Kenta Murata Priority changed from High to Normal On 1.9.3, I cannot reproduce this issue using gcc-4.2 with -O3 and llvm-gcc with -O0 on OS X 10.7 (Lion). Which version of gcc do you use to compile ruby? llvm-gcc and clang with -On (n>0) are not supported to build 1.9.3. On the other hand, the present ruby_1_9_2 branch doesn't support Lion. Backporting #5074 is able to resolve this. llvm-gcc and clang are still not supported to build 1.9.2 even if #5074 were to be backported. Please use gcc-4.2 for building 1.9.2 and 1.9.3. ---------------------------------------- Bug #5211: Segmentation fault in Enumerator#each http://redmine.ruby-lang.org/issues/5211 Author: Mike Williams Status: Rejected Priority: Normal Assignee: Kenta Murata 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