Skip to content

Instantly share code, notes, and snippets.

@rinsuki
Created September 15, 2024 05:37
Show Gist options
  • Save rinsuki/a40ab6869b47ea11cf5a5406348b2122 to your computer and use it in GitHub Desktop.
Save rinsuki/a40ab6869b47ea11cf5a5406348b2122 to your computer and use it in GitHub Desktop.
Exception: mprotect returned EACCES
MonoMod.RuntimeDetour.Platforms.DetourNativeMonoPosixPlatform.SetMemPerms (System.IntPtr start, System.UInt64 len, MonoMod.RuntimeDetour.Platforms.DetourNativeMonoPosixPlatform+MmapProts prot) (at <036d18f9edfb4e6d97ce4f777d0e0eb4>:0)
MonoMod.RuntimeDetour.Platforms.DetourNativeMonoPosixPlatform.MakeWritable (System.IntPtr src, System.UInt32 size) (at <036d18f9edfb4e6d97ce4f777d0e0eb4>:0)
MonoMod.RuntimeDetour.DetourHelper.MakeWritable (MonoMod.RuntimeDetour.IDetourNativePlatform plat, MonoMod.RuntimeDetour.NativeDetourData detour) (at <036d18f9edfb4e6d97ce4f777d0e0eb4>:0)
MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform._HookSelftest (System.Reflection.MethodInfo from, System.Reflection.MethodInfo to) (at <036d18f9edfb4e6d97ce4f777d0e0eb4>:0)
MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform..ctor () (at <036d18f9edfb4e6d97ce4f777d0e0eb4>:0)
MonoMod.RuntimeDetour.Platforms.DetourRuntimeMonoPlatform..ctor () (at <036d18f9edfb4e6d97ce4f777d0e0eb4>:0)
MonoMod.RuntimeDetour.DetourHelper.get_Runtime () (at <036d18f9edfb4e6d97ce4f777d0e0eb4>:0)
HarmonyLib.HarmonySharedState.WithState[T] (System.Func`1[TResult] action) (at <036d18f9edfb4e6d97ce4f777d0e0eb4>:0)
HarmonyLib.HarmonySharedState.GetPatchInfo (System.Reflection.MethodBase method) (at <036d18f9edfb4e6d97ce4f777d0e0eb4>:0)
HarmonyLib.PatchProcessor.Patch () (at <036d18f9edfb4e6d97ce4f777d0e0eb4>:0)
HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) (at <036d18f9edfb4e6d97ce4f777d0e0eb4>:0)
UdonSharpEditor.UdonSharpEditorManager.PatchInspectorTitleIfNeeded () (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorManager.cs:816)
UdonSharpEditor.UdonSharpEditorManager.OnEditorUpdate () (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorManager.cs:768)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:381)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment