From: Hiro Asari Date: 2009-09-02T12:52:23+09:00 Subject: [ruby-core:25257] [Bug #2030] Math.gamma(x) seg faults for integer x larger than 2<<63-1 Bug #2030: Math.gamma(x) seg faults for integer x larger than 2<<63-1 http://redmine.ruby-lang.org/issues/show/2030 Author: Hiro Asari Status: Open, Priority: Normal Category: core ruby -v: ruby 1.9.2dev (2009-09-02 trunk 24735) [i386-darwin10.0.0] $ ruby19 -e 'puts Math.gamma(2<<63-1); puts Math.gamma(2<<63)' Infinity -e:1: [BUG] Segmentation fault ruby 1.9.2dev (2009-09-02 trunk 24735) [i386-darwin10.0.0] -- control frame ---------- c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :gamma c:0003 p:0052 s:0007 b:0006 l:001488 d:000b18 EVAL -e:1 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:001488 d:001488 TOP --------------------------- -- Ruby level backtrace information----------------------------------------- -e:1:in `
' -e:1:in `gamma' -- C level backtrace information ------------------------------------------- [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html Abort trap Incidentally, the URL at the end of this output should be updated. (Is that a separate ticket?) ---------------------------------------- http://redmine.ruby-lang.org