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