Project

General

Profile

Actions

Bug #1651

closed

Segfault for #numerator and #denominator on Numeric Subclass

Bug #1651: Segfault for #numerator and #denominator on Numeric Subclass

Added by runpaint (Run Paint Run Run) over 16 years ago. Updated over 14 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-06-17 trunk 23719) [i686-linux]
Backport:
[ruby-core:23910]

Description

=begin
$ ruby -ve 'class N < Numeric; end; N.new.numerator'
ruby 1.9.2dev (2009-06-17 trunk 23719) [i686-linux]
Segmentation fault

 $ ruby -ve 'class N < Numeric; end; N.new.denominator'
 ruby 1.9.2dev (2009-06-17 trunk 23719) [i686-linux]
 Segmentation fault

=end

Updated by tadf (tadayoshi funaba) over 16 years ago Actions #1

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

=begin
Applied in changeset r23733.
=end

Actions

Also available in: PDF Atom