Nathan Byrd wrote:

Actually, it was easier than I thought to come up with a stripped down
version - it can be done without Apache::PAR or PAR at all - it appears
to be happening with any PerlModule coming from an add_config().  The
following code generates the same segfault for me:

In startup.pl:

use lib qw(/usr/local/apache2/lib);
use Apache::ServerUtil;
my $conf = "
PerlModule TestMod
<Location /test/module>
  SetHandler perl-script
  PerlHandler TestMod
</Location>
";
Apache->server->add_config([split /\n/, $conf]);

It's actually was as simple as: Apache->server->add_config(["PerlModule whatever"]);

The bug was actually silly, the flag marking that mod_perl startup is done was raised too early. It's now fixed in cvs and I've also added a test.

__________________________________________________________________
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