I am having trouble to get a Visual C++ executable to work, the app crashes , here is what I have seen in the event viewer.
Faulting application name: submit.exe, version: 0.0.0.0, time stamp: 0x50a3cce7
Faulting module name: ntdll.dll, version: 6.1.7601.17514, time stamp: 0x4ce7ba58
Exception code: 0xc0000374
Fault offset: 0x000ce653
Faulting process id: 0x8fc
Faulting application start time: 0x01cdc2a3da4f2997
Faulting application path: c:\submit.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: 1813823a-2e97-11e2-8675-000c29229191
The executable compiled in old versions of Visual Studio work but I get the error with the executable compiled with newer VS like 2008 or 2010. please advice
Troubleshooting this type of problem can be a real challenge... particularly when you are not familiar with the code base.
Consider using the Application Verifier in conjunction with the Visual Studio debugger.
File
=> Add Application
Tests
(e.g. heaps, exceptions,...)Debug
to start your application.When something bad happens... your debugger will stop. This should give you a pretty good idea of the source of the problem.
Also, it might help to load the missing symbols before starting your test. In Visual Studio 2012, you can do this by:
Debug
=> Options and Settings
=> Debugging
=> Symbols
=> Load all symbols
.
Good luck!
C:\Windows\SysWOW64\appverif.exe
[32 bit version]C:\Windows\System32\appverif.exe
[64 bit version]When you are done, be sure to disable the AppVerfier checks that you enabled... otherwise you may experience some unexpected side-effects 6 months down the road when you have forgotten about AppVerifier.