Skip to main content
Improves post formatting
Source Link
kenorb
  • 7.2k
  • 2
  • 49
  • 58

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 apacheApache and phpPHP, and run apache through gdbgdb.

When I load httpdhttpd through gdbgdb 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.:

(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"-g, and i'veI've tried configuring with --enable-maintainer-mode--enable-maintainer-mode, but I don't seem to be getting far.

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.

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.

Source Link
blockhead
  • 911
  • 1
  • 8
  • 13

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

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.