elishalom / netcodemetrics

Other
33 stars 13 forks source link

Encountered a stack overflow in VS 2017 (15.3.3) #4

Open tanveerbadar opened 7 years ago

tanveerbadar commented 7 years ago

Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space. at System.Runtime.CompilerServices.RuntimeHelpers.EnsureSufficientExecutionStack() at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.DefaultVisit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor.VisitInvocationExpression(InvocationExpressionSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax.Accept(CSharpSyntaxVisitor visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.DefaultVisit(SyntaxNode node) at CodeMetrics.Parsing.Roslyn.CSharpConditionsVisitor.VisitBinaryExpression(BinaryExpressionSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.BinaryExpressionSyntax.Accept(CSharpSyntaxVisitor visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(SyntaxNode node) at CodeMetrics.Parsing.Roslyn.CSharpConditionsVisitor.VisitIdentifierName(IdentifierNameSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax.Accept(CSharpSyntaxVisitor visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.DefaultVisit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor.VisitArgument(ArgumentSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentSyntax.Accept(CSharpSyntaxVisitor visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.DefaultVisit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor.VisitArgumentList(ArgumentListSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentListSyntax.Accept(CSharpSyntaxVisitor visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.DefaultVisit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor.VisitInvocationExpression(InvocationExpressionSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.InvocationExpressionSyntax.Accept(CSharpSyntaxVisitor visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(SyntaxNode node) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.DefaultVisit(SyntaxNode node) at CodeMetrics.Parsing.Roslyn.CSharpConditionsVisitor.VisitBinaryExpression(BinaryExpressionSyntax node) at Microsoft.CodeAnalysis.CSharp.Syntax.BinaryExpressionSyntax.Accept(CSharpSyntaxVisitor visitor) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker.Visit(SyntaxNode node) at CodeMetrics.Parsing.Roslyn.CSharpConditionsVisitor.VisitIdentifierName(IdentifierNameSyntax node)

Full stack trace is in the attached file. For official reasons I cannot attach the source code where this was triggered even if I could find it in the first place.

tanveerbadar commented 7 years ago

SO.txt