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.
Steps to Reproduce:
1. Run pcsx on an x86 kernel with PAE (or any amd64?)
2. Try to execute a PSX game
Created attachment 178671 [details, diff]
Patch to allocate recompile buffer with mmap, which works for me.