I am getting random crashes on my C++ application, it may not crash for a month, and then crash 10 times in a hour, and sometimes it may crash on launch, while sometimes it may
Another basic check: Make sure you do a full rebuild of your project. If you've been tweaking various files (especially header files) and doing partial builds then things can get messy if your build dependencies aren't perfect. A full rebuild just removes that possibility.
Also for Windows check out Microsoft's Debugging tools for Windows, and particularly their gflags tool.