There is a known bug in FCEUX 2.1.5 (and older) that causes it to crash on startup when running on newer SDL versions. I am not sure the exact SDL version that introduces this. There are two possible ways to resolve this: 1. bump package ala #466382 - using the ebuild attached here in my personal overlay fixed it. 2. apply diff from http://ehc.ac/p/fceultra/code/2268/ if there is a reason to not bump package - adding this patch to 2.1.5 also fixes this issue. Reproducible: Always Steps to Reproduce: 1. emerge fceux 2. Attempt to start it. Actual Results: Starting FCEUX 2.1.5... Program received signal SIGSEGV, Segmentation fault. 0x00000000006dd700 in socket () (gdb) bt #0 0x00000000006dd700 in socket () #1 0x00007ffff397521b in _xcb_socket () from /usr/lib64/libxcb.so.1 #2 0x00007ffff3975680 in xcb_connect_to_display_with_auth_info () from /usr/lib64/libxcb.so.1 #3 0x00007ffff6aee39a in _XConnectXCB () from /usr/lib64/libX11.so.6 #4 0x00007ffff6adf07f in XOpenDisplay () from /usr/lib64/libX11.so.6 #5 0x00007ffff7ef3c87 in X11_Available () from /usr/lib64/libSDL-1.2.so.0 #6 0x00007ffff7ee6ad1 in SDL_VideoInit () from /usr/lib64/libSDL-1.2.so.0 #7 0x00007ffff7ec146c in SDL_InitSubSystem () from /usr/lib64/libSDL-1.2.so.0 #8 0x00007ffff7ec14e4 in SDL_Init () from /usr/lib64/libSDL-1.2.so.0 #9 0x000000000040adc7 in main () Expected Results: FCEUX should have started up correctly.
should be fixed in fceux-2.2.2