Re: Bug(?) in mod_perl-2 RC3

[prev] [thread] [next] [Date index for 2005/01/10]

From: Stas Bekman
Subject: Re: Bug(?) in mod_perl-2 RC3
Date: 22:24 on 10 Jan 2005
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:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

(message missing)

Missing symbol: mod_perl2-RC3
Lack Mr G M 16:31 on 06 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Stas Bekman 16:53 on 06 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Gordon Lack 18:42 on 06 Jan 2005

Bug(?) in mod_perl-2 RC3
Gordon Lack 19:16 on 06 Jan 2005

Re: Bug(?) in mod_perl-2 RC3
Stas Bekman 16:36 on 10 Jan 2005

Re: Bug(?) in mod_perl-2 RC3
Gordon Lack 18:04 on 10 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Stas Bekman 16:40 on 10 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Gordon Lack 18:10 on 10 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Gordon Lack 18:31 on 10 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Stas Bekman 21:57 on 10 Jan 2005

Re: Bug(?) in mod_perl-2 RC3
Stas Bekman 22:24 on 10 Jan 2005

Generated at 11:30 on 23 Feb 2005 by mariachi v0.52