Skip to content

Instantly share code, notes, and snippets.

@Veejay
Created November 18, 2011 18:51
Show Gist options
  • Save Veejay/1377379 to your computer and use it in GitHub Desktop.
Save Veejay/1377379 to your computer and use it in GitHub Desktop.
Crash Fiber / Ray using Ruby 1.9.2p180
mango:Ray bertrand$ ruby test_fibers.rb
test_fibers.rb:38: [BUG] Bus Error
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin11.2.0]
-- control frame ----------
c:0014 p:---- s:0050 b:0050 l:000049 d:000049 CFUNC :resume
c:0013 p:0079 s:0047 b:0046 l:002078 d:001478 BLOCK test_fibers.rb:38
c:0012 p:---- s:0044 b:0044 l:000043 d:000043 FINISH
c:0011 p:---- s:0042 b:0042 l:000041 d:000041 CFUNC :instance_exec
c:0010 p:0024 s:0039 b:0039 l:000038 d:000038 METHOD /Users/bertrand/.rvm/gems/ruby-1.9.2-p180/gems/ray-0.2.0/lib/ray/scene.rb:114
c:0009 p:0065 s:0036 b:0036 l:000035 d:000035 METHOD /Users/bertrand/.rvm/gems/ruby-1.9.2-p180/gems/ray-0.2.0/lib/ray/scene_list.rb:32
c:0008 p:0047 s:0032 b:0032 l:000031 d:000031 METHOD /Users/bertrand/.rvm/gems/ruby-1.9.2-p180/gems/ray-0.2.0/lib/ray/game.rb:174
c:0007 p:0192 s:0029 b:0029 l:000028 d:000028 METHOD /Users/bertrand/.rvm/gems/ruby-1.9.2-p180/gems/ray-0.2.0/lib/ray/game.rb:106
c:0006 p:---- s:0020 b:0020 l:000019 d:000019 FINISH
c:0005 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :new
c:0004 p:0029 s:0013 b:0013 l:000012 d:000012 METHOD /Users/bertrand/.rvm/gems/ruby-1.9.2-p180/gems/ray-0.2.0/lib/ray/game.rb:241
c:0003 p:0074 s:0007 b:0007 l:002078 d:001d00 EVAL test_fibers.rb:23
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:002078 d:002078 TOP
---------------------------
-- Ruby level backtrace information ----------------------------------------
test_fibers.rb:23:in `<main>'
/Users/bertrand/.rvm/gems/ruby-1.9.2-p180/gems/ray-0.2.0/lib/ray/game.rb:241:in `game'
/Users/bertrand/.rvm/gems/ruby-1.9.2-p180/gems/ray-0.2.0/lib/ray/game.rb:241:in `new'
/Users/bertrand/.rvm/gems/ruby-1.9.2-p180/gems/ray-0.2.0/lib/ray/game.rb:106:in `initialize'
/Users/bertrand/.rvm/gems/ruby-1.9.2-p180/gems/ray-0.2.0/lib/ray/game.rb:174:in `run'
/Users/bertrand/.rvm/gems/ruby-1.9.2-p180/gems/ray-0.2.0/lib/ray/scene_list.rb:32:in `run_current'
/Users/bertrand/.rvm/gems/ruby-1.9.2-p180/gems/ray-0.2.0/lib/ray/scene.rb:114:in `register_events'
/Users/bertrand/.rvm/gems/ruby-1.9.2-p180/gems/ray-0.2.0/lib/ray/scene.rb:114:in `instance_exec'
test_fibers.rb:38:in `block (2 levels) in <main>'
test_fibers.rb:38:in `resume'
-- C level backtrace information -------------------------------------------
0 libruby.1.9.1.dylib 0x000000010a98a64e rb_vm_bugreport + 110
1 libruby.1.9.1.dylib 0x000000010a87e4b3 report_bug + 259
2 libruby.1.9.1.dylib 0x000000010a87e621 rb_bug + 161
3 libruby.1.9.1.dylib 0x000000010a9210c2 sigbus + 18
4 libsystem_c.dylib 0x00007fff86417cfa _sigtramp + 26
5 ??? 0x000004816a4454f0 0x0 + 4953880155376
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
Abort trap: 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment