Issue #4651 has been updated by Levin Alexander.


this seems to be fixed in trunk by https://github.com/ruby/ruby/commit/be953b4d1ce3f0dfc7f24c84ec7a51e027102557

(tested with the latest XCode Beta, Version 4.2 (4C114))


the commit applies cleanly on ruby_1_9_2 and also fixes `make test` there.  any chance that it will be backported before OS X Lion is released?
----------------------------------------
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: Feedback
Priority: Low
Assignee: 
Category: 
Target version: 
ruby -v: -


=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 ((<line 38 of yard.rb|URL:https://github.com/lsegal/yard/blob/master/lib/yard.rb#L38>)).

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