The case of the string being copied from a mysterious pointer to invalid memory Using AppVerifier to deduce the heap allocation history. Click here to read the article