# \[Bug #794\] BigDecimal $B$,(B Segmentation fault $B$GMn$k$3$H$,$"$k(B

**URL:** <https://www.ruby-forum.com/t/bug-794-bigdecimal-b-b-segmentation-fault-b-gmn-k-3-h-k-b/154117>\
**Category:** Development\
**Created:** [November 25, 2008, 4:01pm UTC](https://www.ruby-forum.com/t/bug-794-bigdecimal-b-b-segmentation-fault-b-gmn-k-3-h-k-b/154117 "2008-11-25T16:01:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tadayoshi\_funaba](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/f0a364/32.png) [@tadayoshi\_funaba](https://www.ruby-forum.com/u/tadayoshi_funaba)\
**Post date:** [November 25, 2008, 4:01pm UTC](https://www.ruby-forum.com/t/bug-794-bigdecimal-b-b-segmentation-fault-b-gmn-k-3-h-k-b/154117/1 "2008-11-25T16:01:02Z")

</div>

Bug #794: BigDecimal e$B$,e(B Segmentation fault e$B$GMn$k$3$H$,$"$ke(B  
[http://redmine.ruby-lang.org/issues/show/794](http://redmine.ruby-lang.org/issues/show/794)

e$B5/I\<\<Te(B: tadayoshi funaba  
e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal

$ ./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
