Skip to content

Instantly share code, notes, and snippets.

@jshow
Created April 2, 2012 18:48
Show Gist options
  • Save jshow/2286260 to your computer and use it in GitHub Desktop.
Save jshow/2286260 to your computer and use it in GitHub Desktop.
backtrace
Program received signal SIGSEGV, Segmentation fault.
st_lookup (table=0x0, key=792, value=0x7fffffffc858) at st.c:330
330 if (table->entries_packed) {
(gdb) generate-core-file
Saved corefile core.7737
(gdb) bt
#0 st_lookup (table=0x0, key=792, value=0x7fffffffc858) at st.c:330
#1 0x00007ffff7b1629f in search_method (recv=<value optimized out>, mid=792) at vm_method.c:374
#2 rb_method_entry_get_without_cache (recv=<value optimized out>, mid=792) at vm_method.c:393
#3 rb_method_entry (recv=<value optimized out>, mid=792) at vm_method.c:426
#4 rb_search_method_entry (recv=<value optimized out>, mid=792) at vm_eval.c:392
#5 0x00007ffff7b20c85 in rb_call0 (recv=67260520, mid=792, n=-135351856) at vm_eval.c:228
#6 rb_call (recv=67260520, mid=792, n=-135351856) at vm_eval.c:456
#7 rb_funcall (recv=67260520, mid=792, n=-135351856) at vm_eval.c:658
#8 0x00007ffff7ac815b in rb_obj_as_string (obj=67260520) at string.c:860
#9 0x00007ffff7b185f9 in vm_exec_core (th=0x602520, initial=<value optimized out>) at insns.def:416
#10 0x00007ffff7b1e5f9 in vm_exec (th=<value optimized out>) at vm.c:1220
#11 0x00007ffff7b21ce6 in vm_yield (val=68640720) at vm.c:654
#12 rb_yield_0 (val=68640720) at vm_eval.c:760
#13 rb_yield (val=68640720) at vm_eval.c:770
#14 0x00007ffff7a27a67 in each_pair_i (key=<value optimized out>, value=<value optimized out>) at hash.c:1300
#15 0x00007ffff7a27da4 in hash_foreach_iter (key=67260520, value=792, arg=0x7fffffffcde0) at hash.c:164
#16 0x00007ffff7ac0b12 in st_foreach (table=0x4c93a50, func=0x7ffff7a27d80 <hash_foreach_iter>, arg=140737488342496) at st.c:787
#17 0x00007ffff7a28b4a in hash_foreach_call (arg=0x7fffffffc858) at hash.c:197
#18 0x00007ffff7a0e243 in rb_ensure (b_proc=<value optimized out>, data1=<value optimized out>, e_proc=<value optimized out>, data2=<value optimized out>) at eval.c:744
#19 0x00007ffff7a286f6 in rb_hash_foreach (hash=<value optimized out>, func=<value optimized out>, farg=<value optimized out>) at hash.c:214
#20 0x00007ffff7a2883e in rb_hash_each_pair (hash=53900480) at hash.c:1330
#21 0x00007ffff7b17657 in vm_call_cfunc (th=0x602520, cfp=0x7ffff7feaa38, num=0, blockptr=<value optimized out>, flag=57712720, id=1, me=0x6cb1d0, recv=53900480) at vm_insnhelper.c:404
#22 vm_call_method (th=0x602520, cfp=0x7ffff7feaa38, num=0, blockptr=<value optimized out>, flag=57712720, id=1, me=0x6cb1d0, recv=53900480) at vm_insnhelper.c:534
#23 0x00007ffff7b1904a in vm_exec_core (th=0x602520, initial=<value optimized out>) at insns.def:1015
#24 0x00007ffff7b1e5f9 in vm_exec (th=<value optimized out>) at vm.c:1220
#25 0x00007ffff7b2008b in vm_call0 (th=0x602520, recv=<value optimized out>, id=<value optimized out>, argc=0, argv=0x7ffff7eeb180, me=0x43fc290) at vm_eval.c:66
#26 0x00007ffff7a59320 in rb_class_new_instance (argc=0, argv=0x7ffff7eeb180, klass=<value optimized out>) at object.c:1636
#27 0x00007ffff7b17657 in vm_call_cfunc (th=0x602520, cfp=0x7ffff7feab98, num=0, blockptr=<value optimized out>, flag=57712720, id=1, me=0x677e20, recv=52471880) at vm_insnhelper.c:404
#28 vm_call_method (th=0x602520, cfp=0x7ffff7feab98, num=0, blockptr=<value optimized out>, flag=57712720, id=1, me=0x677e20, recv=52471880) at vm_insnhelper.c:534
#29 0x00007ffff7b1b804 in vm_exec_core (th=0x602520, initial=<value optimized out>) at insns.def:1051
#30 0x00007ffff7b1e5f9 in vm_exec (th=<value optimized out>) at vm.c:1220
#31 0x00007ffff7b2008b in vm_call0 (th=0x602520, recv=<value optimized out>, id=<value optimized out>, argc=0, argv=0x7ffff7eeb100, me=0x4822620) at vm_eval.c:66
#32 0x00007ffff7a59320 in rb_class_new_instance (argc=0, argv=0x7ffff7eeb100, klass=<value optimized out>) at object.c:1636
#33 0x00007ffff7b17657 in vm_call_cfunc (th=0x602520, cfp=0x7ffff7feacf8, num=0, blockptr=<value optimized out>, flag=57712720, id=1, me=0x677e20, recv=35815440) at vm_insnhelper.c:404
#34 vm_call_method (th=0x602520, cfp=0x7ffff7feacf8, num=0, blockptr=<value optimized out>, flag=57712720, id=1, me=0x677e20, recv=35815440) at vm_insnhelper.c:534
#35 0x00007ffff7b1904a in vm_exec_core (th=0x602520, initial=<value optimized out>) at insns.def:1015
#36 0x00007ffff7b1e5f9 in vm_exec (th=<value optimized out>) at vm.c:1220
#37 0x00007ffff7b2008b in vm_call0 (th=0x602520, recv=<value optimized out>, id=<value optimized out>, argc=1, argv=0x40253e8, me=0x43e1c00) at vm_eval.c:66
#38 0x00007ffff7a14143 in rb_method_call (argc=<value optimized out>, argv=<value optimized out>, method=<value optimized out>) at proc.c:1437
#39 0x00007ffff7b20133 in vm_call0 (th=0x602520, recv=<value optimized out>, id=<value optimized out>, argc=1, argv=0x40253e8, me=0x709230) at vm_eval.c:79
#40 0x00007ffff7b2469e in rb_eval_cmd (cmd=<value optimized out>, arg=<value optimized out>, level=<value optimized out>) at vm_eval.c:1196
#41 0x00007ffff7a20f44 in run_single_final (arg=<value optimized out>) at gc.c:2906
#42 0x00007ffff7a0e3fd in rb_protect (proc=<value optimized out>, data=<value optimized out>, state=<value optimized out>) at eval.c:719
#43 0x00007ffff7a20ea9 in run_finalizer (objspace=<value optimized out>, objid=<value optimized out>, table=36430760) at gc.c:2930
#44 0x00007ffff7a22359 in rb_objspace_call_finalizer () at gc.c:3044
#45 rb_gc_call_finalizer_at_exit () at gc.c:3017
#46 0x00007ffff7a0ffac in ruby_finalize_1 (ex=0) at eval.c:101
#47 ruby_cleanup (ex=0) at eval.c:147
#48 0x00007ffff7a10205 in ruby_run_node (n=0x12deb18) at eval.c:244
#49 0x000000000040098b in main (argc=4, argv=0x7fffffffe1a8) at main.c:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment