Skip to content

Instantly share code, notes, and snippets.

@luislavena
Created April 14, 2012 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luislavena/2915af2b99fd82934264 to your computer and use it in GitHub Desktop.
Save luislavena/2915af2b99fd82934264 to your computer and use it in GitHub Desktop.
GDB backtrace of ruby -Ilib -rmswin32/ibm_db -e "puts :ok"
#0 0x62d0142b in rb_w32_check_imported (mine=0x62d00000, ext=0x28f0000)
at ../../../../ruby/dln.c:1221
#1 dln_load (file=<optimized out>) at ../../../../ruby/dln.c:1275
#2 0x62e59bca in rb_vm_call_cfunc (recv=30554136, func=0x62d43638 <load_ext>, arg=41293680,
blockptr=0x0, filename=41293680) at ../../../../ruby/vm.c:1538
#3 0x62d4453c in rb_require_safe (fname=30510240, safe=0) at ../../../../ruby/load.c:623
#4 0x62e586fa in vm_call_cfunc (me=0x1daa8b0, blockptr=0x0, recv=<optimized out>,
num=<optimized out>, reg_cfp=0x1e5ff9c, th=0x2eaca8) at ../../../../ruby/vm_insnhelper.c:404
#5 vm_call_method (th=0x2eaca8, cfp=0x1e5ff9c, num=<optimized out>, blockptr=0x0,
flag=<optimized out>, id=14256, me=0x1daa8b0, recv=30554136)
at ../../../../ruby/vm_insnhelper.c:534
#6 0x62e4ef4a in vm_exec_core (th=0x2eaca8, initial=<optimized out>)
at ../../../../ruby/insns.def:1015
#7 0x62e534d2 in vm_exec (th=0x2eaca8) at ../../../../ruby/vm.c:1220
#8 0x62e54861 in vm_call0 (th=0x2eaca8, recv=30554136, id=<optimized out>, argc=1,
argv=0x28fdbc, me=0x1daa8f0) at ../../../../ruby/vm_eval.c:66
#9 0x62decfc4 in require_libraries (req_list=0x28fe5c) at ../../../../ruby/ruby.c:491
#10 process_options (argc=8832, argv=0x1d23818, opt=0x2eaca8) at ../../../../ruby/ruby.c:1392
#11 0x62dedce7 in ruby_process_options (argc=5, argv=0x2e30b8) at ../../../../ruby/ruby.c:1806
#12 0x62d42293 in ruby_options (argc=5, argv=0x2e30b8) at ../../../../ruby/eval.c:73
#13 0x00401367 in main (argc=5, argv=0x2e30b8) at ../../../../ruby/main.c:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment