We've been getting many segv's and bus errors on apache processes since
adding modperl.  Env: Apache 1.3.11 (though we had the same thing
under 1.3.9.), Perl 5.005003, modperl 1.21, hpux 11.00.

At first most of the failures were coming within visit() during what looks
to be clean up of children.  PerlFreshRestart is Off.  I added
    PerlSetEnv PERL_DESTRUCT_LEVEL -1
and that seemed to get rid of many of those though this seems like a less
than optimal solution and I'd like to better understand what the real
issue is here.

Moreover, we still see a number of failures.  Many seem to occur in __errno.

(gdb) bt
#0  0xc01ecb88 in kill () from /usr/lib/libc.2
#1  0x769c8 in sig_coredump () from /usr/local/alpha/apache/bin/httpd
#2  <signal handler called>
#3  0xc0179214 in __errno () from /usr/lib/libc.2
#4  0xc01751bc in free () from /usr/lib/libc.2
#5  0x10013c in Perl_safefree () from /usr/local/alpha/apache/bin/httpd
#6  0x112248 in Perl_sv_clear () from /usr/local/alpha/apache/bin/httpd
#7  0x112478 in Perl_sv_free () from /usr/local/alpha/apache/bin/httpd
#8  0x10b71c in Perl_av_clear () from /usr/local/alpha/apache/bin/httpd
#9  0x118d18 in Perl_leave_scope () from /usr/local/alpha/apache/bin/httpd
#10 0x116b3c in Perl_pop_scope () from /usr/local/alpha/apache/bin/httpd
#11 0x11e734 in Perl_pp_return () from /usr/local/alpha/apache/bin/httpd
#12 0x12fa18 in Perl_runops_standard () from /usr/local/alpha/apache/bin/httpd
#13 0xd9904 in perl_call_sv () from /usr/local/alpha/apache/bin/httpd
#14 0x3c5d8 in perl_call_handler () from /usr/local/alpha/apache/bin/httpd
#15 0x3bbe0 in perl_run_stacked_handlers () from /usr/local/alpha/apache/bin/httpd
#16 0x3a320 in perl_handler () from /usr/local/alpha/apache/bin/httpd
#17 0x647ac in ap_invoke_handler () from /usr/local/alpha/apache/bin/httpd
#18 0x89404 in process_request_internal () from /usr/local/alpha/apache/bin/httpd
#19 0x894f4 in ap_process_request () from /usr/local/alpha/apache/bin/httpd
#20 0x79c38 in child_main () from /usr/local/alpha/apache/bin/httpd
#21 0x7a1cc in make_child () from /usr/local/alpha/apache/bin/httpd
#22 0x7a6ec in perform_idle_server_maintenance () from 
/usr/local/alpha/apache/bin/httpd
#23 0x7b0c4 in standalone_main () from /usr/local/alpha/apache/bin/httpd
#24 0x7be48 in main () from /usr/local/alpha/apache/bin/httpd

This is a signficant concern for us, both understanding why modperl cores
at all and why it still happening in the current configuration.

If anyone can shed any light on this, I'd appreciate it.

Reply via email to