さくです。


2010/3/17 NARUSE, Yui <naruse / airemix.jp>:
> 成瀬です。
>
> gdb のバックトーレスはとれませんか?

これでいいのかな。

(gdb) file ruby
Reading symbols for shared libraries ... done
Reading symbols from /Users/sakuro/.rvm/rubies/ruby-head/bin/ruby...done.
(gdb) set args /Users/sakuro/.rvm/gems/ruby-head%polyglot/bin/cucumber
(gdb) run
Starting program: /Users/sakuro/.rvm/rubies/ruby-head/bin/ruby
/Users/sakuro/.rvm/gems/ruby-head%polyglot/bin/cucumber
0 scenarios
0 steps
0m0.000s
(gdb) run
Starting program: /Users/sakuro/.rvm/rubies/ruby-head/bin/ruby
/Users/sakuro/.rvm/gems/ruby-head%polyglot/bin/cucumber

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x00000001001705eb in vm_backtrace_each ()
(gdb) bt
#0  0x00000001001705eb in vm_backtrace_each ()
#1  0x0000000100170759 in vm_backtrace ()
#2  0x000000010016e869 in rb_f_caller ()
#3  0x0000000100167fa4 in call_cfunc ()
#4  0x0000000100167e0c in vm_call_cfunc ()
#5  0x0000000100166fe4 in vm_call_method ()
#6  0x0000000100161c56 in vm_exec_core ()
#7  0x00000001001713b5 in vm_exec ()
#8  0x0000000100171d57 in rb_iseq_eval ()
#9  0x000000010003c4d8 in rb_load_internal ()
#10 0x000000010003d147 in rb_require_safe ()
#11 0x000000010003c8b0 in rb_f_require ()
#12 0x0000000100167fdb in call_cfunc ()
#13 0x0000000100167e0c in vm_call_cfunc ()
#14 0x0000000100166fe4 in vm_call_method ()
#15 0x0000000100161c56 in vm_exec_core ()
#16 0x00000001001713b5 in vm_exec ()
#17 0x0000000100171d57 in rb_iseq_eval ()
#18 0x000000010003c4d8 in rb_load_internal ()
#19 0x000000010003d147 in rb_require_safe ()
#20 0x000000010003c8b0 in rb_f_require ()
#21 0x0000000100167fdb in call_cfunc ()
#22 0x0000000100167e0c in vm_call_cfunc ()
#23 0x0000000100166fe4 in vm_call_method ()
#24 0x0000000100161c56 in vm_exec_core ()
#25 0x00000001001713b5 in vm_exec ()
#26 0x0000000100171d57 in rb_iseq_eval ()
#27 0x000000010003c4d8 in rb_load_internal ()
#28 0x000000010003d147 in rb_require_safe ()
#29 0x000000010003c8b0 in rb_f_require ()
#30 0x0000000100167fdb in call_cfunc ()
#31 0x0000000100167e0c in vm_call_cfunc ()
#32 0x0000000100166fe4 in vm_call_method ()
#33 0x0000000100161c56 in vm_exec_core ()
#34 0x00000001001713b5 in vm_exec ()
#35 0x0000000100171d57 in rb_iseq_eval ()
#36 0x000000010003c4d8 in rb_load_internal ()
#37 0x000000010003d147 in rb_require_safe ()
#38 0x000000010003c8b0 in rb_f_require ()
#39 0x0000000100167fdb in call_cfunc ()
#40 0x0000000100167e0c in vm_call_cfunc ()
#41 0x0000000100166fe4 in vm_call_method ()
#42 0x0000000100161c56 in vm_exec_core ()
#43 0x00000001001713b5 in vm_exec ()
#44 0x0000000100171d57 in rb_iseq_eval ()
#45 0x000000010003c4d8 in rb_load_internal ()
#46 0x000000010003c728 in rb_f_load ()
#47 0x0000000100167fa4 in call_cfunc ()
#48 0x0000000100167e0c in vm_call_cfunc ()
#49 0x0000000100166fe4 in vm_call_method ()
#50 0x0000000100161c56 in vm_exec_core ()
#51 0x00000001001713b5 in vm_exec ()
#52 0x0000000100171d96 in rb_iseq_eval_main ()
#53 0x0000000100039694 in ruby_exec_internal ()
#54 0x00000001000397b8 in ruby_exec_node ()
#55 0x000000010003978b in ruby_run_node ()
#56 0x00000001000011e3 in main ()
(gdb)

-- 
OZAWA Sakuro

"The future will be better tomorrow." --Dan Quayle