Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'ray'
- Ray.game "My Game" do
- register { add_hook :quit, method(:exit!) }
- scene :hello_world do
- end
- scenes << :hello_world
- end
- =====================================================================================
- [](1.9.2-p180@sandbox) (~/code/tryray)
- ९ ruby mygame.rb
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray/game.rb:98: [BUG] Segmentation fault
- ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
- -- control frame ----------
- c:0009 p:---- s:0033 b:0033 l:000032 d:000032 CFUNC :(null)
- c:0008 p:---- s:0031 b:0031 l:000030 d:000030 CFUNC :new
- c:0007 p:0142 s:0028 b:0028 l:000027 d:000027 METHOD /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray/game.rb:98
- c:0006 p:---- s:0019 b:0019 l:000018 d:000018 FINISH
- c:0005 p:---- s:0017 b:0017 l:000016 d:000016 CFUNC :new
- c:0004 p:0029 s:0012 b:0012 l:000011 d:000011 METHOD /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray/game.rb:221
- c:0003 p:0029 s:0006 b:0006 l:001728 d:0009f8 EVAL mygame.rb:3
- c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
- c:0001 p:0000 s:0002 b:0002 l:001728 d:001728 TOP
- ---------------------------
- -- Ruby level backtrace information ----------------------------------------
- mygame.rb:3:in `<main>'
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray/game.rb:221:in `game'
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray/game.rb:221:in `new'
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray/game.rb:98:in `initialize'
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray/game.rb:98:in `new'
- -- C level backtrace information -------------------------------------------
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(rb_vm_bugreport+0x5f) [0x7fe3e20bacaf]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x5ff7e) [0x7fe3e1f99f7e]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(rb_bug+0xa2) [0x7fe3e1f9aea2]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x1140f5) [0x7fe3e204e0f5]
- /lib/x86_64-linux-gnu/libpthread.so.0(+0xfc60) [0x7fe3e1d2bc60]
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray_ext.so(say_imp_context_create_shared+0x6c) [0x7fe3e01b9f5c]
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray_ext.so(say_imp_context_create+0xe) [0x7fe3e01b9eee]
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray_ext.so(+0x4555f) [0x7fe3e01ba55f]
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray_ext.so(+0x454cb) [0x7fe3e01ba4cb]
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray_ext.so(say_context_create+0x47) [0x7fe3e01ba34a]
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray_ext.so(say_context_ensure+0x5d) [0x7fe3e01ba2db]
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray_ext.so(say_shader_create+0x12) [0x7fe3e01b3b34]
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray_ext.so(say_renderer_create+0x20) [0x7fe3e01a0580]
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray_ext.so(say_target_create+0x36) [0x7fe3e01b5d5b]
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray_ext.so(say_window_create+0x20) [0x7fe3e0197c31]
- /home/rohit/.rvm/gems/ruby-1.9.2-p180@sandbox/gems/ray-0.1.1/lib/ray_ext.so(+0x1511b) [0x7fe3e018a11b]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x177ced) [0x7fe3e20b1ced]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(rb_funcall+0xc6) [0x7fe3e20b28c6]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(rb_obj_alloc+0x5f) [0x7fe3e1feac6f]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(rb_class_new_instance+0x20) [0x7fe3e1fead10]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x17aaa6) [0x7fe3e20b4aa6]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x1705ae) [0x7fe3e20aa5ae]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x1769a3) [0x7fe3e20b09a3]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x177c44) [0x7fe3e20b1c44]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(rb_class_new_instance+0x30) [0x7fe3e1fead20]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x17aaa6) [0x7fe3e20b4aa6]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x1705ae) [0x7fe3e20aa5ae]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x1769a3) [0x7fe3e20b09a3]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(rb_iseq_eval_main+0xb1) [0x7fe3e20b5f91]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(+0x663da) [0x7fe3e1fa03da]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(ruby_exec_node+0x1d) [0x7fe3e1fa133d]
- /home/rohit/.rvm/rubies/ruby-1.9.2-p180/lib/libruby.so.1.9(ruby_run_node+0x1e) [0x7fe3e1fa354e]
- ruby(main+0x4b) [0x40095b]
- /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff) [0x7fe3e10dceff]
- ruby() [0x400849]
Add Comment
Please, Sign In to add comment