From: Nobuyoshi Nakada <nobu@...>
Date: 2011-05-07T17:03:38+09:00
Subject: [ruby-core:36036] [Backport92 - Backport #4651][Feedback] Bus Error using continuation on x86_64-darwin11.0.0 (Lion)


Issue #4651 has been updated by Nobuyoshi Nakada.

Status changed from Open to Feedback

=begin
Does it reproduce
* with just those 2 lines?
* with `configure optflags=-O0 debugflags=-ggdb3'?
* with trunk?
=end

----------------------------------------
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: Feedback
Priority: High
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