Skip to content

Instantly share code, notes, and snippets.

@jasonroelofs
Created November 1, 2009 21:46
Show Gist options
  • Save jasonroelofs/223740 to your computer and use it in GitHub Desktop.
Save jasonroelofs/223740 to your computer and use it in GitHub Desktop.
Stack trace from gdb:
Class:construct .
Class:undef_creation_funcs
Program received signal SIGSEGV, Segmentation fault.
0x00235981 in vm_backtrace () at vm.c:744
744 ary = vm_backtrace_each(th, RUBY_VM_NEXT_CONTROL_FRAME(cfp),
(gdb) where
#0 0x00235981 in vm_backtrace () at vm.c:744
#1 rb_make_backtrace () at vm_eval.c:1356
#2 0x0015a65d in rb_longjmp (tag=6, mesg=135940224) at eval.c:362
#3 0x0015a913 in rb_exc_raise (mesg=135940224) at eval.c:415
#4 0x00157dfb in rb_raise (exc=136112816, fmt=0x2735a4 "allocator undefined for %s") at error.c:1096
#5 0x002436fa in method_missing (obj=135940364, id=1, argc=0, argv=0x0, call_status=0) at vm_eval.c:368
#6 0x00236130 in rb_call0 (klass=<value optimized out>, recv=135940364, mid=1, argc=0, argv=0x0, scope=1, self=6)
at vm_eval.c:214
#7 0x002364ca in rb_call (recv=<value optimized out>, mid=1, n=0) at vm_eval.c:255
#8 rb_funcall (recv=<value optimized out>, mid=1, n=0) at vm_eval.c:427
#9 0x00190501 in rb_obj_alloc (klass=135940364) at object.c:1449
#10 0x00190582 in rb_class_new_instance (argc=0, argv=0xbffff440, klass=135940364) at object.c:1481
#11 0x002338a0 in call_cfunc (func=0x190560 <rb_class_new_instance>, recv=135940364, len=0, argc=0, argv=0x81a4864)
at vm_insnhelper.c:286
#12 0x00235e02 in vm_call0 (klass=136149020, recv=135940364, mid=960, argc=0, argv=0xbffff440, scope=1, self=6)
at vm_eval.c:71
#13 rb_call0 (klass=136149020, recv=135940364, mid=960, argc=0, argv=0xbffff440, scope=1, self=6) at vm_eval.c:249
#14 0x00238ece in rb_call (recv=0, mid=960, argc=0, argv=0xbffff440) at vm_eval.c:255
#15 rb_funcall2 (recv=0, mid=960, argc=0, argv=0xbffff440) at vm_eval.c:433
#16 0x0809bf19 in Rice::detail::Ruby_Function_4<unsigned long, unsigned long (*)(unsigned long, unsigned long, int, unsigned long const*), unsigned long volatile, Rice::Identifier, int, unsigned long [0]>::operator()() ()
#17 0x0809b39d in Rice::detail::Ruby_Function_4<unsigned long, unsigned long (*)(unsigned long, unsigned long, int, unsigned long const*), unsigned long volatile, Rice::Identifier, int, unsigned long [0]>::call(Rice::detail::Ruby_Function_4<unsigned long, unsigned long (*)(unsigned long, unsigned long, int, unsigned long const*), unsigned long volatile, Rice::Identifier, int, unsigned long [0]>*) ()
#18 0x0015af6c in rb_protect (
proc=0x809b38c <Rice::detail::Ruby_Function_4<unsigned long, unsigned long (*)(unsigned long, unsigned long, int, unsigned long const*), unsigned long volatile, Rice::Identifier, int, unsigned long [0]>::call(Rice::detail::Ruby_Function_4<unsigned long, unsigned long (*)(unsigned long, unsigned long, int, unsigned long const*), unsigned long volatile, Rice::Identifier, int, unsigned long [0]>*)>, data=3221222376, state=0xbffff39c) at eval.c:648
#19 0x0814265a in Rice::detail::protect (f=0x809b38c <Rice::detail::Ruby_Function_4<unsigned long, unsigned long (*)(unsigned long, unsigned long, int, unsigned long const*), unsigned long volatile, Rice::Identifier, int, unsigned long [0]>::call(Rice::detail::Ruby_Function_4<unsigned long, unsigned long (*)(unsigned long, unsigned long, int, unsigned long const*), unsigned long volatile, Rice::Identifier, int, unsigned long [0]>*)>, arg=3221222376) at detail/protect.cpp:15
#20 0x08099884 in unsigned long Rice::protect<unsigned long (*)(unsigned long, unsigned long, int, unsigned long const*), unsigned long volatile, Rice::Identifier, int, unsigned long [0]>(unsigned long (*)(unsigned long, unsigned long, int, unsigned long const*), unsigned long volatile const&, Rice::Identifier const&, int const&, unsigned long const (&) [0]) ()
#21 0x08099176 in Rice::Object::call(Rice::Identifier) const ()
#22 0x080a015f in test__undef_creation_funcs() ()
#23 0x0808950e in Test_Case::run() ()
#24 0x08088c66 in Test_Suite::run(Test_Result&) ()
#25 0x080890a9 in main ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment