Page 1 of 1

StackOverflowException in Dead Code Analysis [SOLVED]

Posted: Wed Oct 15, 2014 11:05 am
by Suchiman
I have installed the beta1 in Visual Studio 2013 and tried to compile the sample projects but even for an empty project, msbuild dies with an StackOverflowException.

deadcode.png
deadcode.png (158.16 KiB) Viewed 10274 times

Re: StackOverflowException in Dead Code Analysis

Posted: Thu Oct 16, 2014 12:22 am
by JS-Support @Userware
Hello Suchiman,

Thanks for the report. We would like to reproduce the issue. Could you please let me know the specs of your system ? (Windows version, x86 or 64, VS edition...)

Thanks again,
JS- Support

Re: StackOverflowException in Dead Code Analysis

Posted: Thu Oct 16, 2014 12:59 pm
by Suchiman
My machine runs Windows 8.1 Pro x64 with media center (Core i5 4670K, 8GB DDR3, Radeon R9 270x).
I have installed:
Visual Studio 2012 Premium Update 4,
Visual Studio 2013 Ultimate Update 3,
Visual Studio 14 CTP 4.

I have tried to compile the sample Project template both in 2012 and 2013 with the same result.
Changing the Target Framework from 4.5.2 to 4.0 also didn't alter the Result.
There is no difference between trying to debug or just trying to (re)build.
Though after the msbuild process died, the dll is generated, just the html Output is missing.
If i just re-try debugging now the simulator starts up and seems to work, but since html output is missing i cannot view it in the browser of course.
If i set the DeadCodeAnalysis to false in the target file, the Project successfully builds and generates html output, but the browser display errors on the bottom left corner when i click an operator on the calculator.

Under the following link you can find a memory dump of the stackoverflowed msbuild process.
http://1drv.ms/1vB1Gl4

Re: StackOverflowException in Dead Code Analysis

Posted: Sat Oct 18, 2014 2:54 am
by JS-Support @Userware
Thanks a lot Suchiman for the detailed report.

We are going to try to reproduce the issue.

By the way, when you set the DeadCodeAnalysis to false in the target file, you can see details about the browser errors by opening the browser "Console" window. If you have a chance to send us the produced HTML files, it will also help us.

Thanks again.
Regards,
JS-Support

Re: StackOverflowException in Dead Code Analysis

Posted: Tue Nov 25, 2014 2:30 pm
by Suchiman
Hi,

this issue seems to be resolved in beta2, many thanks :D

Re: StackOverflowException in Dead Code Analysis

Posted: Thu Dec 04, 2014 5:37 am
by JS-Support @Userware
This is great news!

Thanks a lot.