perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp2] 1.99_14: socket problem
Date Tue, 01 Jun 2004 07:14:21 GMT
Jie Gao wrote:
[...]
>>[Sat May 29 21:43:08 2004] [error] [client 129.xxx.xxx.xxx] Undefined subroutine main::129.xxx.xxx.xxx
called at
>>-e
>>line 0\n
>>
>>Looks definitely like %ENV problem, although it only shows in the error_log.
> 
> 
> I've found what caused this. The culprit seems to be this sub in my httpd.conf:
> 
>     PerlCleanupHandler "sub { %ENV = () }"
> 
> I commented out and the error went away.

Interesting. I suppose it's because it's doing eval "sub { %ENV = () }" before 
running the code. So may be the interpolation kicks in?

> ModPerl::EazyLife actually causes segmentation fault.

It's quite possible. It was a work in progress, but wasn't quite finished. 
Feel free to improve it further and when it works, replace Apache::porting 
guts with it.

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

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message