httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: Recent perl-frameworks broke 1.3 testing..?
Date Thu, 03 Jan 2002 05:22:16 GMT

> Sorry I'm not using that (or whatever it
> was) script, Stas, but it doesn't appear to be part of
> the httpd-test repository.  Apologies also for not being
> much help in debugging these things, but I just can't
> trace my way through the Deep Magic variety of Perl
> used here..

It's moved. Now it's autogenerated and named t/REPORT.

Whenever you have a hanging problem in Perl, the solution is very 
simple. Put into your code this:

   use Carp ();
   $SIG{'USR2'} = sub {
      Carp::confess("caught SIGUSR2!");

and then kill the process with:

% kill -USR2 PID

And the printed trace will tell you exactly where the code hangs.

Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker      mod_perl Guide

View raw message