drac@unaffiliated ~ $ gdb gdb
GNU gdb 6.5
Copyright (C) 2006 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 "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/gdb
GNU gdb 6.5
Copyright (C) 2006 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 "i686-pc-linux-gnu".
(gdb) exec /usr/bin/libexec/beep-media-player-2-bin
/usr/bin/libexec/beep-media-player-2-bin: No such file or directory.
(gdb) exec /usr/libexec/beep-media-player-2-bin
(gdb) run
Starting program: /usr/libexec/beep-media-player-2-bin
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1215441232 (LWP 12780)]
[New Thread -1217541216 (LWP 12786)]
[New Thread -1226617952 (LWP 12787)]
[New Thread -1235207264 (LWP 12788)]
[New Thread -1243862112 (LWP 12789)]
[New Thread -1252254816 (LWP 12790)]
[New Thread -1260647520 (LWP 12791)]
[Thread -1260647520 (LWP 12791) exited]
[Thread -1252254816 (LWP 12790) exited]
[New Thread -1260647520 (LWP 12792)]
[Thread -1260647520 (LWP 12792) exited]
[New Thread -1260647520 (LWP 12793)]
[Thread -1260647520 (LWP 12793) exited]
[New Thread -1260647520 (LWP 12794)]
[Thread -1260647520 (zombie) exited]
(beep-media-player-2-bin:12780): Gdk-CRITICAL **: gdk_window_set_cursor: assertion `GDK_IS_WINDOW (window)' faile d
(beep-media-player-2-bin:12780): Gdk-CRITICAL **: gdk_window_set_cursor: assertion `GDK_IS_WINDOW (window)' faile d
Program received signal SIGSEGV, Segmentation fault.
thread_db_map_id2thr (thread_info=0x0, fatal=0) at .././gdb/linux-thread-db.c:318
318 .././gdb/linux-thread-db.c: No such file or directory.
in .././gdb/linux-thread-db.c
(gdb) bt
#0 thread_db_map_id2thr (thread_info=0x0, fatal=0) at .././gdb/linux-thread-db.c:318
#1 0x080942ea in thread_db_pid_to_str (ptid={pid = 12780, lwp = 12794, tid = -1260647520})
at .././gdb/linux-thread-db.c:1208
#2 0x08103d76 in normal_stop () at infrun.c:3033
#3 0x08084090 in do_my_cleanups (pmy_chain=0x82a78ac, old_chain=0x0) at utils.c:354
#4 0x0810e7da in throw_exception (exception=
{reason = RETURN_ERROR, error = GENERIC_ERROR, message = 0x888f020 "ptrace: No such process."})
at exceptions.c:225
#5 0x0810e8a0 in throw_it (reason=RETURN_ERROR, error=GENERIC_ERROR, fmt=<value optimized out>,
ap=0xbf9224e4 "�$\222�\b%\222�2�\v\bptrace: No such process") at exceptions.c:395
#6 0x0810e8fc in throw_verror (error=GENERIC_ERROR, fmt=0x822e608 "%s.",
ap=0xbf9224e4 "�$\222�\b%\222�2�\v\bptrace: No such process") at exceptions.c:401
#7 0x08086ac3 in error (string=0x822e608 "%s.") at utils.c:649
#8 0x08086d57 in perror_with_name (string=0x82254e7 "ptrace") at utils.c:865
#9 0x08092e95 in i386_linux_resume (ptid={pid = 12780, lwp = 12794, tid = 0}, step=0, signal=TARGET_SIGNAL_0)
at i386-linux-nat.c:815
#10 0x08099017 in linux_nat_resume (ptid={pid = 12780, lwp = 12794, tid = 0}, step=0, signo=TARGET_SIGNAL_0)
at linux-nat.c:1246
#11 0x0809594b in thread_db_resume (ptid={pid = -1, lwp = 0, tid = 0}, step=0, signo=TARGET_SIGNAL_0)
at .././gdb/linux-thread-db.c:847
#12 0x08104b0f in resume (step=0, sig=TARGET_SIGNAL_0) at infrun.c:625
#13 0x08104cfb in keep_going (ecs=0xbf9227dc) at infrun.c:2869
#14 0x08105e20 in handle_inferior_event (ecs=0xbf9227dc) at infrun.c:1476
#15 0x0810728c in wait_for_inferior () at infrun.c:1002
#16 0x08107415 in proceed (addr=4294967295, siggnal=TARGET_SIGNAL_0, step=0) at infrun.c:826
#17 0x08102b8b in run_command_1 (args=0x0, from_tty=1, tbreak_at_main=<value optimized out>) at infcmd.c:552
#18 0x0808336d in execute_command (p=0x82c2dcb "", from_tty=1) at top.c:452
#19 0x08112078 in command_handler (command=0x82c2dc8 "") at event-top.c:512
#20 0x08112d28 in command_line_handler (rl=0x82ffa00 " \0220\b\200\0240\b") at event-top.c:797
#21 0x081b5164 in rl_callback_read_char () at callback.c:204
#22 0x081121fb in rl_callback_read_char_wrapper (client_data=0x0) at event-top.c:178
#23 0x08111c30 in handle_file_event (event_file_desc=0) at event-loop.c:730
#24 0x081110db in process_event () at event-loop.c:343
#25 0x08111862 in gdb_do_one_event (data=0x0) at event-loop.c:380
#26 0x0810eae3 in catch_errors (func=0x81117a0 <gdb_do_one_event>, func_args=0x0, errstring=0x822806e "",
mask=6) at exceptions.c:515
#27 0x080bef74 in tui_command_loop (data=0x0) at .././gdb/tui/tui-interp.c:151
---Type <return> to continue, or q <return> to quit---
#28 0x0810f0ef in current_interp_command_loop () at interps.c:278
#29 0x0807d1db in captured_command_loop (data=0x0) at .././gdb/main.c:101
#30 0x0810eae3 in catch_errors (func=0x807d1d0 <captured_command_loop>, func_args=0x0, errstring=0x822806e "",
mask=6) at exceptions.c:515
#31 0x0807d934 in captured_main (data=0xbf922ca4) at .././gdb/main.c:834
#32 0x0810eae3 in catch_errors (func=0x807d210 <captured_main>, func_args=0xbf922ca4, errstring=0x822806e "",
mask=6) at exceptions.c:515
#33 0x0807d1c1 in gdb_main (args=0xbf922ca4) at .././gdb/main.c:843
#34 0x0807d185 in main (argc=Cannot access memory at address 0x31ec
) at gdb.c:35