[ruby-core:66129] [ruby-trunk - Bug #9440] Calling methods on a `Queue.new.dup` or `Queue.new.clone` causes Segfault

From: nobu@...
Date: 2014-11-07 11:50:59 UTC
List: ruby-core #66129
Issue #9440 has been updated by Nobuyoshi Nakada.

Backport changed from 2.1: UNKNOWN to 2.1: REQUIRED

----------------------------------------
Bug #9440: Calling methods on a `Queue.new.dup` or `Queue.new.clone` causes Segfault
https://bugs.ruby-lang.org/issues/9440#change-49835

* Author: Shannon Skipper
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: lib
* Target version: 
* ruby -v: 2.1.0p0
* Backport: 2.1: REQUIRED
----------------------------------------
On all platforms with ruby-2.1.0 calling a Queue#method on a duped or cloned Queue results in a Segfault:

    queue = Queue.new.dup
    queue.empty? # Segfault

The same issue occurs when calling other Queue#methods.



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next