in reply to Re^2: Crahes due to threads.in thread Crahes due to threads.
Try running your script with a non-cygwin perl.