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

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

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