> > It's crashing and some of the variables are getting corrupted along > the way. > Strange. Can anyone who might know why have a look and see if they > can spot > the problem=3F I played a bit with the test program, perhaps these findings help you: - it doesn't matter how many threads you are starting (it also crashes with only one thread) - the threads crash when they return - they don't crash anymore, when you have more than 224 loops: with up to 223 loops, they will always crash, with 224 and more loops, they never crash - 100% reproducible. Adios... Axel.