Gordon Lack wrote:
Wow, irix. It's a first time I see anybody trying modperl on it.
Really? I've had it running v1.25 on Apache1.3.x for years.
Sorry, I meant to say mp2.
Can you identify where the process spins? e.g. try the technique explained in: 21.7.4.1. Using the Perl trace http://modperlbook.org/html/ch21_07.html or some tracing tool.
any difference if you put an eval {} block around that line?
Well, I doubt it will make much difference given that it was reported for a different script.
It all seems to be pointing to issues around (non-)blocking sockets? The echo_block and echo_filter tests both refer to fixes on Apache2.0.52 for Open/NetBSD here.
Anyway - here's what you requested (after adding t/conf/modperl_extra.pl):
[...]
Book::Startup::__ANON__('USR2') called at /local/GML/Apache2/mod_perl-2.0.0-RC3/t/protocol/TestProtocol/echo_filter.pm line 22 eval {...} called at /local/GML/Apache2/mod_perl-2.0.0-RC3/t/protocol/TestProtocol/echo_filter.pm line 22
so it spins in the filter? Blocking? Or running it like mad? you can run: http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlTrace_
MOD_PERL_TRACE=f t/TEST t/protocol/echo_block t/protocol/echo_filter
(see the URL above how to get the tracing going). That may give you some better ideas of what's going on underneath and where it spins.
Debugging by proxy is a way too frustrating, so if you could try to debug yourself, I'll gladly answer any questions you may need to ask to get yourself going.
I'd start with taking those tests out of the modperl suite, and putting them into a dedicated test-case - that will make things faster and easier to debug. You do that by copying (.pm|.t) files into:
http://perl.apache.org/~geoff/bug-reporting-skeleton-mp2.tar.gz
-- __________________________________________________________________ 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