|
Program received signal SIGSEGV, Segmentation fault.
|
|
0x00000000005234f8 in rb_iterate (it_proc=0x5235e9 <iterate_method>, data1=140737488326400,
|
|
bl_proc=0x55e7cd <any_iter_i>, data2=140737488326472) at vm_eval.c:873
|
|
873 EXEC_EVENT_HOOK(th, RUBY_EVENT_C_RETURN, th->cfp->self, me->called_id, me->klass);
|
|
(gdb) bt
|
|
#0 0x00000000005234f8 in rb_iterate (it_proc=0x5235e9 <iterate_method>, data1=140737488326400,
|
|
bl_proc=0x55e7cd <any_iter_i>, data2=140737488326472) at vm_eval.c:873
|
|
#1 0x000000000052368a in rb_block_call (obj=11665520, mid=424, argc=0, argv=0x0,
|
|
bl_proc=0x55e7cd <any_iter_i>, data2=140737488326472) at vm_eval.c:933
|
|
#2 0x000000000055e893 in enum_any (obj=11665520) at enum.c:983
|
|
#3 0x0000000000514350 in call_cfunc (func=0x55e83a <enum_any>, recv=11665520, len=0, argc=0,
|
|
argv=0x7ffff7e8e228) at vm_insnhelper.c:318
|
|
#4 0x0000000000514c73 in vm_call_cfunc (th=0x833d90, reg_cfp=0x7ffff7f8da38, num=0, recv=11665520,
|
|
blockptr=0x7ffff7f8da60, me=0x8aace0) at vm_insnhelper.c:402
|
|
#5 0x00000000005152f1 in vm_call_method (th=0x833d90, cfp=0x7ffff7f8da38, num=0,
|
|
blockptr=0x7ffff7f8da60, flag=0, id=1631, me=0x8aace0, recv=11665520) at vm_insnhelper.c:524
|
|
#6 0x000000000051a9b3 in vm_exec_core (th=0x833d90, initial=0) at insns.def:1006
|
|
#7 0x0000000000527a23 in vm_exec (th=0x833d90) at vm.c:1145
|
|
#8 0x00000000005264a6 in invoke_block_from_c (th=0x833d90, block=0x7ffff7f8db68, self=18608400,
|
|
argc=1, argv=0x7fffffff9f58, blockptr=0x0, cref=0x0) at vm.c:557
|
|
#9 0x00000000005265d5 in vm_yield (th=0x833d90, argc=1, argv=0x7fffffff9f58) at vm.c:587
|
|
#10 0x0000000000522f8e in rb_yield_0 (argc=1, argv=0x7fffffff9f58) at vm_eval.c:731
|
|
#11 0x0000000000522fc8 in rb_yield (val=19314200) at vm_eval.c:741
|
|
#12 0x000000000053cffc in rb_ary_each (ary=18310120) at array.c:1427
|
|
#13 0x0000000000514350 in call_cfunc (func=0x53cf78 <rb_ary_each>, recv=18310120, len=0, argc=0,
|
|
argv=0x7ffff7e8e1e8) at vm_insnhelper.c:318
|
|
#14 0x0000000000514c73 in vm_call_cfunc (th=0x833d90, reg_cfp=0x7ffff7f8db40, num=0, recv=18310120,
|
|
blockptr=0x7ffff7f8db68, me=0x8ea770) at vm_insnhelper.c:402
|
|
#15 0x00000000005152f1 in vm_call_method (th=0x833d90, cfp=0x7ffff7f8db40, num=0,
|
|
blockptr=0x7ffff7f8db68, flag=0, id=424, me=0x8ea770, recv=18310120) at vm_insnhelper.c:524
|
|
#16 0x000000000051a9b3 in vm_exec_core (th=0x833d90, initial=0) at insns.def:1006
|
|
#17 0x0000000000527a23 in vm_exec (th=0x833d90) at vm.c:1145
|
|
#18 0x0000000000528405 in rb_iseq_eval (iseqval=8768440) at vm.c:1372
|
|
#19 0x000000000056916c in rb_load_internal (fname=8789680, wrap=0) at load.c:303
|
|
#20 0x0000000000569deb in rb_require_safe (fname=8918200, safe=0) at load.c:595
|
|
#21 0x000000000056956f in rb_f_require (obj=8998680, fname=8918200) at load.c:449
|
|
#22 0x0000000000514371 in call_cfunc (func=0x56954a <rb_f_require>, recv=8998680, len=1, argc=1,
|
|
argv=0x7ffff7e8e060) at vm_insnhelper.c:321
|
|
---Type <return> to continue, or q <return> to quit---
|
|
#23 0x0000000000514c73 in vm_call_cfunc (th=0x833d90, reg_cfp=0x7ffff7f8df08, num=1, recv=8998680,
|
|
blockptr=0x0, me=0x981310) at vm_insnhelper.c:402
|
|
#24 0x00000000005152f1 in vm_call_method (th=0x833d90, cfp=0x7ffff7f8df08, num=1, blockptr=0x0,
|
|
flag=8, id=12368, me=0x981310, recv=8998680) at vm_insnhelper.c:524
|
|
#25 0x000000000051a9b3 in vm_exec_core (th=0x833d90, initial=0) at insns.def:1006
|
|
#26 0x0000000000527a23 in vm_exec (th=0x833d90) at vm.c:1145
|
|
#27 0x00000000005217cd in vm_call0 (th=0x833d90, recv=8998680, id=8848, argc=1, argv=0x7fffffffc230,
|
|
me=0x98ffe0) at vm_eval.c:66
|
|
#28 0x0000000000521f05 in rb_call0 (recv=8998680, mid=8848, argc=1, argv=0x7fffffffc230,
|
|
scope=CALL_FCALL, self=6) at vm_eval.c:235
|
|
#29 0x00000000005225b9 in rb_call (recv=8998680, mid=8848, argc=1, argv=0x7fffffffc230,
|
|
scope=CALL_FCALL) at vm_eval.c:438
|
|
#30 0x0000000000522dd9 in rb_funcall2 (recv=8998680, mid=8848, argc=1, argv=0x7fffffffc230)
|
|
at vm_eval.c:650
|
|
#31 0x00000000004af0e6 in require_libraries (req_list=0x7fffffffd638) at ruby.c:491
|
|
#32 0x00000000004b2632 in load_file_internal (arg=140737488340096) at ruby.c:1608
|
|
#33 0x0000000000418b31 in rb_ensure (b_proc=0x4b2004 <load_file_internal>, data1=140737488340096,
|
|
e_proc=0x4b27a9 <restore_lineno>, data2=1) at eval.c:743
|
|
#34 0x00000000004b2824 in load_file (parser=8905240,
|
|
fname=0x92d310 "/home/user1/.rvm/gems/ruby-head/bin/cucumber", script=1, opt=0x7fffffffd5c0)
|
|
at ruby.c:1650
|
|
#35 0x00000000004b19ee in process_options (argc=0, argv=0x7fffffffd8a0, opt=0x7fffffffd5c0)
|
|
at ruby.c:1405
|
|
#36 0x00000000004b3094 in ruby_process_options (argc=3, argv=0x7fffffffd888) at ruby.c:1871
|
|
#37 0x0000000000417359 in ruby_options (argc=3, argv=0x7fffffffd888) at eval.c:83
|
|
#38 0x0000000000416109 in main (argc=3, argv=0x7fffffffd888) at main.c:35
|
|
(gdb)
|
|
(gdb) list
|
|
868 #if VMDEBUG
|
|
869 printf("skipped frame: %s\n", vm_frametype_name(th->cfp));
|
|
870 #endif
|
|
871 if (UNLIKELY(VM_FRAME_TYPE(th->cfp) == VM_FRAME_MAGIC_CFUNC)) {
|
|
872 const rb_method_entry_t *me = th->cfp->me;
|
|
873 EXEC_EVENT_HOOK(th, RUBY_EVENT_C_RETURN, th->cfp->self, me->called_id, me->klass);
|
|
874 }
|
|
875
|
|
876 th->cfp = RUBY_VM_PREVIOUS_CONTROL_FRAME(th->cfp);
|
|
877 }
|
|
(gdb) display th
|
|
1: th = (rb_thread_t *) 0x833d90
|
|
(gdb) display th->cfp
|
|
2: th->cfp = (rb_control_frame_t *) 0x7ffff7fa5560
|
|
(gdb) display th->cfp->self
|
|
3: th->cfp->self = 8151847929703
|
|
(gdb) display me->called_id
|
|
Disabling display 4 to avoid infinite recursion.
|
|
4: me->called_id = Cannot access memory at address 0x78800000795
|
|
(gdb) display me
|
|
5: me = (const rb_method_entry_t *) 0x78800000785
|