Project

General

Profile

Actions

Bug #9440

closed

Calling methods on a `Queue.new.dup` or `Queue.new.clone` causes Segfault

Added by shan (Shannon Skipper) about 10 years ago. Updated about 9 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
2.1.0p0
Backport:
[ruby-core:59961]

Description

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.


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #10485: NoMethodError "undefined method `initialize_copy'" when trying to execute Queue#dupClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0