10/03/10 16:29:58 dB7DcIH4
$ gdb php
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <URLリンク(gnu.org)
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-linux-gnu".
For bug reporting instructions, please see:
<URLリンク(www.gnu.org)
Reading symbols from /usr/bin/php...(no debugging symbols found)...done.
(gdb) run -f getepg.php
Starting program: /usr/bin/php -f getepg.php
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffefaa9910 (LWP 12841)]
[Thread 0x7fffefaa9910 (LWP 12841) exited]
*** buffer overflow detected ***: /usr/local/bin/epgdump terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7ffff7b67647]
/lib/libc.so.6[0x7ffff7b665f0]
/usr/local/bin/epgdump[0x403b47]
/usr/local/bin/epgdump[0x4010d0]
/usr/local/bin/epgdump[0x40163b]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7ffff7a8eabd]
/usr/local/bin/epgdump[0x400ed9]
======= Memory map: ========
epgdump が古いのかな!?