[#78633] ruby/spec needs help from CRuby committers — Benoit Daloze <eregontp@...>
Currently, ruby/spec is maintained mostly by individuals and enjoys the
13 messages
2016/12/13
[#78642] Re: ruby/spec needs help from CRuby committers
— Eric Wong <normalperson@...>
2016/12/14
Benoit Daloze <eregontp@gmail.com> wrote:
[#78963] Re: ruby/spec needs help from CRuby committers
— Urabe Shyouhei <shyouhei@...>
2017/01/04
I did ask attendees of last developer meeting to join this
[#79029] Re: ruby/spec needs help from CRuby committers
— Benoit Daloze <eregontp@...>
2017/01/09
Thank you Shyouhei-san for your reply.
[ruby-core:78738] [Ruby trunk Bug#13052] Array#combination segfaults if the Array is modified during iteration
From:
k@...
Date:
2016-12-20 05:05:47 UTC
List:
ruby-core #78738
Issue #13052 has been reported by Kazuki Yamaguchi.
----------------------------------------
Bug #13052: Array#combination segfaults if the Array is modified during iteration
https://bugs.ruby-lang.org/issues/13052
* Author: Kazuki Yamaguchi
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v:
* Backport: 2.1: UNKNOWN, 2.2: REQUIRED, 2.3: REQUIRED
----------------------------------------
Array#combination and Array#repeated_combination segfault if the Array is modified from the invoked block.
Reproduce:
~~~ruby
ary = *1..100
ary.combination(1) { |x| p x; ary.clear } #=> segfault
# or ary.repeated_combination(1) { |x| p x; ary.clear } #=> segfault
~~~
This is the same as [Bug #9939], but it didn't fix the case of the argument is 1.
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>