On 03/03/10 12:40, Josh Glover wrote:
> On 3 March 2010 11:41, Frank Murphy<frankly3d at gmail.com> wrote:
>>> Am trying to do a backtrace on a game crack-attack
>> I presume you are trying to debug a crash? Honestly, I'd just:
>> # gdb crack-attack
> (gdb) run
> [...]
> (gdb) bt
>> This will get you a backtrace. No need to be root, unless I'm missing
> something important.
>
Seemingly you have to be root for gnome-games
> If you post the backtrace here, along with an explanation of the
> problem you are encountering, I'm sure we can help. :)
>
Game freeze rather than crash.
gdb crack-attack
GNU gdb (GDB) Fedora (7.0.50.20100203-15.fc13)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/crack-attack...Reading symbols from
/usr/lib/debug/usr/bin/crack-attack.debug...
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
done.
done.
(gdb) run
Starting program: /usr/bin/crack-attack
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
[Thread debugging using libthread_db enabled]
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
Detaching after fork from child process 2201.
[New Thread 0x7fffef622710 (LWP 2202)]
Detaching after fork from child process 2209.
^C
Program received signal SIGINT, Interrupt.
0x00000035a06db053 in poll () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install
dbus-libs-1.2.20-1.fc13.x86_64 expat-2.0.1-10.fc13.x86_64
freetype-2.3.11-3.fc12.x86_64 glibc-2.11.90-14.x86_64
gtk-nodoka-engine-0.7.2-8.fc13.x86_64 gvfs-1.5.3-2.fc13.x86_64
libXau-1.0.5-1.fc12.x86_64 libXcomposite-0.4.1-2.fc13.x86_64
libXcursor-1.1.10-3.fc13.x86_64 libXdamage-1.1.2-2.fc13.x86_64
libXext-1.1-2.fc13.x86_64 libXfixes-4.0.4-2.fc13.x86_64
libXinerama-1.1-2.fc13.x86_64 libXrandr-1.3.0-5.fc13.x86_64
libXrender-0.9.5-1.fc13.x86_64 libXt-1.0.7-1.fc13.x86_64
libXxf86vm-1.1.0-1.fc13.x86_64 libdrm-2.4.18-0.1.fc13.x86_64
libpng-1.2.42-1.fc13.x86_64 libselinux-2.0.90-5.fc13.x86_64
libudev-151-3.fc13.x86_64 libuuid-2.17.1-0.1.fc13.x86_64
libxcb-1.5-1.fc13.x86_64 pango-1.26.2-1.fc12.x86_64
pixman-0.17.6-1.fc13.x86_64
zlib-1.2.3-23.fc12.x86_64
(gdb) thread apply all bt full
Thread 2 (Thread 0x7fffef622710 (LWP 2202)):
#0 0x00000035a0e0e93d in read () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00000035a223ba8b in read (data=<value optimized out>)
at /usr/include/bits/unistd.h:45
No locals.
#2 child_watch_helper_thread (data=<value optimized out>) at gmain.c:3822
b = "B", '\000' <repeats 18 times>
list = <value optimized out>
#3 0x00000035a2263a04 in g_thread_create_proxy (data=0x8d0300)
at gthread.c:1893
thread = 0x8d0300
__PRETTY_FUNCTION__ = "g_thread_create_proxy"
#4 0x00000035a0e06b60 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00000035a06e47ad in clone () from /lib64/libc.so.6
No symbol table info available.
Thread 1 (Thread 0x7ffff7fd8800 (LWP 2198)):
#0 0x00000035a06db053 in poll () from /lib64/libc.so.6
No symbol table info available.
#1 0x00000035a223e457 in g_main_context_poll (context=0x87b770,
---Type <return> to continue, or q <return> to quit---
block=<value optimized out>, dispatch=<value optimized out>,
self=<value optimized out>) at gmain.c:2904
poll_func = 0x35a224b290 <IA__g_poll>
#2 g_main_context_iterate (context=0x87b770, block=<value optimized out>,
dispatch=<value optimized out>, self=<value optimized out>) at
gmain.c:2586
max_priority = 2147483647
timeout = -1
some_ready = 9930304
nfds = 3
allocated_nfds = <value optimized out>
fds = 0x978640
__PRETTY_FUNCTION__ = "g_main_context_iterate"
#3 0x00000035a223eb8d in IA__g_main_loop_run (loop=0x9aea60) at
gmain.c:2799
self = 0x84a1e0
__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#4 0x00000035a7f4a5f7 in IA__gtk_main () at gtkmain.c:1219
tmp_list = <value optimized out>
functions = 0x0
init = <value optimized out>
loop = 0x9aea60
#5 0x000000000042b15e in gui_main (argc=1, argv=0x7fffffffe348)
at gui_main.cxx:79
winCrackAttackSplash = 0x878360
---Type <return> to continue, or q <return> to quit---
#6 0x0000000000409128 in main (argc=1, argv=0x7fffffffe348) at
Attack.cxx:77
player_name =
"\020\004\000\000\000\000\000\000\200\016\230\240\065\000\000\000\300\v\002\000\000\000\000\000 at d\204\000\000\000\000\000\200\016\230\240\065\000\000\000\032\310g\240\065",
'\000' <repeats 11 times>"\250,
\023\217\255\065\000\000\000\240\031\217\255\065\000\000\000\030<g\255\065\000\000\000\t\000\000\000\000\000\000\000\250\364\227\240\065\000\000\000XHd\000\000\000\000\000h\376B\000\000\000\000\000\001\000\000\000\000\000\000\000\000\340c\000\000\000\000\000\030x@\000\000\000\000\000\250rc\240\065\000\000\000p\202@\000\000\000\000\000\250rc\240\065\000\000\000\000\340c\000\000\000\000\000\020\342\377\377\377\177\000\000\000\340c\000\000\000\000\000&\376B",
'\000' <repeats 13 times>, "P\375B", '\000' <repeats 13 times>"\343,
c@\000\000\000\000\000\377\000\000\000\000\000\000\000\225\375B", '\000'
<repeats 13 times>, "P\375B"...
host_name =
"X\341\377\367\377\177\000\000\210\341\377\367\377\177\000\000\300\037\217\255\065",
'\000' <repeats 11 times>"\300,
\260\377\377\377\177\000\000\006\000\000\000\377\177\000\000`\220\216\255\065\000\000\000
\224\216\255\065\000\000\000
\000\000\000\000\000\000\000`\220\216\255\065\000\000\000\001\000\000\000\000\000\000\000\n\000\000\000\000\000\000\000\240&\217\255\065\000\000\000\377\377\377\377\377\377\377\377\000\062\217\255\065\000\000\000EAf\255\065\000\000\000\000\061\217\255\065\000\000\000p-\217\255\065",
'\000' <repeats 11 times>"\300, Ҏ\255\065\000\000\000
\224\216\255\065\000\000\000\300\v\002", '\000' <repeats 21 times>,
"\002\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000@\004\000\000\000\000\000\000B\000\000\000|\000\000\000w\000\000\000n\000\000\000]\000\000\000@\000\000\000\200\367\227\240\065\000\000\000\250\364\227\---Type
<return> to continue, or q <return> to quit---
240\065\000\000"
port = <value optimized out>
mode = <value optimized out>
height = <value optimized out>
width = <value optimized out>
(gdb)
then:
(gdb) set follow-fork-mode child
(gdb) run
Starting program: /usr/bin/crack-attack
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
[Thread debugging using libthread_db enabled]
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
(crack-attack:14875): Gtk-WARNING **: Theme directory
256x256/status;scalable/apps of theme gnome has no size field
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.liblist not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .dynbss not found in
/usr/lib/debug/usr/bin/crack-attack.debug
warning: section .gnu.conflict not found in
/usr/lib/debug/usr/bin/crack-attack.debug
[New process 14878]
[Thread debugging using libthread_db enabled]
Cannot access memory at address 0x35ab20d9b0
(gdb)
--
Regards,
Frank Murphy
UTF_8 Encoded
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!