Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519660 - games-emulation/fceux-2.1.5 crashes on startup due to SDL conflict
Summary: games-emulation/fceux-2.1.5 crashes on startup due to SDL conflict
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL: http://ehc.ac/p/fceultra/code/2268/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-11 17:06 UTC by A. Wilcox (awilfox)
Modified: 2014-12-31 07:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Wilcox (awilfox) 2014-08-11 17:06:46 UTC
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.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2014-12-31 07:58:03 UTC
should be fixed in fceux-2.2.2