[#62904] [ruby-trunk - Feature #9894] [Open] [RFC] README.EXT: document rb_gc_register_mark_object — normalperson@...
Issue #9894 has been reported by Eric Wong.
3 messages
2014/06/02
[#63321] [ANN] ElixirConf 2014 - Don't Miss Jos辿 Valim and Dave Thomas — Jim Freeze <jimfreeze@...>
Just a few more weeks until ElixirConf 2014!
6 messages
2014/06/24
[#63391] Access Modifiers (Internal Interfaces) — Daniel da Silva Ferreira <danieldasilvaferreira@...>
Hi,
3 messages
2014/06/28
[ruby-core:63255] [ruby-trunk - Bug #9454] The define_method(:class) segfault
From:
nagachika00@...
Date:
2014-06-19 15:58:01 UTC
List:
ruby-core #63255
Issue #9454 has been updated by Tomoyuki Chikanaga.
Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: REQUIRED to 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: DONE
r44712, r44715, r44716, r44722, r44725, r44726 and r44753 were backported into `ruby_2_1` branch at r46468.
----------------------------------------
Bug #9454: The define_method(:class) segfault
https://bugs.ruby-lang.org/issues/9454#change-47302
* Author: Kyrylo Silin
* Status: Closed
* Priority: Normal
* Assignee:
* Category:
* Target version:
* ruby -v: ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: DONE
----------------------------------------
Ruby 2.1.0p0 segfaults when I invoke the following code.
define_method(:class) { self.class }
self.class #=> segfault :(
It affects exclusively Ruby 2.1.0p0 (I also tested on the most recent 2.0.0, 1.9.3 and 1.8.7).
By the way, on the contrary, the following code *does not segfault*.
def self.class; self.class end
self.class #=> SystemStackError
Viva la Ucraino revoluci坦n!
---Files--------------------------------
bug9454.txt (625 KB)
--
https://bugs.ruby-lang.org/