Project

General

Profile

Actions

Bug #794

closed

BigDecimal が Segmentation fault で落ることがある

Added by tadf (tadayoshi funaba) over 15 years ago. Updated about 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
Backport:

Description

=begin
$ ./ruby -r bigdecimal -e 'BigDecimal("1"*10000000)'
-e:1: [BUG] Segmentation fault
ruby 1.9.0 (2008-11-25 revision 20353) [i686-linux]

-- control frame ----------
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :BigDecimal
c:0003 p:0014 s:0006 b:0006 l:000005 d:000005 TOP -e:1
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP :17

Segmentation fault

$ ruby18 -r bigdecimal -e 'BigDecimal("1"*10000000)'
Segmentation fault
=end


Related issues 1 (0 open1 closed)

Related to Backport186 - Backport #1589: Backport BigDecimal fixesClosedwyhaines (Kirk Haines)06/09/2009Actions
Actions #1

Updated by matz (Yukihiro Matsumoto) over 15 years ago

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

=begin
Applied in changeset r20359.
=end

Actions

Also available in: Atom PDF

Like0
Like0