This may or may not help: According to VC++ debugger it always dies with: Unhandled exception at 0x610d089d in perl.exe: 0xC0000005: Access violation reading location 0x00000004.
According to gdb 0x610d089d = thread.cc:113 So running it through gdb it hits this break point ~ 280 times before it exits: [gdb] Breakpoint 1, pthread_setspecific (key=0x19e9e88, value=0x19e9768) at /netrel/src/cygwin-snapshot-20090711-1/winsup/cygwin/thread.cc:113 113 if ((*object)->magic != magic) (gdb) 307 ~myfault () __attribute__ ((always_inline)) { _my_tls.reset_fault (sebastian); } (gdb) 285 andreas._myfault = old_j._myfault; (gdb) 307 ~myfault () __attribute__ ((always_inline)) { _my_tls.reset_fault (sebastian); } (gdb) 285 andreas._myfault = old_j._myfault; (gdb) 286 andreas._myfault_errno = old_j._myfault_errno; (gdb) 209 int set (const void *value) {TlsSetValue (tls_index, (void *) value); return 0;} (gdb) 2259 } (gdb) 0x610b3108 in _sigbe () from /usr/bin/cygwin1.dll (gdb) Single stepping until exit from function _sigbe, which has no line number information. 0x6ce32ea3 in XS_threads_create () from /usr/lib/perl5/5.10/i686-cygwin/auto/threads/threads.dll (gdb) Single stepping until exit from function XS_threads_create, which has no line number information. Program exited with code 030000000005. [/gdb] -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple