Daily Usage Issues

NCrunch 3 Crashed devenv.exe During First Crunch Wizard

Started by VNicholson on 5,501 views

Hi,

I just upgraded to NCrunch 3. I opened a solution and devenv.exe crashed at the end of the First Crunch Wizard (after clicking next on the Ignore page).

I'm running Visual Studio 2015 on Windows 10 and I can reproduce this crash every time I end the wizard.

My NT Event Log has the exception details below.


Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Exception
   at nCrunch.Client.Settings.ClientSettingsBlock.(nCrunch.Core.Settings.TargetedSetting, System.Object)
   at nCrunch.Client.Settings.ClientSettingsBlock.SetSettingValue(nCrunch.Core.Settings.TargetedSetting, System.Object)
   at nCrunch.VSAddIn.UI.Wizards.FirstTimeSolutionUse.IgnoreTestsConfig.DoIgnoreAllTestsOnStartup()
   at nCrunch.VSAddIn.UI.Wizards.FirstTimeSolutionUse.IgnoreTestsConfig.(System.Object, nCrunch.VSAddIn.UI.Wizards.Framework.WizardPageEventArgs)
   at nCrunch.VSAddIn.UI.Wizards.Framework.WizardPage.OnWizardNext(nCrunch.VSAddIn.UI.Wizards.Framework.WizardPageEventArgs)
   at nCrunch.VSAddIn.UI.Wizards.Framework.WizardSheet.(System.Object, System.EventArgs)
   at System.Windows.Forms.Control.OnClick(System.EventArgs)
   at System.Windows.Forms.Button.OnClick(System.EventArgs)
   at System.Windows.Forms.Button.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)


...and this slightly less helpful entry (I run a German system if that makes a difference)...

Name der fehlerhaften Anwendung: devenv.exe, Version: 14.0.25420.1, Zeitstempel: 0x57685d85
Name des fehlerhaften Moduls: KERNELBASE.dll, Version: 10.0.14393.321, Zeitstempel: 0x57f4c291
Ausnahmecode: 0xe0434352
Fehleroffset: 0x000da6f2
ID des fehlerhaften Prozesses: 0x3bfc
Startzeit der fehlerhaften Anwendung: 0x01d24a097fe54d78
Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
Pfad des fehlerhaften Moduls: C:\WINDOWS\System32\KERNELBASE.dll
Berichtskennung: a7c5056e-3d1b-4479-8383-c38a8590e7fb
Vollständiger Name des fehlerhaften Pakets: 
Anwendungs-ID, die relativ zum fehlerhaften Paket ist: 


Let me know if you need any more information. I can reproduce this consistently so it shouldn't be too hard to provide additional information if you need it.
Congratulations for being the first to find and report a problem with version 3!

This one wasn't too hard to reproduce. It looks like there was a workflow here that wasn't being properly handled. I've prepared a fixed build if you're interested in giving it a try:

http://downloads.ncrunch.net/NCrunch_Console_3.0.0.2.msi
http://downloads.ncrunch.net/NCrunch_Console_3.0.0.2.zip
http://downloads.ncrunch.net/NCrunch_GridNodeServer_3.0.0.2.msi
http://downloads.ncrunch.net/NCrunch_GridNodeServer_3.0.0.2.zip
http://downloads.ncrunch.net/NCrunch_LicenseServer_3.0.0.2.zip
http://downloads.ncrunch.net/NCrunch_VS2008_3.0.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2010_3.0.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2010_3.0.0.2.zip
http://downloads.ncrunch.net/NCrunch_VS2012_3.0.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2012_3.0.0.2.zip
http://downloads.ncrunch.net/NCrunch_VS2013_3.0.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2013_3.0.0.2.zip
http://downloads.ncrunch.net/NCrunch_VS2015_3.0.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2015_3.0.0.2.zip
http://downloads.ncrunch.net/NCrunch_VS2017_3.0.0.2.msi
http://downloads.ncrunch.net/NCrunch_VS2017_3.0.0.2.zip
Thanks Remco,

I've tried the build and the wizard now completes without error. I'm not sure whether it's intentional, but the last few pages of the First Crunch Wizard no longer appear with 3.0.0.2 (the Ignore page doesn't appear for instance). If that's intentional, then consider this one fixed.

Cheers for the speedy turn-around.

EDIT: I built the project and made a few changes then tried the wizard again. Now all of the expected pages are appearing (including the Ignore one and the Engine Execution Mode pages that were missing the first time I tried 3.0.0.2). It looks as if those final pages go AWOL if any of the projects have '(loading)' next to them when the Wizard is activated. If I wait a while until all projects are loaded, then activate the Wizard then all of the pages appear. Again, not sure what the correct behaviour is.

Edited

The wizard itself is dynamic, so there's a bit of complexity that defines what gets shown depending upon how the wizard was initiated and which settings have already been specified. If it's not bugging out anymore, then I think we're good here :)

Post a reply

Log in to reply.