Issue #9135 has been reported by runfor (??立扔???? ??立本立旦?樓?立本立奶). ---------------------------------------- Bug #9135: ruby 2.0.0p247 [BUG] Bus Error https://bugs.ruby-lang.org/issues/9135 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/