perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: [mp2] segfaults with Apache::Reload
Date Tue, 22 Mar 2005 00:23:28 GMT
And this version:

package Apache::Handler;

use strict;
use warnings;

use Apache::Const 'OK';

sub handler {
     print "a";
     return OK;


has a problem:

[Mon Mar 21 19:22:10 2005] [error] [client] Undefined subroutine 
called at 

line 10.

Apache::Reload: Checking mtime of Apache/
[Mon Mar 21 19:22:11 2005] [error] [client] Attempt to free 
unreferenced scalar: SV 0x8172970, Perl interpreter: 0x821a458 at 

line 157.

Looks like one problem due to the imported OK and another with modperl not 
knowing where the compiled handler has gone, as A-R has wiped it out.

Philippe, care to look at those?

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message