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
In reply to Re: segmentation fault
by RL
in thread segmentation fault
by Pstack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |