PCSX segfaults if the heap is nonexecutable. It dynamically recompiles into a malloc()'ed buffer, and then executes that code. As such, it segfaults on the very first instruction it tries to execute. Reproducible: Always Steps to Reproduce: 1. Run pcsx on an x86 kernel with PAE (or any amd64?) 2. Try to execute a PSX game 3. Segfault
Created attachment 178671 [details, diff] NX fix Patch to allocate recompile buffer with mmap, which works for me.