Running any of the emulators provided by vice results in a signal 11 error preceded by the message: XCreateImage failed Reproducible: Always Steps to Reproduce: 1. Run x64 2. 3. Actual Results: Set fontpath: `xset fp+ /usr/games/lib/vice/fonts'. *** VICE Version 1.20 *** Welcome to x64, the free portable C64 Emulator. Current VICE team members: A. Boose, D. Lem, T. Biczo, A. Dehmel, T. Bretz, A. Matthies, M. Pottendorfer, M. Brenner, S. Trikaliotis, M. van den Heuvel. This is free software with ABSOLUTELY NO WARRANTY. See the "About VICE" command for more info. X11: Found 24bit visual. Loading system file `/usr/games/lib/vice/C64/kernal'. C64MEM: Kernal rev #3. Loading system file `/usr/games/lib/vice/C64/basic'. Loading system file `/usr/games/lib/vice/C64/chargen'. Loading system file `/usr/games/lib/vice/PRINTER/mps803'. Palette: Loading palette `/usr/games/lib/vice/PRINTER/mps803.vpl'. Loading system file `/usr/games/lib/vice/PRINTER/nl10-cbm'. Palette: Loading palette `/usr/games/lib/vice/PRINTER/mps803.vpl'. NL10: Printer driver initialized. Loading system file `/usr/games/lib/vice/DRIVES/dos1541'. Loading system file `/usr/games/lib/vice/DRIVES/d1541II'. Loading system file `/usr/games/lib/vice/DRIVES/dos1570'. Loading system file `/usr/games/lib/vice/DRIVES/dos1571'. Loading system file `/usr/games/lib/vice/DRIVES/dos1581'. Loading system file `/usr/games/lib/vice/DRIVES/dos2031'. Loading system file `/usr/games/lib/vice/DRIVES/dos2040'. Loading system file `/usr/games/lib/vice/DRIVES/dos3040'. Loading system file `/usr/games/lib/vice/DRIVES/dos4040'. Loading system file `/usr/games/lib/vice/DRIVES/dos1001'. Drive: Finished loading ROM images. GnomeVideo: Successfully initialized video. X11: Using private colormap. XCreateImage failed. XCreateImage failed. Received signal 11. Exiting... Expected Results: Run without crashing It seems that this is a known problem, as detailed here: http://www.nabble.com/Bug-418295%3A-vice-broken-by-libx11-security-update-p9896114.html That page also includes a patch to fix it which apparently (according to a couple of testers) does work: http://ubuntuforums.org/showthread.php?t=278022&page=5 By the way, vice version 1.21 is out!
Just an update to say that I've tried the patch manually and it definitely does work.
Created attachment 116617 [details, diff] Patch to make vice-1.20 work with most recent libX11 This is the patch required to make vice work with the recent X11
Created attachment 116619 [details, diff] Patch to vice-1.20.ebuild Self describing, actually. Since I'm not a developer, I've never studied the patch submission policies and I don't know if this kind of patch warrants a revision bump. Please adjust accordingly.
Fixed in 1.21, thanks.
*** Bug 177108 has been marked as a duplicate of this bug. ***