Best way to debug memory corruptionI think I have got similar problems. I'm thinking of using valgrind for that, If you could share you...