From: "mrkn (Kenta Murata)" Date: 2013-11-27T10:32:28+09:00 Subject: [ruby-core:58615] [ruby-trunk - Bug #9135][Rejected] ruby 2.0.0p247 [BUG] Bus Error Issue #9135 has been updated by mrkn (Kenta Murata). Status changed from Open to Rejected You can use byebug to debug your code with this command line: `bundle exec rspec -rbyebug`. FYI, `--debug` option of rspec has been removed in 3.0.0.beta1 of rspec-core. Please see rspec-core's Changelog.md: https://github.com/rspec/rspec-core/blob/master/Changelog.md ---------------------------------------- Bug #9135: ruby 2.0.0p247 [BUG] Bus Error https://bugs.ruby-lang.org/issues/9135#change-43184 Author: runfor (�������� ��������������) Status: Rejected Priority: Normal Assignee: Category: Target version: ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin13.0.0] Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN I've encountered a strange ruby error on my mac while testing code with spec. Here is the full output I get: https://gist.github.com/RunsFor/6cd51563bc56dd2457d4 As you can see, sometimes it fails, sometimes not. And it crashes only with debugger option. I also tested this on the linux machine(gentoo) and it works fine. I also created a test project to reproduce the issue. https://bitbucket.org/runfor/ruby-fail The command to run is: bundle exec rspec --debugger I'm interesting what the problem could be and how to avoid this. -- http://bugs.ruby-lang.org/