Re: FW: Setup Question
| From: | Rasmus Lerdorf | Date: | Tue, 26 Jun 2001 22:53:08 +0000 |
| Subject: | Re: FW: Setup Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55295@lists.php.net to get a copy of this message | ||
> bash-2.04# gdb /usr/local/apache/bin/httpd
> (gdb) run -X
> Starting program: /usr/local/apache/bin/httpd -X
> warning: Unable to find dynamic linker breakpoint function.
> GDB will be unable to debug shared library initializers
> and track explicitly loaded dynamic code.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x401fa9d0 in ?? ()
> (gdb) bt
> #0 0x401fa9d0 in ?? ()
> #1 0x401fab24 in ?? ()
> #2 0x8098103 in ap_invoke_handler ()
> #3 0x80abac9 in process_request_internal ()
> #4 0x80abb28 in ap_process_request ()
> #5 0x80a31e5 in child_main ()
> #6 0x80a3378 in make_child ()
> #7 0x80a34d3 in startup_children ()
> #8 0x80a3b08 in standalone_main ()
> #9 0x80a4287 in main ()
> #10 0x400cf577 in __libc_start_main () from /lib/libc.so.6
> (gdb)
>
>
> ANY HELP would be appreciated, I wasn't able to find anything in the
> archives.
What was your ./configure line? And to get a decent backtrace, try
compiling using --enable-debug and build a static module using
--with-apache instead of --with-apxs since your gdb doesn't seem to
support debugging shared libraries.
-Rasmus