Issue #11402 has been updated by Nobuyoshi Nakada.


You load bigdecimal-1.2.5, which is out-of-date.
Can't you try recent version?

----------------------------------------
Bug #11402: Seg Fault on intensive numeric calculation
https://bugs.ruby-lang.org/issues/11402#change-53603

* Author: Alexey Chernenkov
* Status: Feedback
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-darwin13.0]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
Occur several times:

~~~
[BUG] Segmentation fault at 0x00000000000000
ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-darwin13.0]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.

(snip)
~~~


---Files--------------------------------
bug-11402.log (358 KB)
ruby_2015-07-28-200557_Alexeys-MacBook-Air.crash (46.9 KB)


-- 
https://bugs.ruby-lang.org/