HarmonyX icon indicating copy to clipboard operation
HarmonyX copied to clipboard

AccessViolationException

Open pengweiqhca opened this issue 3 years ago • 3 comments

System.AccessViolationException
   at HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.GetMethodFix(System.Diagnostics.StackFrame)
   at System.Diagnostics.StackTrace.ToString(TraceFormat)
   at System.Exception.GetStackTrace(Boolean)
   at System.Exception.ToString(Boolean, Boolean)
   at System.String.Concat(System.Object, System.Object)
   at System.Web.HttpRuntime.ReleaseResourcesAndUnloadAppDomain(System.Object)
   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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

pengweiqhca avatar Dec 01 '21 09:12 pengweiqhca

Can you give more information about the environment? Post the game log.

ManlyMarco avatar Dec 01 '21 10:12 ManlyMarco

In asp.net (not core), when asp.net restart, iisexpress/w3wp crash. The stack trace from windows events.

pengweiqhca avatar Dec 01 '21 12:12 pengweiqhca

What .NET framework is your application running in? IIRC Harmony (non-X) had limited support for .NET framework, but I believe it was only tested on 4.0

bbepis avatar Dec 08 '21 16:12 bbepis