#Linux: System.ComponentModel.Win32Exception (13): SELinux execheap probe failed!
23 messages · Page 1 of 1 (latest)
I have the same problem like there was before me, but with name "Celeste". I fixed it with
sudo cat /var/log/audit/audit.log | grep "Celeste" | sudo audit2allow -M everest_core_fix
sudo semodule -i everest_core_fix.pp
thanks, solution: https://discordapp.com/channels/403698615446536203/1126950280722923570
Good thing I added that
Actually
@silk marlin Can you check that there aren't any other SELinux errors now? It might be that you only gave permission to the probe, and not the actual runtime
seeing as they never followed up and said they're still encountering issues i think it's safe to assume it's fine
That's the thing
If the runtime is failing execheap it doesn't crash or anything, it causes very subtle and hard to debug game-corruption like effects
i mean by this point they would've noticed, no?
what should i do to check it?
Just grep the audit logs for execheap and check if anything pops up
maybe it's correct
If nothing pops up you should be in the clear 
Thank you so so much, your answer saved me from a LOT of trouble
further explanation of the fix that I wrote up. I figured it'd be good to have this pasted here since this thread will probably be the first thing that comes up when people search for this issue:
System.ComponentModel.Win32Exception: SELinux execheap probe failed! Please ensure Everest has this permission, then try again
This occurs due to a permission error on Linux systems running SELinux, such as Fedora. To resolve this, use the following steps to allow Celeste to have the permissions it needs:
- Open a terminal window on the computer the crash happened on and run
sudo cat /var/log/audit/audit.log | grep execheap | grep Celeste- This searches the SELinux logs for entries showing that it denied Celeste
execheap, which is a permission that .NET needs to function properly.
- This searches the SELinux logs for entries showing that it denied Celeste
- If you see an output like
type=AVC msg=audit(1702580366.688:3126): avc: denied { execheap } for pid=353681 comm="Celeste" ..., then continue with these steps. If you get an error or no output, follow the instructions below to report the issue.- This output indicates that such entries exist in the logs, indicating that Celeste was indeed denied this permission.
- Run
sudo cat /var/log/audit/audit.log | grep execheap | grep Celeste | sudo audit2allow -M everest_core_fix- This finds the same entries as before in the SELinux logs, and then creates a rule that tells SELinux to allow Celeste to have this permission.
- Run
sudo semodule -i everest_core_fix.pp- This enables the rule that was created in the previous step, allowing Celeste to have the
execheappermission.
After following these steps, try launching Celeste again. If the issue is not resolved, please report this on Discord.
- This enables the rule that was created in the previous step, allowing Celeste to have the
I assume that's just your wiki entry, right? 

in the common exceptions page
(currently going through every page and making use of the github alerts)
This would actually make for a good command IMO
It's not frequent, but it definitely is an authorative answer to a generic problem which might occur
yep! I just pasted it here since this is the first post explicitly about the crash from the probe you added. I agree that a command would probably be good