Project

General

Profile

Actions

Bug #9939

closed

segfault by modifying array during Array#combination

Added by nobu (Nobuyoshi Nakada) almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Target version:
ruby -v:
r46416
[ruby-core:63149]

Description

$ ruby -e 'a = [*0..500]' -e 'a.combination(2) {|*,x| a.clear}'
-e:2: [BUG] Segmentation fault at 0x00000000000000
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0