Debugging Critical Section lockups