Guest User

Untitled

a guest
Jun 14th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. [djberge@imperator ~/programming/ruby/extensions/admin]$ gdb ruby
  2. GNU gdb 6.1.1 [FreeBSD]
  3. Copyright 2004 Free Software Foundation, Inc.
  4. GDB is free software, covered by the GNU General Public License, and you are
  5. welcome to change it and/or distribute copies of it under certain conditions.
  6. Type "show copying" to see the conditions.
  7. There is absolutely no warranty for GDB. Type "show warranty" for details.
  8. This GDB was configured as "i386-marcel-freebsd"...
  9. (gdb) run test.rb
  10. Starting program: /usr/local/bin/ruby test.rb
  11.  
  12. Program received signal SIGSEGV, Segmentation fault.
  13. 0x2821fc23 in open () from /lib/libc.so.7
  14. (gdb) bt
  15. #0 0x2821fc23 in open () from /lib/libc.so.7
  16. #1 0x2823f458 in __sF () from /lib/libc.so.7
  17. #2 0x00000000 in ?? ()
  18. #3 0x00000000 in ?? ()
  19. #4 0x00000000 in ?? ()
  20. #5 0x00000000 in ?? ()
  21. #6 0x00000000 in ?? ()
  22. #7 0x00000000 in ?? ()
  23. #8 0x00000000 in ?? ()
  24. #9 0x00000000 in ?? ()
  25. #10 0x00000000 in ?? ()
  26. #11 0x00000000 in ?? ()
  27. #12 0x00000063 in ?? ()
  28. #13 0x63000000 in ?? ()
  29. #14 0x080f1ce8 in __isthreaded@@FBSD_1.0 ()
  30. #15 0x2823a448 in sys_nerr () from /lib/libc.so.7
  31. #16 0x2823f7f8 in ?? () from /lib/libc.so.7
  32. #17 0x2837705c in ?? ()
  33. #18 0x28377034 in ?? ()
  34. #19 0xbfbfddb8 in ?? ()
  35. #20 0x28206708 in gethostbyaddr () from /lib/libc.so.7
  36. #21 0x2822304f in vfprintf () from /lib/libc.so.7
  37. #22 0x2820dbe3 in printf () from /lib/libc.so.7
  38. #23 0x282559f8 in admin_users_body (klass=674379060) at admin.c:23
  39. #24 0x080544c9 in rb_ensure (b_proc=0x28255990 <admin_users_body>, data1=674379060,
  40. e_proc=0x28255960 <admin_users_cleanup>, data2=4) at eval.c:5488
  41. #25 0x28255959 in admin_users (klass=674379140) at admin.c:35
  42. #26 0x0805e67a in rb_call0 (klass=674379120, recv=674379140, id=10145, oid=10145, argc=0, argv=0x0,
  43. body=0x2832355c, flags=0) at eval.c:5847
  44. #27 0x0805e931 in rb_call (klass=674379120, recv=674379140, mid=10145, argc=0, argv=0x0, scope=0,
  45. self=674441620) at eval.c:6094
  46. #28 0x0805a6f9 in rb_eval (self=674441620, n=Variable "n" is not available.
  47. ) at eval.c:3473
  48. #29 0x080691f7 in ruby_exec_internal () at eval.c:1634
  49. #30 0x08069226 in ruby_exec () at eval.c:1654
  50. ---Type <return> to continue, or q <return> to quit---
  51. #31 0x08069250 in ruby_run () at eval.c:1664
  52. #32 0x080528cf in main (argc=672265728, argv=0x28118734, envp=0x28123120) at main.c:48
Add Comment
Please, Sign In to add comment