You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running Formatter.OrganizeImports against T_68086.vb causes InsufficientExecutionStackException.
Stacktrace:
Unhandled exception: System.InsufficientExecutionStackException: 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.VisualBasic.VisualBasicSyntaxRewriter.Visit(SyntaxNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 36
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitBinaryExpression(BinaryExpressionSyntax node) in /_/src/Compilers/VisualBasic/Portable/Generated/Syntax.xml.Main.Generated.vb:line 4139
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.Visit(SyntaxNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 31
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitBinaryExpression(BinaryExpressionSyntax node) in /_/src/Compilers/VisualBasic/Portable/Generated/Syntax.xml.Main.Generated.vb:line 4139
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.Visit(SyntaxNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 31
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitBinaryExpression(BinaryExpressionSyntax node) in /_/src/Compilers/VisualBasic/Portable/Generated/Syntax.xml.Main.Generated.vb:line 4139
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.Visit(SyntaxNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 31
... So many more of the last two lines ...
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitBinaryExpression(BinaryExpressionSyntax node) in /_/src/Compilers/VisualBasic/Portable/Generated/Syntax.xml.Main.Generated.vb:line 4139
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.Visit(SyntaxNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 31
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitEqualsValue(EqualsValueSyntax node) in /_/src/Compilers/VisualBasic/Portable/Generated/Syntax.xml.Main.Generated.vb:line 2569
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.Visit(SyntaxNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 31
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitVariableDeclarator(VariableDeclaratorSyntax node) in /_/src/Compilers/VisualBasic/Portable/Generated/Syntax.xml.Main.Generated.vb:line 2452
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.Visit(SyntaxNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 31
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitListElement[TNode](TNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 101
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitList[TNode](SeparatedSyntaxList`1 list) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 167
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitLocalDeclarationStatement(LocalDeclarationStatementSyntax node) in /_/src/Compilers/VisualBasic/Portable/Generated/Syntax.xml.Main.Generated.vb:line 2801
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.Visit(SyntaxNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 31
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitListElement[TNode](TNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 101
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 81
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitTryBlock(TryBlockSyntax node) in /_/src/Compilers/VisualBasic/Portable/Generated/Syntax.xml.Main.Generated.vb:line 3049
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.Visit(SyntaxNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 31
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitListElement[TNode](TNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 101
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 81
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitMethodBlock(MethodBlockSyntax node) in /_/src/Compilers/VisualBasic/Portable/Generated/Syntax.xml.Main.Generated.vb:line 1999
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.Visit(SyntaxNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 31
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitListElement[TNode](TNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 101
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 81
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitModuleBlock(ModuleBlockSyntax node) in /_/src/Compilers/VisualBasic/Portable/Generated/Syntax.xml.Main.Generated.vb:line 1654
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.Visit(SyntaxNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 31
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitListElement[TNode](TNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 101
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 81
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitNamespaceBlock(NamespaceBlockSyntax node) in /_/src/Compilers/VisualBasic/Portable/Generated/Syntax.xml.Main.Generated.vb:line 1618
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.Visit(SyntaxNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 31
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitListElement[TNode](TNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 101
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitList[TNode](SyntaxList`1 list) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 81
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.VisitCompilationUnit(CompilationUnitSyntax node) in /_/src/Compilers/VisualBasic/Portable/Generated/Syntax.xml.Main.Generated.vb:line 1522
at Microsoft.CodeAnalysis.VisualBasic.OrganizeImports.VisualBasicOrganizeImportsService.Rewriter.VisitCompilationUnit(CompilationUnitSyntax node) in /_/src/Workspaces/VisualBasic/Portable/OrganizeImports/VisualBasicOrganizeImportsService.Rewriter.vb:line 25
at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxRewriter.Visit(SyntaxNode node) in /_/src/Compilers/VisualBasic/Portable/Syntax/VisualBasicSyntaxRewriter.vb:line 31
at Microsoft.CodeAnalysis.VisualBasic.OrganizeImports.VisualBasicOrganizeImportsService.OrganizeImportsAsync(Document document, CancellationToken cancellationToken) in /_/src/Workspaces/VisualBasic/Portable/OrganizeImports/VisualBasicOrganizeImportsService.vb:line 29
at Microsoft.CodeAnalysis.Tools.Formatters.ImportsFormatter.FormatFileAsync(Document document, SourceText sourceText, OptionSet optionSet, AnalyzerConfigOptions analyzerConfigOptions, FormatOptions formatOptions, ILogger logger, CancellationToken cancellationToken) in /Volumes/Data/Source/format/src/Formatters/ImportsFormatter.cs:line 30
at Microsoft.CodeAnalysis.Tools.Formatters.DocumentFormatter.GetFormattedSourceTextAsync(Document document, OptionSet optionSet, AnalyzerConfigOptions analyzerConfigOptions, FormatOptions formatOptions, ILogger logger, CancellationToken cancellationToken) in /Volumes/Data/Source/format/src/Formatters/DocumentFormatter.cs:line 100
at Microsoft.CodeAnalysis.Tools.Formatters.DocumentFormatter.<>c__DisplayClass4_1.<<FormatFiles>b__0>d.MoveNext() in /Volumes/Data/Source/format/src/Formatters/DocumentFormatter.cs:line 79
--- End of stack trace from previous location where exception was thrown ---
... dotnet-format stack
The text was updated successfully, but these errors were encountered:
Running
Formatter.OrganizeImports
against T_68086.vb causes InsufficientExecutionStackException.Stacktrace:
The text was updated successfully, but these errors were encountered: