Actions
Bug #5211
closedSegmentation fault in Enumerator#each
Description
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.
Files
Actions
Like0
Like0