Loading ...
Sorry, an error occurred while loading the content.

Re: [mp2] 1.99_14: socket problem

Expand Messages
  • Stas Bekman
    Jie Gao wrote: [...] ... Interesting. I suppose it s because it s doing eval sub { %ENV = () } before running the code. So may be the interpolation kicks in?
    Message 1 of 18 , Jun 1, 2004
      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
      >>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@... 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
    Your message has been successfully submitted and would be delivered to recipients shortly.