--On Wednesday, June 15, 2005 12:08 PM -0700 Justin Mason <[EMAIL PROTECTED]> wrote:

try setting signal handling to "unsafe" (ie. allow sigs to interrupt
ongoing OP calls) --

    export PERL_SIGNALS=unsafe

that may help getting a decent stack trace.

Okay, thanks, I'll try that.

(ps: anyone got a code snippet for the SIGUSR2-gives-stack-trace trick?
that sounds very useful.)

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

use Carp above that, blah, blah, blah.

Seems to work when the process isn't wonky.  -- justin

Reply via email to