Quantcast
Viewing latest article 28
Browse Latest Browse All 106942

RSRP-475656: cleanupcode.exe Crashes on Duplicate Filenames in Solution

Reporter Image may be NSFW.
Clik here to view.
Carsten Jendro (ceejay)
Carsten Jendro (ceejay)
Created Jul 26, 2019, 2:43:02 PM
Updated Oct 10, 2019, 11:55:09 AM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Ivan Serduk (IvanSerduk)
Priority Critical
State Waiting for Info
Type Bug
Fix version No Fix versions
Affected versions 2019.2, 2019.1.3
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

On Large Solutions when Filenames occures Multiple times in the same Solution cleanupcode.exe crashes or hangs with > 30gb memory consumption

I am not Shure but the problems most times occures on files like "AssemblyInfo.cs", "Programm.cs", "Reference.cs" or other often used Filenames.

First there comes a lot of warnings about inconsitent caches
Later there comes more and more Exceptions on files with inconsitent caches

then memory consumption getting higher and higher and then it crashes completely.

Console looks like

<WindowsServices>\<Project1>\Properties\AssemblyInfo.cs
Warning: Inconsistent caches for file AssemblyInfo.cs: cached=1416 actual=1513. Please, describe how this file could be changed.
...
<WindowsServices>\<Project2>\Properties\AssemblyInfo.cs
Warning: Inconsistent caches for file AssemblyInfo.cs: cached=1394 actual=1491. Please, describe how this file could be changed.
...
<WindowsServices>\<Project3>\Properties\AssemblyInfo.cs - JavaScript decoration
Warning: Inconsistent caches for file AssemblyInfo.cs: cached=1408 actual=1505. Please, describe how this file could be changed.
...
<WindowsServices>\<Project30>\Connected Services\FooService\Reference.cs - Applying code style
Warning: Inconsistent caches for file Reference.cs: cached=226402 actual=296540. Please, describe how this file could be changed.
...
<WindowsServices>\<Project30>\Connected Services\FooService\Reference.cs
StartIndex darf nicht kleiner als Null sein. Parametername: startIndex

--- EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = "StartIndex darf nicht kleiner als Null sein."
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
Data.ThreadLocalDebugInfo = "Code Cleanup"
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = mscorlib
ParamName = startIndex
StackTraceString = "
  bei System.String.Substring(Int32 startIndex, Int32 length)
     bei JetBrains.Text.StringBuffer.GetText(TextRange range)
     bei JetBrains.Text.ProjectedBuffer.GetText(TextRange range)
     bei JetBrains.ReSharper.Psi.CSharp.Parsing.CSharpTokenType.IdentifierNodeType.Create(IBuffer buffer, TreeOffset startOffset, TreeOffset endOffset
)
     bei JetBrains.ReSharper.Psi.CSharp.Parsing.CSharpMissingTokensInserter.ProcessLeafElement(TreeElement root)
     bei JetBrains.ReSharper.Psi.Parsing.MissingTokenInserterBase.Run(TreeElement root)
     bei JetBrains.ReSharper.Psi.CSharp.Parsing.CSharpMissingTokensInserter.Run(TreeElement node, ILexer lexer, ITokenOffsetProvider offsetProvider, B
oolean trimTokens, PreProcessorParser preProcessorParser, SeldomInterruptChecker interruptChecker, ITokenIntern tokenIntern)
     bei JetBrains.ReSharper.Psi.CSharp.Parsing.CSharpParser.InsertMissingTokens(TreeElement result, Boolean trimMissingTokens)
     bei JetBrains.ReSharper.Psi.CSharp.Parsing.CSharpParser.ParseCodeBlock()
     bei JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.ClosedChameleonElement.TryParseUsingTokenBuffer(Func`2 parseFunc)
     bei JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.ClosedChameleonElement.Parse(Func`2 parseFunc)
     bei JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ChameleonBlock.OpenChameleon()
     bei JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ChameleonBlock.get_FirstChild()
     bei JetBrains.ReSharper.Psi.Util.TreeRange.NodeIterator(ITreeRange range, Func`2 predicate)
     bei JetBrains.ReSharper.Psi.Util.RegionStructureBuilder.BuildRegionStructure(ITreeNode node, INodeTreeNavigator treeNodeNavigator)
     bei JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.MemberReordering.MemberReorderingProcessor.Process(ITreeNode node)
     bei JetBrains.ReSharper.Psi.CSharp.CodeStyle.CSharpFormatterHelper.ReorderMembers(ICSharpTypeAndNamespaceHolderDeclaration declaration)
     bei JetBrains.ReSharper.Psi.Transactions.PsiTransactions.Execute(String commandName, Action handler)

Viewing latest article 28
Browse Latest Browse All 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>