Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-288328: Processing file \\src\Options\OptionsDialogOwner.cs Probable I/O race condition detected while copying memory. The I/O package is not

$
0
0
Reporter Sergey Coox (coox) Sergey Coox (coox)
Created Feb 15, 2012 5:15:05 PM
Updated Feb 15, 2012 5:28:12 PM
Priority Normal
Type Exception
Fix versions No Fix versions
State Submitted
Assignee Serge Baltic (baltic)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
ReSharper 6.1 Version=6.1.43.74, Built=2012-02-13T15:20:48, Configuration=“Csharp InternalMode Vbnet VS1000”
Processing file <1. Platform>\<UI>\src\Options\OptionsDialogOwner.cs Probable I/O race condition detected while copying memory. The I/O package is not thread safe by default. In multithreaded applications, a stream must be accessed in a thread-safe way, such as a thread-safe wrapper returned by TextReader's or TextWriter's Synchronized methods. This also applies to classes like StreamWriter and StreamReader.

--- EXCEPTION #1/2 [IndexOutOfRangeException]
Message = “Probable I/O race condition detected while copying memory. The I/O package is not thread safe by default. In multithreaded applications, a stream must be accessed in a thread-safe way, such as a thread-safe wrapper returned by TextReader's or TextWriter's Synchronized methods. This also applies to classes like StreamWriter and StreamReader.”
ExceptionPath = Root.InnerException
ClassName = System.IndexOutOfRangeException
HResult = COR_E_INDEXOUTOFRANGE=80131508
Source = mscorlib
StackTraceString = “
  at System.Buffer.InternalBlockCopy(Array src, Int32 srcOffsetBytes, Array dst, Int32 dstOffsetBytes, Int32 byteCount)
     at System.IO.StreamWriter.Write(Char[] buffer, Int32 index, Int32 count)
     at System.IO.TextWriter.WriteLine(String value)
     at JetBrains.Util.Logger.Log(Object o, TextWriter logWriter)
     at JetBrains.Util.Logger.Log(String s, Object[] os)
     at JetBrains.Util.Logger.LogMessage(LoggingLevel level, String message)
     at JetBrains.ReSharper.Psi.Xaml.Impl.Resolve.NamespaceAliasCache.FetchModuleNames(IPsiModule psiModule)
     at JetBrains.ReSharper.Psi.Xaml.Impl.Resolve.NamespaceAliasCache.CreateModuleEntry(IPsiModule psiModule)
     at JetBrains.ReSharper.Psi.Xaml.Impl.Resolve.NamespaceAliasCache.GetModuleEntry(IPsiModule psiModule)
     at JetBrains.ReSharper.Psi.Xaml.Impl.Resolve.NamespaceAliasCache.<GetReferencedModulesAndSelf>d__a.MoveNext()
     at JetBrains.ReSharper.Psi.Xaml.Impl.Resolve.NamespaceAliasCache.GetNamespaces(String aliasUri, IProject project)
     at JetBrains.ReSharper.Psi.Xaml.Impl.Resolve.NamespaceAliasCacheManager.GetNamespaces(XamlNamespaceAlias alias)
     at JetBrains.ReSharper.Psi.Xaml.Impl.DeclaredElements.XamlNamespaceAlias.get_ReferencedNamespaces()
     at JetBrains.ReSharper.Psi.Xaml.Impl.Resolve.NamespaceAliasCache.GetSymbolTable(INamespaceAliasDeclaredElement aliasDeclaredElement)
     at JetBrains.ReSharper.Psi.Xaml.Impl.Resolve.NamespaceAliasCacheManager.GetSymbolTable(INamespaceAliasDeclaredElement alias, Boolean addPredefinedSymbols)
     at JetBrains.ReSharper.Psi.Xaml.Impl.Resolve.XamlResolveUtil.GetNamespaceAliasSymbolTable(IXamlNamespaceAliasReference reference)
     at JetBrains.ReSharper.Psi.Xaml.Impl.Tree.References.XamlNamespaceAliasReference.GetSymbolTable(SymbolTableMode mode)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.ResolveUtil.GetSymbolTableByReference(IQualifiableReference reference, SymbolTableMode mode)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.QualifiableCheckedReferenceBase`1.GetReferenceSymbolTable(Boolean useReferenceName)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.QualifiableCheckedReferenceBase`1.ResolveWithoutCache()
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.TreeReferenceBase`1.<.cctor>b__0(TreeReferenceBase`1 reference)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.ResolveUtil.ResolveWithCache[T](T reference, Func`2 resolveWithoutCache)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.TreeReferenceBase`1.Resolve()
     at JetBrains.ReSharper.Psi.Xaml.Impl.Tree.XamlTypeDeclaration.get_SuperTypes()
     at JetBrains.ReSharper.Psi.Xaml.Impl.Cache2.XamlTypePartBase.GetSuperTypes()
     at JetBrains.ReSharper.Psi.Xaml.Impl.Cache2.XamlTypePartBase.GetBaseClassType()
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Caches2.Class.<GetBaseClassType>b__14()
     at JetBrains.ReSharper.Psi.Impl.TypeElementInheritanceCache.CacheBaseClass(IClass derived, Func`1 calculator)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Caches2.Class.GetBaseClassType()
     at JetBrains.ReSharper.Psi.Util.TypeElementUtil.BuildSuperClassList(IDeclaredType classType, List`1 result, IPsiModule retargetToModule)
     at JetBrains.ReSharper.Psi.Util.TypeElementUtil.GetAllSuperClasses(IDeclaredType classType, IPsiModule retargetToModule)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.ResolveUtil.AddDeclarationsForProperDeclaredType(IDeclaredType type, Int32 level, Boolean addObjectMembersForInterfaces, SymbolTableMode mode, IPsiModule module, HashSet`1 visited)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.ResolveUtil.<>c__DisplayClass1.<GetSymbolTableByTypeElement>b__0(SymbolTableMode _)
     at JetBrains.ReSharper.Psi.Impl.Resolve.SymbolTableCache.GetOrCreate(OneToListMap`2 cache, ITypeElement element, SymbolTableMode mode, IPsiModule requestFromModule, Func`2 factory)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.ResolveUtil.GetSymbolTableByTypeElement(ITypeElement typeElement, Int32 level, SymbolTableMode mode, IPsiModule module)
     at JetBrains.ReSharper.Psi.Impl.Types.DeclaredTypeBase.GetSymbolTable(IPsiModule module)
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.MemberAssignmentReferenceBase`1.GetReferenceSymbolTable(Boolean useReferenceName)
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.MemberAssignmentReferenceBase`1.ResolveWithoutCache()
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.TreeReferenceBase`1.<.cctor>b__0(TreeReferenceBase`1 reference)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.ResolveUtil.ResolveWithCache[T](T reference, Func`2 resolveWithoutCache)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.TreeReferenceBase`1.Resolve()
     at JetBrains.ReSharper.Daemon.CSharp.Stages.SmartResolverProcess.ScopeResolver.VisitElement(ITreeNode element)
     at JetBrains.ReSharper.Psi.Resolve.Resolver.ProcessAfterInterior(ITreeNode element)
     at JetBrains.ReSharper.Daemon.CSharp.Stages.SmartResolverProcess.ScopeResolver.ProcessAfterInterior(ITreeNode element)
     at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor processor)
     at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant)
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ObjectCreationExpression.ProcessDescendantsForResolve(IRecursiveElementProcessor processor)
     at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor processor)
     at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor processor)
     at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant)
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor processor)
     at JetBrains.ReSharper.Psi.Resolve.Resolver.Process(ITreeNode topElement)
     at JetBrains.ReSharper.Daemon.CSharp.Stages.SmartResolverProcess.<>c__DisplayClass5.<>c__DisplayClass7.<Execute>b__1()
     at JetBrains.Application.Threading.MultiCoreFibersPool.Fibers.<>c__DisplayClassa.<EnqueueJobImpl>b__8()


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “Processing file <1. Platform>\<UI>\src\Options\OptionsDialogOwner.cs Probable I/O race condition detected while copying memory. The I/O package is not thread safe by default. In multithreaded applications, a stream must be accessed in a thread-safe way, such as a thread-safe wrapper returned by TextReader's or TextWriter's Synchronized methods. This also applies to classes like StreamWriter and StreamReader.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Application.Threading.MultiCoreFibersPool.FiberProc()
     at JetBrains.Util.Logger.Catch(Action action)
     at JetBrains.Application.Threading.MultiCoreFibersPool.<.ctor>b__1()
     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()

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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