每个 .NET 应用程序崩溃(AccessViolationException)

每个 .NET 应用程序崩溃(AccessViolationException)

由于遇到一些问题,我刚刚重新安装了 Windows 10。
我的电脑上每个 .NET 应用程序都崩溃了。它打开了一小会儿,然后就立即关闭了。

我以为重新安装会有所帮助(重新分区并通过 USB 使用最新的安装程序进行全新安装),但遗憾的是,没有。

我第一次注意到这个问题是在 Visual Studio 2019 和 Visual Studio Installer 中。两者在启动后都立即关闭。

查看事件查看器时,我看到了一堆与 .NET 运行时相关的错误,并显示了 AccessViolationExceptions。

我遇到这个问题已经有一个星期了,但仍然找不到任何解决办法。

内存测试未显示任何错误,我还更新了 BIOS 并检查了 RAM 的值是否正确,例如时序和 XMP 配置文件。一切都正确。

我以前没有遇到过类似的事情。从来没有遇到过这样的问题,内存很好,甚至是新的。错误的计时 fE 会导致更多应用程序崩溃,但这些工作正常。

如果您愿意,您还可以查看我的帖子,其中包含大量解决该问题的帖子。线程 1线程 2

以下是一些可视化日志。(从事件日志查看器复制并使用 deepl.com 翻译,因为原文是德语)

Application: Microsoft.ServiceHub.Controller.exe
Framework version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception information: System.AccessViolationException
   at System.Net.ProxyChain+ProxyEnumerator.MoveNext()
   at System.Net.ServicePointManager.FindServicePoint(System.Uri, System.Net.IWebProxy, System.Net.ProxyChain ByRef, System.Net.HttpAbortDelegate ByRef, Int32 ByRef)
   at System.Net.HttpWebRequest.FindServicePoint(Boolean)
   at System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback, System.Object)
   at System.Threading.Tasks.TaskFactory`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].FromAsyncImpl(System.Func`3<System.AsyncCallback,System.Object,System.IAsyncResult>, System.Func`2<System.IAsyncResult,System.__Canon>, System.Action`1<System.IAsyncResult>, System.Object, System.Threading.Tasks.TaskCreationOptions)
   at System.Net.WebRequest.<GetResponseAsync>b__78_1()
   at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Application: vs_setup_bootstrapper.exe
Framework version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception information: System.AccessViolationException
   at System.Security.Cryptography.X509Certificates.X509Chain.Build(System.Security.Cryptography.X509Certificates.X509Certificate2)
   at System.Net.Security.SecureChannel.VerifyRemoteCertificate(System.Net.Security.RemoteCertValidationCallback, System.Net.Security.ProtocolToken ByRef)
   at System.Net.Security.SslState.CompleteHandshake(System.Net.Security.ProtocolToken ByRef)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(System.Net.Security.ProtocolToken, System.Net.AsyncProtocolRequest)
   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[], Int32, System.Net.AsyncProtocolRequest)
   at System.Net.Security.SslState.ReadFrameCallback(System.Net.AsyncProtocolRequest)
   at System.Net.AsyncProtocolRequest.CompleteRequest(Int32)
   at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32)
   at System.Net.FixedSizeReader.ReadCallback(System.IAsyncResult)
   at System.Net.LazyAsyncResult.Complete(IntPtr)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Net.ContextAwareResult.Complete(IntPtr)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
   at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)

Application: ShareX.exe
Framework version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception information: System.AccessViolationException
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean, System.Net.Sockets.Socket, System.Net.Sockets.Socket, System.Net.Sockets.Socket ByRef, System.Net.IPAddress ByRef, ConnectSocketState, System.IAsyncResult, System.Exception ByRef)
   at System.Net.ServicePoint.GetConnection(System.Net.PooledStream, System.Object, Boolean, System.Net.IPAddress ByRef, System.Net.Sockets.Socket ByRef, System.Net.Sockets.Socket ByRef)
   at System.Net.PooledStream.Activate(System.Object, Boolean, System.Net.GeneralAsyncDelegate)
   at System.Net.Connection.CompleteStartConnection(Boolean, System.Net.HttpWebRequest)
   at System.Net.Connection.CompleteStartRequest(Boolean, System.Net.HttpWebRequest, System.Net.TriState)
   at System.Net.Connection.SubmitRequest(System.Net.HttpWebRequest, Boolean)
   at System.Net.ServicePoint.SubmitRequest(System.Net.HttpWebRequest, System.String)
   at System.Net.HttpWebRequest.SubmitRequest(System.Net.ServicePoint)
   at System.Net.HttpWebRequest.GetResponse()
   at System.Net.WebClient.GetWebResponse(System.Net.WebRequest)
   at System.Net.WebClient.DownloadBits(System.Net.WebRequest, System.IO.Stream, System.Net.CompletionDelegate, System.ComponentModel.AsyncOperation)
   at System.Net.WebClient.DownloadDataInternal(System.Uri, System.Net.WebRequest ByRef)
   at System.Net.WebClient.DownloadString(System.Uri)
   at ShareX.NewsManager.GetNews()
   at ShareX.NewsManager.UpdateNews()
   at ShareX.NewsListControl.<Start>b__9_0()
   at System.Threading.Tasks.Task.Execute()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

进一步的日志:https://1drv.ms/u/s!Ah1ey1Vs14BXg06zzPuYhBtfgrA4?e=hpA0hZ

我很感激任何帮助和时间。提前致谢!

更新:我很久以前就通过更换 CPU(将其寄回)解决了这个问题,因为它确实是一个损坏的 CPU。

相关内容