I need help debugging apache with gdb (no debugging symbols found)

Posted by blockhead on Server Fault See other posts from Server Fault or by blockhead
Published on 2010-03-19T15:51:37Z Indexed on 2010/03/19 16:01 UTC
Read the original article Hit count: 1204

Filed under:
|
|

I'm trying to debug a segfault in PHP/Apache running on RHEL4.

This is a production server, so I'm trying to install a separate copy of apache and php, and run apache through gdb.

When I load httpd through gdb and then do run -X, I get the error (no debugging symbols found)...Error while reading shared library symbols: Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.

The Apache manual says something about setting EXTRA_CFLAGS to "-g", and i've tried configuring with --enable-maintainer-mode, but I don't seem to be getting far.

© Server Fault or respective owner

Related posts about apache

Related posts about debugging