perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: make test hangs
Date Wed, 05 May 2004 18:12:49 GMT
William Fulmer wrote:
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
>  
>   Following your suggestion I added the signal handler for USR2 and
> found that any test containing the following line hangs:
>  
> my $mtime = (stat __FILE__)[9];
>  
> This same snippet of code works fine in regular perl programs.  I put
> in a print statement to verify that __FILE__ has the value you would
> expect (which is does namely the pm for the currently running test). 
> Any more thoughts?

Excellent. Glad to hear that that technique worked.

That code works fine on linux. So what I'd suggest next is to strace/tusc the 
process, as you did in first place, but this time make sure that you have only 
one process, i.e. start apache with httpd -DONE_PROCESS -DNO_DETATCH.


-- 
__________________________________________________________________
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