After try {} catch {} execution, any further croak() in XS will hang after displaying die-message. I tried to use setjmp&longjmp directly after try/catch and it works ok. My perl is strawberry perl 5.20.1. Test XS module attached. Just "dmake test" and you'll see. -- Oleg Pronin, CTO, Co-Founder, Crazy Panda LTD CP Decision LTDThread Next