From: "nobu (Nobuyoshi Nakada)" Date: 2013-02-28T18:01:42+09:00 Subject: [ruby-core:53032] [ruby-trunk - Bug #7982][Open] rb_raise segfaults on %lli format with (0xffffffff + 1) Issue #7982 has been updated by nobu (Nobuyoshi Nakada). Category set to doc Status changed from Rejected to Open jeremyevans (Jeremy Evans) wrote: > I content that the format string syntax in ruby 2.0.0 is not "just > like printf()". Maybe "similar to printf(), with the following > exceptions: ..."? Thank you, I'll add it later. ---------------------------------------- Bug #7982: rb_raise segfaults on %lli format with (0xffffffff + 1) https://bugs.ruby-lang.org/issues/7982#change-37188 Author: erik.s.chang (Erik Chang) Status: Open Priority: Normal Assignee: Category: doc 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/