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.


The bad news is that I wasn't able to figure out what's going on yet, as it segfaults deep inside perl core. I'll keep working on it.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to