Reporter | ReSharper anonymous (resharper) |
---|---|
Created | Apr 17, 2012 1:44:25 PM |
Updated | Apr 17, 2012 1:44:25 PM |
Priority | Normal |
Type | Exception |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
ReSharper 7 EAP for Visual Studio 11 Beta Version=7.0.16.291, Built=2012-04-16T20:32:40, Configuration=“Csharp PublicMode Vbnet VS1100”
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
--- EXCEPTION #1/2 [AccessViolationException]
Message = “Attempted to read or write protected memory. This is often an indication that other memory is corrupt.”
ExceptionPath = Root.InnerException
ClassName = System.AccessViolationException
HResult = COR_E_NULLREFERENCE=E_POINTER=80004003
Source = JetBrains.Platform.ReSharper.Util
StackTraceString = “
”
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “Attempted to read or write protected memory. This is often an indication that other memory is corrupt.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “DaemonFibers #0”
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50323.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
”
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
--- EXCEPTION #1/2 [AccessViolationException]
Message = “Attempted to read or write protected memory. This is often an indication that other memory is corrupt.”
ExceptionPath = Root.InnerException
ClassName = System.AccessViolationException
HResult = COR_E_NULLREFERENCE=E_POINTER=80004003
Source = JetBrains.Platform.ReSharper.Util
StackTraceString = “
at JetBrains.Util.Pair`2..ctor(T1 first, T2 second) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Pair.cs:line 42 at JetBrains.DocumentModel.Impl.DocumentUtil.GetBuffer(Int64 length) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Documents\src\impl\DocumentUtil.cs:line 236 at JetBrains.DocumentModel.Impl.DocumentUtil.ReadTextFromFile(Stream stream, Encoding& detectedEncoding) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Documents\src\impl\DocumentUtil.cs:line 114 at JetBrains.DocumentManagers.impl.ProjectFileUtil.ReadTextFromFile(IProjectFile file, Encoding& detectedEncoding) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\ProjectDocuments\src\impl\ProjectFileUtil.cs:line 23 at JetBrains.VsIntegration.Whidbey.DocumentModel.FileSystemDocumentOperationsHandlerWhidbey.GetText(Encoding& encoding) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\FileSystemDocumentOperationsHandlerWhidbey.cs:line 77 at JetBrains.VsIntegration.DocumentModel.Whidbey.VsDocumentWhidbey..ctor(DocumentModelDocumentManagerEvents documentManager, DocumentTransactionManager transactionManager, IDocumentOperationsHandlerWhidbey documentOperationsHandler, Func`2 ensureWritableHandler, IShellLocks locks, DocumentChangeManager documentChangeManager, IDocumentMarkupManager documentMarkupManager) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentWhidbey.cs:line 43 at JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentOverProjectFileFactoryWhidbey.CreateNewDocumentCore(IProjectFile projectFile, SolutionDocumentTransactionManager documentTransactionManager) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentFactoryWhidbey.cs:line 82 at JetBrains.DocumentManagers.impl.StandaloneDocumentOverProjectFileFactory.JetBrains.DocumentManagers.IDocumentOverProjectFileFactory_TransactionManager.CreateNewDocument_TransactionManager(IProjectFile projectFile, SolutionDocumentTransactionManager documentTransactionManager) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\ProjectDocuments\src\Creation\StandaloneDocumentFactory.cs:line 37 at JetBrains.DocumentManagers.Transactions.SolutionDocumentTransactionManager.JetBrains.DocumentManagers.IDocumentOverProjectFileFactory.CreateNewDocument(IProjectFile projectFile) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\ProjectDocuments\src\Transactions\SolutionDocumentTransactionManager.cs:line 138 at JetBrains.DocumentManagers.DocumentsOnProjectFiles.GetOrCreateDocument_Create(IProjectFile profile, IDocumentOverProjectFileFactory myFactory) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\ProjectDocuments\src\Creation\DocumentsOnProjectFiles.cs:line 75 at JetBrains.DocumentManagers.DocumentsOnProjectFiles.GetOrCreateDocument(IProjectFile profile, IDocumentOverProjectFileFactory factory) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\ProjectDocuments\src\Creation\DocumentsOnProjectFiles.cs:line 60 at JetBrains.ReSharper.Psi.Impl.PsiProjectFile.get_Document() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiProjectFile.cs:line 93 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiFilesCache.CreatePrimaryFile(IPsiSourceFile sourceFile) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiFilesCache.cs:line 368 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.ExecutePrimaryWork(DataForPrimaryWork dataForPrimaryWork) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 81 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.AsyncCommitter`2.Work() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 313
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “Attempted to read or write protected memory. This is often an indication that other memory is corrupt.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “DaemonFibers #0”
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50323.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.AsyncCommitter`2.Work() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 326 at JetBrains.Application.InterruptableReadActivity.DoWork() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\Threading\InterruptableReadActivity.cs:line 210 at JetBrains.Application.InterruptableReadActivity.DoSynch() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\Threading\InterruptableReadActivity.cs:line 220 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.Execute[TData,TResult](Boolean synchronous, List`1 datas, Func`2 workAction, Action`1 ifSuccessful, Action ifInterrupted, Action ifInterruptedSync, CheckForInterrupt checkForInterrupt) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 253 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.Commit(ICollection`1 sourceFilesToCommit) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 61 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiFilesCache.GetOrCreatePsiFile(IPsiSourceFile sourceFile, PsiLanguageType language) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiFilesCache.cs:line 243 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.GetPsiFile(IPsiSourceFile sourceFile, PsiLanguageType language) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 739 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.InjectedPsiManager.GetPsiFiles(IPsiSourceFile sourceFile, PsiLanguageType languageType) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\InjectedPsiManager.cs:line 405 at JetBrains.ReSharper.Psi.PsiManagerExtensions.GetPsiFilesWithoutResolve(IPsiSourceFile sourceFile, PsiLanguageType language) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\PsiManagerExtensions.cs:line 134 at JetBrains.ReSharper.Psi.ExtensionsAPI.Caches2.CachedTypeMemberBase.GetDeclaration() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\Caches2\CachedTypeMemberBase.cs:line 63 at JetBrains.ReSharper.Psi.CSharp.Impl.DeclaredElement.CSharpMethod.get_Parameters() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\CSharp\src\Impl\DeclaredElement\CSharpMethod.cs:line 42 at JetBrains.ReSharper.Psi.CSharp.Util.ArgumentsUtil.GetPossibleParameters(IResolveContext resolveContext, ICSharpArgumentInfo argumentInfo) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\CSharp\src\Util\ArgumentsUtil.cs:line 193 at JetBrains.ReSharper.Psi.CSharp.Util.ArgumentsUtil.GetParameterImpl(IResolveContext resolveContext, ICSharpArgumentInfo argumentInfo) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\CSharp\src\Util\ArgumentsUtil.cs:line 161 at JetBrains.ReSharper.Psi.CSharp.Util.ArgumentsUtil.GetParameter(IResolveContext resolveContext, ICSharpArgumentInfo argumentInfo) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\CSharp\src\Util\ArgumentsUtil.cs:line 143 at JetBrains.ReSharper.Psi.CSharp.Impl.ControlFlow.CSharpControlFlowGrafInspector.OnPatchAccessInfo(CSharpControlFlowContext context, VariableInfo info, ExpressionAccessType access, ITreeNode accessExpression) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\CSharp\src\Impl\ControlFlow\CSharpControlFlowGrafInspector.cs:line 150 at System.Action`4.Invoke(T1 arg1, T2 arg2, T3 arg3, T4 arg4) at JetBrains.ReSharper.Psi.ControlFlow.Impl.CommonLanguageControlFlowGrafInspector`3.FirePatchAccessInfo(TContext context, TVariableInfo info, ExpressionAccessType access, ITreeNode accessExpression) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\ControlFlow\CommonLanguageControlFlowGrafInspector.cs:line 90 at JetBrains.ReSharper.Psi.CSharp.Impl.ControlFlow.CSharpControlFlowGrafInspector.AccessAnalyzer.ProcessArgumentsOwner(ICSharpArgumentsOwner argumentsOwner, CSharpControlFlowContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\CSharp\src\Impl\ControlFlow\CSharpControlFlowGrafInspector.cs:line 1149 at JetBrains.ReSharper.Psi.CSharp.Impl.ControlFlow.CSharpControlFlowGrafInspector.AccessAnalyzer.VisitInvocationExpression(IInvocationExpression invocationExpressionParam, CSharpControlFlowContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\CSharp\src\Impl\ControlFlow\CSharpControlFlowGrafInspector.cs:line 1157 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.InvocationExpression.Accept[TContext,TReturn](TreeNodeVisitor`2 visitor, TContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\Gen\Psi\CSharp\Impl\InvocationExpression.cs:line 32 at JetBrains.ReSharper.Psi.CSharp.Impl.ControlFlow.CSharpControlFlowGrafInspector.AccessAnalyzer.Run(CSharpControlFlowContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\CSharp\src\Impl\ControlFlow\CSharpControlFlowGrafInspector.cs:line 564 at JetBrains.ReSharper.Psi.CSharp.Impl.ControlFlow.CSharpControlFlowGrafInspector.InspectLeafElementAndSetContextToExits(IControlFlowElement element, CSharpControlFlowContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\CSharp\src\Impl\ControlFlow\CSharpControlFlowGrafInspector.cs:line 120 at JetBrains.ReSharper.Psi.ControlFlow.Impl.ControlFlowGrafInspector`1.InspectSingleLeaf(ControlFlowElement element) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\ControlFlow\ControlFlowGrafInspector.cs:line 139 at JetBrains.ReSharper.Psi.ControlFlow.Impl.ControlFlowGrafInspector`1.InspectionPass(IEnumerable`1 sequence) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\ControlFlow\ControlFlowGrafInspector.cs:line 98 at JetBrains.ReSharper.Psi.CSharp.Impl.ControlFlow.CSharpControlFlowGrafInspector.InspectionPass(IEnumerable`1 sequence) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\CSharp\src\Impl\ControlFlow\CSharpControlFlowGrafInspector.cs:line 105 at JetBrains.ReSharper.Psi.ControlFlow.Impl.ControlFlowGrafInspector`1.Inspect() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\ControlFlow\ControlFlowGrafInspector.cs:line 80 at JetBrains.ReSharper.Psi.ControlFlow.Impl.CommonLanguageControlFlowGrafInspector`3.Inspect() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\ControlFlow\CommonLanguageControlFlowGrafInspector.cs:line 79 at JetBrains.ReSharper.Psi.CSharp.Impl.ControlFlow.CSharpControlFlowGrafInspector.Inspect() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\CSharp\src\Impl\ControlFlow\CSharpControlFlowGrafInspector.cs:line 91 at JetBrains.ReSharper.Psi.ControlFlow.CSharp.CSharpControlFlowGrafExtensions.Inspect(ICSharpControlFlowGraf graf, ValueAnalysisMode valueAnalysis) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\CSharp\src\ControlFlow\ICSharpControlFlowElement.cs:line 135 at JetBrains.ReSharper.Daemon.CSharp.Stages.ControlFlowFunctionProblemAnalyzer.Run(ITreeNode element, ElementProblemAnalyzerData data, IHighlightingConsumer consumer) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Daemon\CSharp\src\Stages\Analysis\ControlFlowProblemHighlighter.cs:line 641 at JetBrains.ReSharper.Daemon.Stages.Dispatcher.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Daemon\Engine\src\Stages\Dispatcher\ElementProblemAnalyzerRegistrar.cs:line 118 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpErrorStageProcess.VisitNode(ITreeNode element, IHighlightingConsumer consumer) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Daemon\CSharp\src\Stages\CSharpErrorStage.cs:line 90 at JetBrains.ReSharper.Psi.CSharp.Tree.TreeNodeVisitor`1.VisitMethodDeclaration(IMethodDeclaration methodDeclarationParam, TContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\Gen\Psi\CSharp\TreeNodeVisitor`1.cs:line 416 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpErrorStageProcess.VisitMethodDeclaration(IMethodDeclaration methodDeclaration, IHighlightingConsumer consumer) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Daemon\CSharp\src\Stages\CSharpErrorStage.cs:line 717 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.MethodDeclarationStub.Accept[TContext](TreeNodeVisitor`1 visitor, TContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\Gen\Psi\CSharp\Impl\MethodDeclarationStub.cs:line 38 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpDaemonStageProcessBase.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Daemon\CSharp\src\Stages\CSharpDaemonStageBase.cs:line 157 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpIncrementalDaemonStageProcessBase.ProcessorBase.ProcessAfterInterior(ITreeNode element) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Daemon\CSharp\src\Stages\CSharpDaemonStageBase.cs:line 265 at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessThisAndDescendants(ITreeNode root, IRecursiveElementProcessor processor) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\IRecursiveElementProcessor.cs:line 38 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpIncrementalDaemonStageProcessBase.<>c__DisplayClass11.<Execute>b__7(ICSharpTypeMemberDeclaration declaration) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Daemon\CSharp\src\Stages\CSharpDaemonStageBase.cs:line 206 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpIncrementalDaemonStageProcessBase.<>c__DisplayClass19.<>c__DisplayClass1d.<Execute>b__f() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Daemon\CSharp\src\Stages\CSharpDaemonStageBase.cs:line 233 at JetBrains.Application.Threading.MultiCoreFibersPool.Fibers.<>c__DisplayClassa.<EnqueueJobImpl>b__8() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\Threading\MultiCoreFibersPool.cs:line 342 at JetBrains.Application.Threading.MultiCoreFibersPool.FiberProc() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\Threading\MultiCoreFibersPool.cs:line 121 at JetBrains.Util.Logger.Catch(Action action) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Logger\Logger.cs:line 243 at JetBrains.Application.Threading.MultiCoreFibersPool.<.ctor>b__1() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\Threading\MultiCoreFibersPool.cs:line 86 at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()