Alan Knowles wrote:
>
> Have we got any generic - how to debug segfaults??
>
> Assuming you have compiled from source (most packages strip the debugging
> info)
> apachectl apache stop
> or
> /etc/rc.d/init.d/apache stop
>
> gdb /usr/bin/apache (or wherever apache is)
> %run -X
>
> go to the page cause the segfault.
>
> gdb will report apache segfaulted
> %bt
> Send the output to the mailing list...
>
> hope this helps..
> regards
>
> alan
>
Output:
**************************************
#0 0x001f57c0 in strcmp () from /lib/libc.so.6
#1 0x003aff42 in ?? ()
#2 0x003b373c in ?? ()
#3 0x003b3e1f in ?? ()
#4 0x08056069 in ap_invoke_handler ()
#5 0x0806b29f in ap_some_auth_required ()
#6 0x0806b706 in ap_internal_redirect ()
#7 0x0806ab9e in ap_die ()
#8 0x0806ac48 in ap_die ()
#9 0x0806ada6 in ap_some_auth_required ()
#10 0x0806b306 in ap_process_request ()
#11 0x080622a8 in ap_child_terminate ()
#12 0x080624ad in ap_child_termintae ()
#13 0x0806262c in ap_child_terminate ()
#14 0x08062c8d in ap_child_terminate ()
#15 0x080634ec in main ()
#16 0x0019cb4a in __libc_start_main () from /lib/libc.so.6
***************************************
--
Pozdrawiam
Rogaty
[EMAIL PROTECTED]
ICQ: 24293787
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]