# \[Bug #1656\] fdiv $B$N;HMQ$G(B Segmentation fault $B$,H/@8$9$k(B

**URL:** <https://www.ruby-forum.com/t/bug-1656-fdiv-b-n-hmq-g-b-segmentation-fault-b-h-8-9-k-b/170531>\
**Category:** Development\
**Created:** [June 18, 2009, 3:54pm UTC](https://www.ruby-forum.com/t/bug-1656-fdiv-b-n-hmq-g-b-segmentation-fault-b-h-8-9-k-b/170531 "2009-06-18T15:54:44Z")\
**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:** [June 18, 2009, 3:54pm UTC](https://www.ruby-forum.com/t/bug-1656-fdiv-b-n-hmq-g-b-segmentation-fault-b-h-8-9-k-b/170531/1 "2009-06-18T15:54:44Z")

</div>

Bug #1656: fdiv e$B$N;HMQ$Ge(B Segmentation fault e$B$,H/@8$9$ke(B  
[http://redmine.ruby-lang.org/issues/show/1656](http://redmine.ruby-lang.org/issues/show/1656)

e$B5/I\<\<Te(B: tadayoshi funaba  
e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal  
ruby -v: ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]

fdiv e$B$N;HMQ$Ge(B Segmentation fault e$B$,H/@8$7$^$9!#e(B

1.9 e$B$G$bH/@8$7$^$9$,!"F1$8M}M3$+$I$&$+H=$j$^$;$s!#e(B

$ ruby -e ‘(Float::MAX.to\_i\*2).fdiv(0)’  
-e:1: [BUG] Segmentation fault  
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]

Aborted
