From: Levin Alexander Date: 2011-06-13T01:25:52+09:00 Subject: [ruby-core:37066] [Ruby 1.9 - Bug #4651] Bus Error using continuation on x86_64-darwin11.0.0 (Lion) Issue #4651 has been updated by Levin Alexander. File config.log.xcode4.0.2.txt added I downgraded to XCode 4.0.2 (4A2002a) and recompiled ruby with rvm. This makes the problem go away. (both for 1.9.2p180 and p274) $ ruby --version ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0] $ ruby cc.rb cc.rb:3:in `
': undefined method `call' for nil:NilClass (NoMethodError) # no crash :) attached is the config.log from this compilation for comparison. ---------------------------------------- Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion) http://redmine.ruby-lang.org/issues/4651 Author: Erik Michaels-Ober Status: Open Priority: Normal Assignee: Category: Target version: =begin The following code crashes with a Bus Error on Ruby 1.9.2-p136 and 1.9.2-p180 built for x86_64-darwin11.0.0 (Lion). The same code works on both of those versions of Ruby built for x86_64-darwin10.0.0 (Snow Leopard). (({require 'continuation'})) (({cc = callcc {|cc| cc }; cc.call if cc})) This actual code appears in the yard gem on (()). I've attached the crash log. Please let me know if you need any other information from me to help debug this issue. Thank you very much. Ruby makes me happy. =end -- http://redmine.ruby-lang.org