Issue #4651 has been updated by Nobuyoshi Nakada.


OK, then could you show the crash log from the short code on the trunk compiled with '-O0 -ggdb3'?

And,
* does a binary compiled on Snow Leopard crash on Lion?
* does a binary compiled on Lion crash on Snow Leopard?
----------------------------------------
Backport #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 ((<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