$ gdb /bin/dd GNU gdb 6.4-debian Copyright 2005 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 "i486-linux-gnu"...(no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) run if=/dev/zero of=/dev/null bs=1024 count=10 Starting program: /bin/dd if=/dev/zero of=/dev/null bs=1024 count=10 (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1208198944 (LWP 9071)] (no debugging symbols found) 10+0 records in 10+0 records out Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208198944 (LWP 9071)] 0x4730d2a3 in strlen () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt #0 0x4730d2a3 in strlen () from /lib/tls/i686/cmov/libc.so.6 #1 0x472e12e4 in vfprintf () from /lib/tls/i686/cmov/libc.so.6 #2 0x472ddd7c in cuserid () from /lib/tls/i686/cmov/libc.so.6 #3 0x472ddfbb in vfprintf () from /lib/tls/i686/cmov/libc.so.6 #4 0x472e66af in fprintf () from /lib/tls/i686/cmov/libc.so.6 #5 0x080497b2 in ?? () #6 0x473cdf80 in _IO_list_all () from /lib/tls/i686/cmov/libc.so.6 #7 0xb7eb1f46 in ?? () #8 0x00002800 in ?? () #9 0x00000000 in ?? ()