Hi,
Invalid Page Faults are hard to debug. Especially if they only happens in release configuration. One technique that I find useful is to write to a file the function that you are about to execute. That way you can read the file and find out what is the function generating the crash.
I hope this helps.
Regards,
Juan Carlos
N.I.