I have attached a test program to this message, It will attempt to reproduce the problem and hopefully allow me to determine the exact cause.
When you run the program you will see a visual display of results, and a test.log will be generated in the directory you ran it from.
In your reply include the test.log or copy it into the message.
Thanks