Skip to content

Instantly share code, notes, and snippets.

@jfirebaugh
Created October 22, 2012 22:04
Show Gist options
  • Select an option

  • Save jfirebaugh/3934882 to your computer and use it in GitHub Desktop.

Select an option

Save jfirebaugh/3934882 to your computer and use it in GitHub Desktop.
>> RubyProf.start
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x000000093fb41c58
0x000000010542c857 in stack_pop ()
(gdb) bt
#0 0x000000010542c857 in stack_pop ()
#1 0x0000000105fd350d in pop_frame (profile=0x10713fe60, thread_data=0x10713ffc0) at ruby_prof.c:142
#2 0x0000000105fd3b75 in prof_event_hook (event=64, data=4352129960, self=4352336760, mid=2848, klass=4303871320) at ruby_prof.c:369
#3 0x000000010018c2d1 in exec_event_hooks (hook=0x10608d2e0, flag=64, self=4352336760, id=2848, klass=4303871320) at thread.c:4148
#4 0x000000010018c223 in thread_exec_event_hooks (args=140734799780576, running=0) at thread.c:4184
#5 0x000000010018cdc5 in thread_suppress_tracing (th=0x100403ef0, ev=6, func=0x10018c09d <thread_exec_event_hooks>, arg=140734799780576, always=0) at thread.c:4578
#6 0x000000010018c363 in rb_threadptr_exec_event_hooks (th=0x100403ef0, flag=64, self=4352336760, id=2848, klass=4303871320) at thread.c:4205
#7 0x0000000100177b61 in vm_call_cfunc (th=0x100403ef0, reg_cfp=0x1005ff768, num=4, recv=4352336760, blockptr=0x0, me=0x100420c20) at vm_insnhelper.c:416
#8 0x0000000100176c9c in vm_call_method (th=0x100403ef0, cfp=0x1005ff768, num=4, blockptr=0x0, flag=8, id=2848, me=0x100420c20, recv=4352336760) at vm_insnhelper.c:534
#9 0x00000001001718e5 in vm_exec_core (th=0x100403ef0, initial=0) at insns.def:1018
#10 0x0000000100181816 in vm_exec (th=0x100403ef0) at vm.c:1223
#11 0x00000001001802e8 in invoke_block_from_c (th=0x100403ef0, block=0x1005ffa50, self=4352200560, argc=0, argv=0x0, blockptr=0x0, cref=0x0) at vm.c:627
#12 0x000000010018036f in vm_yield (th=0x100403ef0, argc=0, argv=0x0) at vm.c:657
#13 0x000000010017ca9c in rb_yield_0 (argc=0, argv=0x0) at vm_eval.c:760
#14 0x000000010017cdd1 in loop_i () at vm_eval.c:818
#15 0x00000001000405d0 in rb_rescue2 (b_proc=0x10017cdbe <loop_i>, data1=0, r_proc=0, data2=0) at eval.c:647
#16 0x000000010017ce44 in rb_f_loop (self=4352200560) at vm_eval.c:846
#17 0x0000000100177c98 in call_cfunc (func=0x10017cdd3 <rb_f_loop>, recv=4352200560, len=0, argc=0, argv=0x1005001a0) at vm_insnhelper.c:320
#18 0x0000000100177ae8 in vm_call_cfunc (th=0x100403ef0, reg_cfp=0x1005ffa28, num=0, recv=4352200560, blockptr=0x1005ffa50, me=0x100421460) at vm_insnhelper.c:404
#19 0x0000000100176c9c in vm_call_method (th=0x100403ef0, cfp=0x1005ffa28, num=0, blockptr=0x1005ffa50, flag=8, id=2896, me=0x100421460, recv=4352200560) at vm_insnhelper.c:534
#20 0x00000001001718e5 in vm_exec_core (th=0x100403ef0, initial=0) at insns.def:1018
#21 0x0000000100181816 in vm_exec (th=0x100403ef0) at vm.c:1223
#22 0x00000001001802e8 in invoke_block_from_c (th=0x100403ef0, block=0x1005ffb58, self=4352200560, argc=1, argv=0x7fff5fbfbe88, blockptr=0x0, cref=0x0) at vm.c:627
#23 0x000000010018036f in vm_yield (th=0x100403ef0, argc=1, argv=0x7fff5fbfbe88) at vm.c:657
#24 0x000000010017ca9c in rb_yield_0 (argc=1, argv=0x7fff5fbfbe88) at vm_eval.c:760
#25 0x000000010017e5b7 in catch_i (tag=9610510, data=0) at vm_eval.c:1479
#26 0x000000010017e756 in rb_catch_obj (tag=9610510, func=0x10017e599 <catch_i>, data=0) at vm_eval.c:1554
#27 0x000000010017e614 in rb_f_catch (argc=1, argv=0x100500160) at vm_eval.c:1530
#28 0x0000000100177c80 in call_cfunc (func=0x10017e5b9 <rb_f_catch>, recv=4352200560, len=-1, argc=1, argv=0x100500160) at vm_insnhelper.c:317
#29 0x0000000100177ae8 in vm_call_cfunc (th=0x100403ef0, reg_cfp=0x1005ffb30, num=1, recv=4352200560, blockptr=0x1005ffb58, me=0x1004211a0) at vm_insnhelper.c:404
#30 0x0000000100176c9c in vm_call_method (th=0x100403ef0, cfp=0x1005ffb30, num=1, blockptr=0x1005ffb58, flag=8, id=2880, me=0x1004211a0, recv=4352200560) at vm_insnhelper.c:534
#31 0x00000001001718e5 in vm_exec_core (th=0x100403ef0, initial=0) at insns.def:1018
#32 0x0000000100181816 in vm_exec (th=0x100403ef0) at vm.c:1223
#33 0x00000001001802e8 in invoke_block_from_c (th=0x100403ef0, block=0x1005ffd10, self=4347669440, argc=1, argv=0x7fff5fbfd098, blockptr=0x0, cref=0x0) at vm.c:627
#34 0x000000010018036f in vm_yield (th=0x100403ef0, argc=1, argv=0x7fff5fbfd098) at vm.c:657
#35 0x000000010017ca9c in rb_yield_0 (argc=1, argv=0x7fff5fbfd098) at vm_eval.c:760
#36 0x000000010017e5b7 in catch_i (tag=8889614, data=0) at vm_eval.c:1479
#37 0x000000010017e756 in rb_catch_obj (tag=8889614, func=0x10017e599 <catch_i>, data=0) at vm_eval.c:1554
#38 0x000000010017e614 in rb_f_catch (argc=1, argv=0x1005000f0) at vm_eval.c:1530
#39 0x0000000100177c80 in call_cfunc (func=0x10017e5b9 <rb_f_catch>, recv=4347669440, len=-1, argc=1, argv=0x1005000f0) at vm_insnhelper.c:317
#40 0x0000000100177ae8 in vm_call_cfunc (th=0x100403ef0, reg_cfp=0x1005ffce8, num=1, recv=4347669440, blockptr=0x1005ffd10, me=0x1004211a0) at vm_insnhelper.c:404
#41 0x0000000100176c9c in vm_call_method (th=0x100403ef0, cfp=0x1005ffce8, num=1, blockptr=0x1005ffd10, flag=8, id=2880, me=0x1004211a0, recv=4347669440) at vm_insnhelper.c:534
#42 0x00000001001718e5 in vm_exec_core (th=0x100403ef0, initial=0) at insns.def:1018
#43 0x0000000100181816 in vm_exec (th=0x100403ef0) at vm.c:1223
#44 0x00000001001821aa in rb_iseq_eval (iseqval=4347417960) at vm.c:1450
#45 0x00000001000426dd in rb_load_internal (fname=4347404160, wrap=0) at load.c:310
#46 0x00000001000433da in rb_require_safe (fname=4347410840, safe=0) at load.c:620
#47 0x0000000100042ad5 in rb_f_require (obj=4303866640, fname=4347410880) at load.c:466
#48 0x0000000100177cb7 in call_cfunc (func=0x100042ab5 <rb_f_require>, recv=4303866640, len=1, argc=1, argv=0x100500038) at vm_insnhelper.c:323
#49 0x0000000100177ae8 in vm_call_cfunc (th=0x100403ef0, reg_cfp=0x1005ffef8, num=1, recv=4303866640, blockptr=0x0, me=0x101115d50) at vm_insnhelper.c:404
#50 0x0000000100176c9c in vm_call_method (th=0x100403ef0, cfp=0x1005ffef8, num=1, blockptr=0x0, flag=8, id=8992, me=0x101115d50, recv=4303866640) at vm_insnhelper.c:534
#51 0x00000001001718e5 in vm_exec_core (th=0x100403ef0, initial=0) at insns.def:1018
#52 0x0000000100181816 in vm_exec (th=0x100403ef0) at vm.c:1223
#53 0x00000001001821e9 in rb_iseq_eval_main (iseqval=4303677880) at vm.c:1464
#54 0x000000010003f74f in ruby_exec_internal (n=0x10084e9b8) at eval.c:204
#55 0x000000010003f873 in ruby_exec_node (n=0x10084e9b8) at eval.c:251
#56 0x000000010003f846 in ruby_run_node (n=0x10084e9b8) at eval.c:244
#57 0x0000000100000ee3 in main (argc=3, argv=0x7fff5fbff5e8) at main.c:38
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment