Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174056 - app-emulation/vice broken by libx11 update
Summary: app-emulation/vice broken by libx11 update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL: http://www.nabble.com/Bug-418295%3A-v...
Whiteboard:
Keywords:
: 177108 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-10 17:16 UTC by Andrew Williams
Modified: 2007-05-05 20:28 UTC (History)
2 users (show)

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


Attachments
Patch to make vice-1.20 work with most recent libX11 (vice-1.20-libx11-security-update.patch,1.13 KB, patch)
2007-04-18 10:41 UTC, Paolo Pedroni
Details | Diff
Patch to vice-1.20.ebuild (vice-1.20-r1.patch,671 bytes, patch)
2007-04-18 10:43 UTC, Paolo Pedroni
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Williams 2007-04-10 17:16:40 UTC
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!
Comment 1 Andrew Williams 2007-04-11 06:16:37 UTC
Just an update to say that I've tried the patch manually and it definitely does work.
Comment 2 Paolo Pedroni 2007-04-18 10:41:45 UTC
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
Comment 3 Paolo Pedroni 2007-04-18 10:43:57 UTC
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.
Comment 4 Tristan Heaven (RETIRED) gentoo-dev 2007-04-26 18:07:16 UTC
Fixed in 1.21, thanks.
Comment 5 Tristan Heaven (RETIRED) gentoo-dev 2007-05-05 20:28:18 UTC
*** Bug 177108 has been marked as a duplicate of this bug. ***