Steve Hay wrote:
[...]
It then stopped complaining that it couldn't find things, and "Apache.exe -t ..." now says syntax OK, but trying to start the server still fails as before.

OK. Thanks for testing that, Steve.


modperl_mgv.c:264: package Apache::PerlSections not defined, attempting to load

Free to wrong pool 262770 not 925938.



The problems is this: perl uses dTHX; calls in some functions which disregards the passed context and retrieves the globally stored context. Which means that *every* time we select an interpreter, we must call PERL_SET_CONTEXT() and pass to it the parent interpreter of the currently used pool :(


In particular for your and mine segfaults the Perl_safesysfree() call is the one that uses dTHX and gets the wrong context at times, and then it crashes.


:(

I just saw your post on p5p, so I'll watch that to see what people say.

Doesn't seem to be an area we have many experts in. It's pretty quiet.


This short conf file is OK if I remove the "+Parent" line.

I can also "fix" it by removing the <Perl >...</Perl> section, but trying the same trick with the full vhost test setup (commenting out the appropriate add_config() call from t/htdocs/vhost/startup.pl) doesn't fix that :(

I notice that the <Perl >...</Perl> section in that startup.pl file is commented "this used to have problems on win32". Looks like it still does?



Probably it just moved to a different place. Most likely it's the same problem, I have explained above.


I also notice that the short conf file gives this syntax error if I change the <Perl > to <Perl>:

   Syntax error on line 10 of C:/Temp/modperl-2.0/t/conf/httpd.conf:
   <Perl> directive missing closing '>'



You need the current httpd cvs for <Perl> to work. Unfortunately it seems that Phillipe's fix won't make it to 2.0.48 (which should be released shortly), but only 2.0.49 :(


Oh, right. I'll have to start using CVS Apache2 as well, I think.

It actually did make it to 2.0.48. Thanks to Sander!



--



__________________________________________________________________ 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