[ruby-dev:47994] [ruby-trunk - Bug #9535] [Closed] Kernel.send(:initialize_copy, Kernel) で segmentation fault
From:
nobu@...
Date:
2014-02-21 11:42:11 UTC
List:
ruby-dev #47994
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
https://bugs.ruby-lang.org/issues/9535#change-45334
* 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 を添付します。
---Files--------------------------------
trace.txt (10.1 KB)
--
http://bugs.ruby-lang.org/