I am attempting to debug a SIGSEGV on PHP on my Ubuntu 9.10.
I've installed php5-dbg
to have the debug symbols available, however, when I start gdb, it shows the following output:
Reading symbols from /usr/bin/php...
Reading symbols from /usr/lib/debug/usr/bin/php5...done.
(no debugging symbols found)...done.
Any ideas are welcome.
Under certain situations, the
-dbg
packages don't work correctly. Instead, try the-dbgsym
packages, available from the separate "debug symbols" repository:https://wiki.ubuntu.com/DebuggingProgramCrash
However, when trying this locally with Ubuntu 9.10, I have no problem loading symbols using the existing
php5-dbg
package. Perhaps make sure you have the latest updates installed first, and then try it?As an example: