Gerald Richter wrote:
Some time ago there was a patch for Apache 2.2 on the mailing list.
You should be able to find it in the archives.
Thanks Gerald for your replay. I found and applied the patch.
Now it gives "Segmentation fault". I checked PHP and Mason
web applications.
They are working fine. The problem only with Embperl.
Are you able to let it run under gdb and send me a stackbacktrace?
This is the stackbacktrace:
----------- START -------------
#0 0x00243350 in apr_table_get () from /usr/lib/libapr-1.so.0
#1 0x02a96c83 in embperl_GetApacheReqParam (pApp=0x87ab224,
pPool=0x96de8ac, r=0x96d4718, pParam=0x96de918) at mod_embperl.c:1165
#2 0x02a69048 in embperl_SetupRequest (my_perl=0x93274f0,
pApacheReqSV=0x95ffd28, pApp=0x87ab224, pApacheCfg=0x0,
pPerlParam=0x0, ppReq=0xbff546ec) at epinit.c:1408
#3 0x02a6b7eb in embperl_InitRequest (my_perl=0x93274f0,
pApacheReqSV=0x95ffd28, pPerlParam=0x0, ppReq=0xbff54758)
at epinit.c:2216
#4 0x02a6bd88 in embperl_InitRequestComponent (my_perl=0x0,
pApacheReqSV=0x95ffd28, pPerlParam=0x0, ppReq=0xbff54758)
at epinit.c:2292
#5 0x02a58d8a in embperl_ExecuteRequest (my_perl=0x93274f0,
pApacheReqSV=0x95ffd28, pPerlParam=0x0) at epmain.c:1453
#6 0x02a4c634 in XS_Embperl__Req_ExecuteRequest (my_perl=0x93274f0,
cv=0x8702e50) at Embperl.xs:125
#7 0x06a3fefd in Perl_pp_entersub () from
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
#8 0x06a393cf in Perl_runops_standard () from
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
#9 0x069d9c7e in Perl_magicname () from
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
#10 0x069de3c6 in Perl_call_sv () from
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
#11 0x007390ff in modperl_callback () from /etc/httpd/modules/mod_perl.so
#12 0x007397fa in modperl_callback_run_handlers () from
/etc/httpd/modules/mod_perl.so
#13 0x00739e6a in modperl_callback_per_dir () from
/etc/httpd/modules/mod_perl.so
#14 0x00732fcf in modperl_response_init () from
/etc/httpd/modules/mod_perl.so
#15 0x0073319b in modperl_response_handler_cgi () from
/etc/httpd/modules/mod_perl.so
#16 0x008f8fbd in ap_run_handler () from /usr/sbin/httpd
#17 0x008fc958 in ap_invoke_handler () from /usr/sbin/httpd
#18 0x00908811 in ap_process_request () from /usr/sbin/httpd
#19 0x0090562f in ap_register_input_filter () from /usr/sbin/httpd
#20 0x00900e5d in ap_run_process_connection () from /usr/sbin/httpd
#21 0x00900f5c in ap_process_connection () from /usr/sbin/httpd
#22 0x0090cae2 in ap_graceful_stop_signalled () from /usr/sbin/httpd
#23 0x0090cd54 in ap_graceful_stop_signalled () from /usr/sbin/httpd
#24 0x0090dc69 in ap_mpm_run () from /usr/sbin/httpd
#25 0x008e4917 in main () from /usr/sbin/httpd
------------ END ----------------
If yes, please compile Embperl with
perl Makefile.PL debug
make install
Gerald
** Virus checked by BB-5000 Mailfilter **
--
Best regards,
Michael Stepanov
Senior Software Developer
PrimeTel Ltd
Tel: +357 25-867154
Email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]