Stas Bekman wrote: >Stas Bekman wrote: > > >>Steve Hay wrote: >> >> >> >>>Stas Bekman wrote: >>> >>> >>> >>>>Also, can you please get the trace, after commenting out all the >>>>irrelevant config from httpd.conf, leaving only the config needed to >>>>reproduce the problem? It'll make the trace much more useful. Thanks >>>>Steve. >>>> >>>> >>> >>>I've reduced the httpd.conf file to just this (!):- >>> >>>===== >>>LoadModule perl_module C:/Temp/modperl-2.0/src/modules/perl/mod_perl.so >>>ServerName localhost:8529 >>>Listen 8529 >>>ServerRoot C:/Temp/modperl-2.0/t >>>DocumentRoot C:/Temp/modperl-2.0/t/htdocs >>>LogLevel debug >>>PerlSwitches -IC:/Temp/modperl-2.0/Apache-Test/lib >>>PerlSwitches -IC:/Temp/modperl-2.0/blib/lib >>>PerlSwitches -IC:/Temp/modperl-2.0/blib/arch >>>PerlSwitches -IC:/Temp/modperl-2.0/t/response >>>Listen 8542 >>><VirtualHost _default_:8542> >>> PerlOptions +Parent >>></Virtualhost> >>>PerlLoadModule TestDirective::perlloadmodule >>>===== >>> >>>The server still crashes on startup, even when started with the "-t" >>>switch. Attached is a trace (MOD_PERL_TRACE=all) of it crashing with >>>this minimal configuration. >>> >>>If I move the "PerlLoadModule TestDirective::perlloadmodule" line to >>>above the <VirtualHost> then the "-t" test passes OK (the only output >>>is "syntax OK"). The server still doesn't start, though -- without >>>the "-t" switch it crashes in the same way as before (i.e. the "Free >>>to wrong pool" error). Here's the (much shorter) stacktrace from that >>>crash: >>> >>> >>The good news is that with the short config you posted above, I'm now >>able to reproduce the segfault, though a totally different one (in >>PerlLoadModule as well). I hope that the two have the same origin. >> >> > >Steve, Randy, what's the status with this +Parent issue. I was carried away >with other issues and now that I come back I no longer can reproduce the >problem, which I seemed to 3 months ago. Do things any different with the >current mod_perl cvs? > I've just tried it with the current CVS and still get the old "Free to wrong pool" error:
=====
C:\Temp\modperl-2.0>C:\apache2\bin\Apache.exe -t -d
C:/Temp/modperl-2.0/t -f C:/Temp/modperl-2.0/t/conf/httpd.conf.short
-DAPACHE2 -DPERL_USEITHREADS
Free to wrong pool 262828 not 863270.
Note the errors or messages above, and press the <ESC> key to exit. 30...
=====
Attached is a .tar.gz of the three files that I added which comprise the
vhost tests, just so that we can be clear about what I'm testing here.
I used a different httpd.conf.short file to the one quoted above:
=====
LoadModule perl_module C:\Temp\modperl-2.0\src\modules\perl\mod_perl.so
ServerName localhost:8529
Listen 8529
ServerRoot C:/Temp/modperl-2.0/t
DocumentRoot C:/Temp/modperl-2.0/t/htdocs
LogLevel debug
Listen 8530
<VirtualHost _default_:8530>
PerlSwitches -IC:/Temp/modperl-2.0/Apache-Test/lib
PerlSwitches -IC:/Temp/modperl-2.0/blib/lib
PerlSwitches -IC:/Temp/modperl-2.0/blib/arch
PerlOptions +Parent
<Perl >
1;
</Perl>
</VirtualHost>
=====
I think this conf file was produced a little later in the thread; it
simplifies things even further by omitting the
TestDirective::perlloadmodule bit.
This is all now using Apache 2.0.48 and Perl 5.8.2.
- Steve
------------------------------------------------
Radan Computational Ltd.
The information contained in this message and any files transmitted with it are
confidential and intended for the addressee(s) only. If you have received this
message in error or there are any problems, please notify the sender immediately. The
unauthorized use, disclosure, copying or alteration of this message is strictly
forbidden. Note that any views or opinions presented in this email are solely those
of the author and do not necessarily represent those of Radan Computational Ltd. The
recipient(s) of this message should check it and any attached files for viruses: Radan
Computational will accept no liability for any damage caused by any virus transmitted
by this email.
mp2vhost.tar.gz
Description: GNU Zip compressed data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
