in reply to Getting full traceback from (someone elses) XS routine

I have one more idea ;-)
PERLDB_OPTS="NonStop AutoTrace LineInfo=lines frame=1" perl -d your_sc +ript.pl
If you are lucky, the last lines hint you to the calling location. Hopefully the lines file is flushed if your script croak. I do not know.
Boris