Why does Rider keep closing automatically?

Hello everyone,

Lately, I've been encountering an issue with Rider where it keeps closing intermittently when working with different dotnet6 projects. I'm using version 2023.3.3. I've attached the error logs for reference. Has anyone else faced this issue or does anyone have any suggestions on how to resolve it?

Appreciate any guidance or assistance you can provide!
 


Warning: PersistentIndexManager was requested about missing file: appsettings.json
Warning: Primary thread was unresponsive for 0.559sec
Fatal error. System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
  at System.Collections.Generic.Dictionary`2[[JetBrains.Metadata.Access.MetadataToken, JetBrains.Platform.Metadata, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325],[JetBrains.Metadata.Access.AssemblyReference, JetBrains.Platform.Metadata, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325]].FindValue(JetBrains.Metadata.Access.MetadataToken)
  at JetBrains.Metadata.Reader.Impl.MetadataAssembly.BuildExportedTypesCore()
  at JetBrains.Metadata.Reader.Impl.MetadataAssembly.BuildExportedTypes()
  at JetBrains.Metadata.Reader.Impl.MetadataAssembly.GetTypeInfoFromQualifiedName_ThisAssemblyOrForwardedType(System.String, Boolean, System.ValueTuple`4<JetBrains.Metadata.Utils.AssemblyNameInfo,JetBrains.Metadata.Utils.AssemblyNameInfo,JetBrains.Metadata.Utils.AssemblyNameInfo,System.Collections.Immutable.ImmutableArray`1<JetBrains.Metadata.Utils.AssemblyNameInfo>> ByRef)
  at JetBrains.Metadata.Reader.Impl.MetadataAssembly.GetTypeInfoFromQualifiedName(System.String, JetBrains.Metadata.Utils.AssemblyNameInfo, Boolean)
  at JetBrains.Metadata.Reader.Impl.MetadataAssembly.GetTypeInfoFromQualifiedName(System.String, Boolean)
  at JetBrains.Metadata.Reader.API.MetadataLoader.RegisterAssembly(JetBrains.Metadata.Reader.API.IMetadataAssembly, Boolean)
  at JetBrains.Metadata.Reader.API.MetadataLoader.LoadAssemblyModule(JetBrains.Metadata.Reader.API.IAssemblyLocation, JetBrains.Metadata.Access.IMetadataAccess, JetBrains.Metadata.Access.MetadataToken, System.Func`2<JetBrains.Metadata.Utils.AssemblyNameInfo,Boolean>, Boolean, System.Func`1<Boolean>)
  at JetBrains.Metadata.Reader.API.MetadataLoader.TryLoadFrom(JetBrains.Metadata.Reader.API.IAssemblyLocation, System.Func`2<JetBrains.Metadata.Utils.AssemblyNameInfo,Boolean>, Boolean, System.Func`1<Boolean>)
  at JetBrains.ReSharper.Psi.Impl.reflection2.AssemblyFileLoaderZoned.PsiAssemblyFileLoader.GetMetadataAssembly(JetBrains.Metadata.Reader.API.MetadataLoader, JetBrains.ReSharper.Psi.IPsiAssembly)
  at JetBrains.ReSharper.Psi.Impl.reflection2.AssemblyFileLoaderZoned.PsiAssemblyFileLoader+<>c__DisplayClass22_0.<LoadAssembly>g__LoadAssemblyCore|0()
  at JetBrains.ReSharper.Psi.Impl.reflection2.AssemblyFileLoaderZoned.PsiAssemblyFileLoader+<>c__DisplayClass22_0.<LoadAssembly>b__1()
  at JetBrains.ProjectModel.model2.Assemblies.AssembliesDiagnostics.BenchmarkMetadataAssemblyLoad(System.String, JetBrains.Metadata.Reader.API.AssemblyId, System.Action)
  at JetBrains.ReSharper.Psi.Impl.reflection2.AssemblyFileLoaderZoned.PsiAssemblyFileLoader.LoadAssembly(JetBrains.ReSharper.Psi.IPsiAssembly, System.Action`3<JetBrains.ReSharper.Psi.IPsiAssembly,JetBrains.ReSharper.Psi.Caches.IPsiAssemblyFile,JetBrains.Metadata.Reader.API.IMetadataAssembly>)
  at JetBrains.ReSharper.Psi.Impl.reflection2.AssemblyFileLoaderZoned.PsiAssemblyFileLoader.GetOrLoadAssembly(JetBrains.ReSharper.Psi.IPsiAssembly, Boolean, System.Action`3<JetBrains.ReSharper.Psi.IPsiAssembly,JetBrains.ReSharper.Psi.Caches.IPsiAssemblyFile,JetBrains.Metadata.Reader.API.IMetadataAssembly>)
  at JetBrains.ReSharper.Plugins.FSharp.Psi.Metadata.FSharpAssemblyAutoOpenCache.JetBrains.ReSharper.Psi.Caches.IAssemblyCache.Build(JetBrains.ReSharper.Psi.IPsiAssembly)
  at JetBrains.ReSharper.Psi.Caches.Jobs.JobAddAssemblies.Build(JetBrains.ReSharper.Psi.IPsiAssembly)
  at JetBrains.ReSharper.Psi.Caches.Jobs.JobAddAssemblies+<>c__DisplayClass11_1.<Do>b__0(JetBrains.ReSharper.Psi.IPsiAssembly)
  at JetBrains.ReSharper.Psi.Caches.Jobs.CacheJobService2+<>c__DisplayClass36_0`1[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<WrappedJob>b__0()
  at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Delegate)
  at JetBrains.Application.Threading.Tasks.TaskHost.ExecuteJetTask[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Object)
  at System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InnerInvoke()
  at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
  at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
  at System.Threading.Tasks.Task.ExecuteEntry()
  at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(System.Threading.Tasks.Task)
  at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
  at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
  at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.StartProc()

0
1 comment

Hello Josepfs 1995

Could you please reproduce the issue and collect the full log bundle so we could take a closer look at the case? You can share it using the JetBrains Upload service.

Thank you in advance.

0

Please sign in to leave a comment.