GPF's
There are a number of common coding problems that lead to GPF's, this is a quick summary/solution table.
Summary | GPF | Solution |
String goes out of scope or is deleted. | HEAP[Usage1.exe]: Invalid Address specified to RtlValidateHeap( 8e0000, 8c3510 ) Unhandled exception at 0x77fa144b in Usage1.exe: User breakpoint |
Linking problem See Strings and Linking |
Using a string in a printf causes GPF | Unhandled exception 0xC0000005 | Failing to de-reference string properly See Strings |