All applications crash - Windows SDK Debugging Tools for Windows (x64), Application Verifier
-
Wednesday, November 21, 2012 2:28 AM
Hi,
While trying to track down the cause of an AccessViolationException, it was recommended to me by an answer on a different website (link omitted: see end of post) to try Application Verifier or GFlags to track down the cause of my exception. As a result, I searched and found that Application Verifier is now offered as a standalone application detatched from Visual Studio (I am using VS 2010 Professional).
I downloaded and installed the following version of Windows SDK: Windows Software Development Kit (SDK) for Windows 8 (link omitted, see end of post)
However, that installation required .NET 4.5 installed, which I have no need for (I am writing applications for systems which will not have .NET 4.5). Thus, I searched for an SDK for my target environment, which is .NET 3.5. I found this link: Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 (link omitted, see end of post)
After running the installation and limiting the installation to only the extended debugging tools, I was able to access the Global Flags, where I found checkboxes for "Enable application verifier". Once I enabled this checkbox under Kernel Flags, any application I try to open (including cmd.exe and task manager) result in the following error:
taskmgr.exe - Application Error: The application was unable to start correctly (0x80000003). Click OK to close the application.
This INCLUDES gflags.exe and the user login interface on boot-up, forcing me to restore the last good configuration to load into windows again. Is there any way I can use Application Verifier to track down my AccessViolationException without causing this error?
OS: Windows 7 Ultimate x64 SP1
RAM: 8GB
First time posting, please let me know if I've made any formatting/information mistakes. Also... I can't post images or links even though I've verified my e-mail... sorry for the lack of links/pictures in this post. Thanks!
All Replies
-
Thursday, November 22, 2012 9:12 AMModerator
Hi,
First, I would like to check which program received the AccessViolationException, have you tried reinstall this application to check the result?
Also test the issue in Safe Mode and Clean Boot mode.If this application is developed by yourself, it is better to post this issue in Microsoft MSDN related forums for more help.
Regards,
Vincent Wang
TechNet Community Support -
Monday, November 26, 2012 5:07 PM
Hi Vincent,
Thanks for your reply!
When I turn on "Enable application verifier" in the Global Flags application under Kernel, I cannot open normal applications (task manager, command prompt), and rebooting in safe mode causes programs to open very very slowly (opening the start menu -> all programs takes 25+ minutes).
The only solution I found was to open the advanced boot settings and select "Last known good configuration". However I would like to use the functionality of Application Verifier in my Windows 7 environment. I'm wondering if there's an incompatibility between Windows 7 and Application Verifier, or if I have downloaded the wrong version.
Thanks,
Charles
-
Wednesday, November 28, 2012 9:08 AMModerator
Hi Charles,
Regarding the compatibility issue, I suggest you check whether it is compatible with Windows 7 at Windows 7 Compatibility Center.
Regards,Vincent Wang
TechNet Community Support- Marked As Answer by Leo HuangMicrosoft Contingent Staff, Moderator Monday, December 03, 2012 9:07 AM


