More information on segfault (apache-1.3.20, mod_perl 1.26_01, perl
5.6.0
[default RedHat 7.0 installation of Perl plus modules]). I've compiled
in
tracing and now at least pinpoint the command that's causing the problem
(yes, I have mod_ssl-2.8.4-1.3.20 compiled in as well):
SVt_PV: $SSLPassPhraseDialog =
`'exec:/usr/local/sbin/echo-server-privkey-password''
handle_command (SSLPassPhraseDialog
'exec:/usr/local/sbin/echo-server-privkey-password'): OK
Program received signal SIGSEGV, Segmentation fault.
0x81fe1d2 in Perl_sv_free ()
(gdb) bt
#0 0x81fe1d2 in Perl_sv_free ()
#1 0x81d5e84 in Perl_cv_undef ()
#2 0x80acba9 in perl_clear_symtab ()
#3 0x80ad38f in perl_section ()
#4 0x818cdf8 in invoke_cmd ()
#5 0x818d90e in ap_handle_command ()
#6 0x818d9a1 in ap_srm_command_loop ()
#7 0x818e00e in ap_process_resource_config ()
#8 0x818e943 in ap_read_config ()
#9 0x8198670 in standalone_main ()
#10 0x8198fab in main ()
#11 0x402f4b5c in __libc_start_main (main=0x8198bf8 <main>, argc=4,
ubp_av=0xbffff9c4, init=0x807d5d8 <_init>, fini=0x8235950 <_fini>,
rtld_fini=0x4000d634 <_dl_fini>, stack_end=0xbffff9bc)
at ../sysdeps/generic/libc-start.c:129
All this tells me is that the error is occurring after all the
handle_command() calls are finished (SSLPassPhraseDialog is the
last one to be executed; if I remove the $SSLPassPhraseDialog =
statement it and put it outside a <Perl> section, then the seg-
fault happens anyway - after the last command gets handled).
--
Richard Goerwitz [EMAIL PROTECTED]
tel: 401 438 8978