From: "satoryu (Tatsuya Sato)" Date: 2013-11-22T01:28:50+09:00 Subject: [ruby-core:58467] [ruby-trunk - Bug #9135] ruby 2.0.0p247 [BUG] Bus Error Issue #9135 has been updated by satoryu (Tatsuya Sato). This problem may be not Ruby's issue but ruby-debugger's issue. According to ruby-debugger's README, the support for Ruby 2.0.0 is not enough and is recognised as a known issue. https://github.com/cldwalker/debugger#known-issues ---------------------------------------- Bug #9135: ruby 2.0.0p247 [BUG] Bus Error https://bugs.ruby-lang.org/issues/9135#change-43062 Author: runfor (�������� ��������������) Status: Open 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/