in reply to segmentation fault

Perhaps you can reproduce a batch run which will lead to a segmentation fault.

Then let your script start a strace on its own pid and write output to whatever logfile

exec "strace -p$$ >/whatever/logfile";

Don't know if it works. Just an idea.

RL

Replies are listed 'Best First'.
Re^2: segmentation fault
by Pstack (Scribe) on May 05, 2007 at 23:57 UTC
    And another good idea too, thanks. I have no experience with strace either, but might be worth a try. Cheers.

    Pstack