Hi,
At 18/05/2005 10:03 (), Gerald Richter wrote:
Hi, > > I am using Apache-2.0.54 (prefork), Mod_Perl-2.0.0-RC6, and > Embperl CVS version checked out on 12th May. > > Getting "child pid 25462 exit signal Segmentation fault (11)" > > If I put "use Embperl ;" into startup.pl the segfaults > vanishes, but in that case the fdat becomes empty. >
For Embperl 2 you also need a
LoadModule embperl_module ....
In your httpd.conf. Did you do so?
Gerald
There is no behavior changes even if I put "LoadModule embperl_module..." in the httpd.conf. The behavior is same even if I compile EmbPerl with or without mod_perl support, but in both case the Execute is called from a modperl script.
Moreover, when I compile EmbPerl with mod_perl support the make test fails:
...
...
...
Testing mod_perl mode... #0 ascii... ok
#1 pure.htm... ok
#2 nooutput.htm... ok
#3 nooutput.htm... ok
#4 plain.htm... ok
#5 plain.htm... ok
#6 plain.htm... ok
#7 plainblock.htm... ok
#8 plainblock.htm... ok
#12 error.htm... ok
#13 error.htm... ok
#14 error.htm... ok
#21 errormismatch.htm... ok
#22 errormismatchcmd.htm... ok
#23 unclosed.htm... ok
#24 notfound.htm... ok
#25 notallow.xhtm... ok
#28 errdoc/errdoc.htm... ok
#30 errdoc/epl/errdoc2.htm... ok
#31 rawinput/rawinput.htm... ok
#32 var.htm... ok
#37 varerr.htm... ok
#40 varepvar.htm... ok
#41 escape.htm... ok
#42 escape.htm... ok
#45 tagscan.htm... ok
#46 tagscan.htm-d 1 ... ok
#48 if.htm... ok
#49 ifperl.htm... ok
#50 loop.htm... ok
#51 loopperl.htm... ok
#52 table.htm... ok
#53 table.htm-d 1 ... ok
#55 lists.htm... ok
#56 select.htm... ok
#57 selecttab.htm... ok
#58 selecttab2.htm... ok
#59 mix.htm... ok
#61 nesting.htm... ok
#62 nesting2.htm... ok
#64 object.htm... ok
#66 input.htm... ok
#67 input.htm... ok
#68 hidden.htm... ok
#69 java.htm... ok
#70 inputjava.htm... ok
#71 inputjs2.htm... ok
#72 heredoc.htm... ok
#73 epglobals.htm... ok
#74 post.htm... ok
#75 upload.htm... ok
#76 reqrec.htm... ok
#77 reqrec.htm... ok
#78 keepreq.htm... ok
#79 keepreq.htm... ok
#84 hostconfig.htm... ok
#85 hostconfig.htm... ok
#86 hostconfig.htm... ok
#87 hostconfig.htm... ok
#89 rawinput/include.htm... ok
#90 rawinput/include.htm... ok
#91 execnotfound.htm... ok
#92 includeerr1.htm... ok
#93 includeerr1.htm... ok
#95 includeerr2.htm... ok
#96 includeerr2.htm... ok
#97 includeerr3.htm... ok
#98 includeerrbt.htm... ok
#99 incif.htm... ok
#100 registry/hello.htm... ok
#101 registry/Execute.htm...[-1]Constant subroutine Apache2::RequestRec::IOBUFSIZE redefined at /usr/lib/perl5/5.8.3/constant.pm line 108.
Input: test/html/registry/Execute.htm
Output: test/tmp/out.htm
Log: test/tmp/test.log
Testparameter:
modperl = 1ERRORS detected! NOT all tests have been passed successfully
make: *** [test_dynamic] Error 1
> I am using Execute method from within mod perl scripts. > > perl.conf contains: > > <Files *.pl> > SetHandler perl-script > PerlResponseHandler ModPerl::Registry > PerlOptions +ParseHeaders > Options +ExecCGI > </Files> > > If I remove this section, i.e. execute the scripts as perl (instead of > mod_perl) then also I do not get segfaults. > > What might be wrong. > >
Thanks for the help.
Devendra Singh
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
