I figured out that I have to type 'c' to make apache continue.
Just a few minutes ago it segfaulted again:

(gdb) c
Continuing.

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread -1214863680 (LWP 18890)]
0xb7b27d93 in writev () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb7b27d93 in writev () from /lib/tls/libc.so.6
#1  0xb7c31476 in apr_socket_sendv () from /usr/lib/libapr-0.so.0
#2  0xb7c31932 in apr_sendv () from /usr/lib/libapr-0.so.0
#3  0x0808e82c in ap_add_output_filters_by_type ()
#4  0x0808fca7 in ap_core_translate ()
#5  0xb77c90ea in ssl_init_ModuleKill () from 
/usr/lib/apache2/modules/mod_ssl.so
#6  0xb77c9248 in ssl_init_ModuleKill () from 
/usr/lib/apache2/modules/mod_ssl.so
#7  0xb7e33193 in BIO_write () from /usr/lib/i686/cmov/libcrypto.so.0.9.8
#8  0xb7ef42db in ssl3_write_pending () from /usr/lib/i686/cmov/libssl.so.0.9.8
#9  0xb7ef4583 in ssl3_write_pending () from /usr/lib/i686/cmov/libssl.so.0.9.8
#10 0xb7ef4750 in ssl3_write_bytes () from /usr/lib/i686/cmov/libssl.so.0.9.8
#11 0xb7ef29b2 in ssl3_write () from /usr/lib/i686/cmov/libssl.so.0.9.8
#12 0xb7f025c9 in SSL_write () from /usr/lib/i686/cmov/libssl.so.0.9.8
#13 0xb77ca671 in ssl_init_ModuleKill () from 
/usr/lib/apache2/modules/mod_ssl.so
#14 0x0808a141 in ap_content_length_filter ()
#15 0xb793cab7 in modperl_wbucket_write () from 
/usr/lib/apache2/modules/mod_perl.so
#16 0xb7510f12 in XS_Apache2__RequestRec_print () from 
/usr/lib/perl5/auto/Apache2/RequestIO/RequestIO.so
#17 0xb787f71b in Perl_pp_entersub () from /usr/lib/libperl.so.5.8
#18 0xb7877989 in Perl_runops_standard () from /usr/lib/libperl.so.5.8
#19 0xb78162cd in Perl_get_cv () from /usr/lib/libperl.so.5.8
#20 0xb781a065 in Perl_call_sv () from /usr/lib/libperl.so.5.8
#21 0xb7934250 in modperl_callback () from /usr/lib/apache2/modules/mod_perl.so
#22 0xb7934b3b in modperl_callback_run_handlers () from 
/usr/lib/apache2/modules/mod_perl.so
#23 0xb7934e13 in modperl_callback_per_dir () from 
/usr/lib/apache2/modules/mod_perl.so
#24 0xb792f000 in modperl_response_finish () from 
/usr/lib/apache2/modules/mod_perl.so
#25 0xb792f10b in modperl_response_handler () from 
/usr/lib/apache2/modules/mod_perl.so
#26 0x08079045 in ap_run_handler ()
#27 0x08079481 in ap_invoke_handler ()
#28 0x0806a558 in ap_process_request ()
#29 0x08065218 in _start ()

-Alex


-----Original Message-----
From: Hartmaier Alexander [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 2:40 PM
To: embperl@perl.apache.org
Subject: RE: Fixed! Re: Intermittent Segfaults

As soon as I attach gdb to the apache2 process the embperl page stops working.
When I detach gdb it gets working again.
Never used gdb before, maybe I'm doing something wrong.

Someone on IRC pointed me to http://valgrind.org
Maybe that helps you debugging the problem.

-Alex


-----Original Message-----
From: Gerald Richter [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 07, 2006 9:01 PM
To: Hartmaier Alexander; embperl@perl.apache.org
Subject: RE: Fixed! Re: Intermittent Segfaults

> > 
> > I have compiled and installed with the debug switch, how do 
> i get the 
> > stack backtrace now?
> > 
> 
The easiest is to start httpd with the -X option, then it 
will only start one process, then you attach with gdb to 
process (like gdb /path/to/httpd <pid_of_httpd>), do the 
request and when you get the sigsegv report from gdb, you 
type bt to get the stackbacktrace

Gerald



 
** Virus checked by BB-5000 Mailfilter ** 



*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH
Rennweg 97-99, 1030 Wien
Telefon +43 (0)57057 0, Telefax +43 (0)57057 8155
Bank Austria AG, BLZ 12000, Kto. 233-111-674/00, IBAN AT291200023311167400
Handelsgericht Wien, FN 79340b � DVR Nr. 0713520 � ARA-Lizenz Nr. 12554
ATU 15169001

*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Hinweis: Dieses E-mail kann vertrauliche und geschuetzte Informationen 
enthalten.
Sollten Sie nicht der beabsichtigte Empfaenger sein, verstaendigen Sie bitte 
den Absender und loeschen Sie dieses E-mail dann sofort.

Notice: This e-mail contains information that is confidential and may be 
privileged.
If you are not the intended recipient, please notify the sender and then delete 
this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*

Reply via email to