perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
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     mod_perl Guide --->

Report problems:
Mail list info:
List etiquette:

View raw message