You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CeSun
changed the title
[Mono]Assertion at /runtime/src/mono/mono/mini/mini-runtime.c:417, condition `ptr' not met\n"
[Mono]Assertion at /runtime/src/mono/mono/mini/mini-runtime.c:417, condition `ptr' not met
Dec 31, 2024
I tried to run Mono on the HarmonyOS(HarmonyOS info: #110074 (comment)).
When calling the mono_jit_init function, a crash occurs and the error message is output:
After investigation, it was found that the mono_valloc function failed when calling mmap:
The value of the prot parameter here is PROT_READ | PROT_WRITE | PROT_EXEC.
HarmonyOS may not support the PROT_EXEC flag
I guessed that PROT_EXEC has something to do with jit, so I set Mono's AOT mode to MONO_AOT_MODE_INTERP_ONLY, but still crashes.
I would like to ask if there is a way to avoid the PROT_EXEC flag
The text was updated successfully, but these errors were encountered: