Stas Bekman wrote:
Geoff, looks like I'm a bit stuck with 5.8.1/mp2 issues. Can you please look at the following problem in the mp1 test suite which happens with 5.8.0 and higher (probably not a showstopper for 5.8.1, but still quite important).

The problem is caused by modules/symbol.t which calls t/net/perl/sym.pl, which does:

delete $Apache::Registry->{+__PACKAGE__};

this causes the failure of internal/http-get and internal/http-post tests. They fails because t/net/perl/test calls exit and it can't find Apache::exit because of the above delete call in t/net/perl/sym.pl

this workaround "solves" the problem:

     else {
-       exit;
-       die "shouldn't get this far!\n";
+        warn "running exit\n";
+       #exit;
+       #die "shouldn't get this far!\n";
     }

but it's not right, need to check why delete $Apache::Registry->{+__PACKAGE__}; causes this problem in first place.

I spent quite a lot of time trying to figure out what's going on, and at the end I've found the cause: 'delete $Apache::Registry->{+__PACKAGE__};' nukes __PACKAGE__::exit which somehow affects the real Apache::exit and loses the XSUB entry (Apache::Status was very helpful to debug this). I don't know why this happens, so I just committed a workaround which reloads Apache.pm, which reinstalls XSUB for Apache::exit. It'd be nice if someone would figure out what is really going on and whether it's a bug in perl.


__________________________________________________________________
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