Fix general protection error, unlocking an unlocked mutex.