[#81492] [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — normalperson@...

Issue #13618 has been reported by normalperson (Eric Wong).

12 messages 2017/06/01

[ruby-core:81837] [Ruby trunk Bug#13699] Multiple maps over lazy enumerator yielding multiple values in 2.4.x causes crash

From: alek.storm@...
Date: 2017-06-29 17:51:03 UTC
List: ruby-core #81837
Issue #13699 has been reported by alekstorm (Alek Storm).

----------------------------------------
Bug #13699: Multiple maps over lazy enumerator yielding multiple values in 2.4.x causes crash
https://bugs.ruby-lang.org/issues/13699

* Author: alekstorm (Alek Storm)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
~~~ ruby
Enumerator.new{|e| e.yield(5, 6)}.
  lazy.
  map{|x,y| 5}.
  map{|z| 5}.
  to_a
~~~

Tested and working in 2.1-2.3. Note that this is the absolute minimal input required to trigger the bug.



-- 
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>

In This Thread

Prev Next