Bug #4651

Bus Error using continuation on x86_64-darwin11.0.0 (Lion)

Added by sferik (Erik Michaels-Ober) over 9 years ago. Updated over 8 years ago.

Target version:
ruby -v:


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 }; 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.


ruby_2011-05-06-223300_leon.crash (9.71 KB) ruby_2011-05-06-223300_leon.crash sferik (Erik Michaels-Ober), 05/07/2011 02:38 PM
config.log (589 KB) config.log levinalex (Levin Alexander), 06/12/2011 11:40 PM
config.log.xcode4.0.2.txt (586 KB) config.log.xcode4.0.2.txt compiled with XCode 4.0.2 on Snow Leopard levinalex (Levin Alexander), 06/13/2011 01:25 AM (15.1 KB) crash reports generated by running make test levinalex (Levin Alexander), 06/14/2011 12:37 AM
ruby_make_test_output.txt (20.1 KB) ruby_make_test_output.txt test output from running `make test` after compiling with XCode 4.2 levinalex (Levin Alexander), 06/14/2011 12:37 AM

Related issues

Related to Ruby master - Bug #5082: test_context_switch(TestMarshal) was failed on OS X 10.7 (Lion)Closedkosaki (Motohiro KOSAKI)07/23/2011Actions
Related to Ruby master - Bug #5181: yard causes Ruby 1.9.2 crash on Mac OS X Lion (64-bit)Closed08/10/2011Actions
Related to Ruby master - Bug #5224: Yard seems to be crashing ruby.Closedmrkn (Kenta Murata)08/25/2011Actions
Related to Ruby master - Bug #5263: Ruby crash when installing yard-0.7.2 installationClosedmrkn (Kenta Murata)09/02/2011Actions
Related to Ruby master - Bug #5931: Random SEGV during execution on YARD specsRejectedusa (Usaku NAKAMURA)Actions
Related to Ruby master - Bug #5973: Bus Error in simple project requiring YARDClosed02/06/2012Actions
Related to Ruby master - Bug #6387: 1.9.3p194 crashed on require in ubuntuClosed05/02/2012Actions

Also available in: Atom PDF