Issue #7982 has been reported by erik.s.chang (Erik Chang).

----------------------------------------
Bug #7982: rb_raise segfaults on %lli format with (0xffffffff + 1)
https://bugs.ruby-lang.org/issues/7982

Author: erik.s.chang (Erik Chang)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: current: 2.1.0
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]


This was not a problem on 1.9.3

Run attached "t" extension with:
ruby -rt  -e '"".blowup(0xffffffff + 1)'

to reproduce. Using %lld works around the issue.


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