Forum: Ruby-dev [ruby-trunk - Bug #9535] [Closed] Kernel.send(:initialize_copy, Kernel) で segmentation fault

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2014-02-21 12:42
(Received via mailing list)
Issue #9535 has been updated by Nobuyoshi Nakada.

Status changed from Open to Closed
% Done changed from 0 to 100

Applied in changeset r45076.

class.c: do nothing if copying self

* class.c (rb_mod_init_copy): do nothing if copying self.
  [ruby-dev:47989] [Bug #9535]
* hash.c (rb_hash_initialize_copy): ditto.

Bug #9535: Kernel.send(:initialize_copy, Kernel) で segmentation fault

* Author: Keita Urashima
* Status: Closed
* Priority: Normal
* Assignee:
* Category:
* Target version:
* ruby -v: ruby 2.2.0dev (2014-02-19 trunk 45047) [x86_64-linux]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN
以下のコードを実行すると segmentation fault が起きます。

    Kernel.send(:initialize_copy, Kernel)

trunk (45047)、2.1.0p0、2.0.0p353 で再現しました。1.9.3p484 では再現しませんでした。
trunk で実行したときの backtrace を添付します。

trace.txt (10.1 KB)
This topic is locked and can not be replied to.