Bug#883707: ace-freecell crashes on KDE desktops

Markus Koschany apo at debian.org
Tue Feb 13 13:10:23 UTC 2018


Am 12.02.2018 um 22:34 schrieb Esa Peuha:
> That's very odd. Presumably a program can only cause that error message
> by calling XGetImage, and freecell (like every other of these games
> except taipei) can only do so from line 819 of xwin.c in build_image.
> However, the only non-constant arguments to XGetImage are display and
> window, and if one of those variables has an invalid value, I would
> expect an error long before reaching that point. Looking at the sources,
> the only obvious difference between freecell and everything else is that
> freecell defaults to a window that is 640 pixels wide and 480 pixels
> high, and I can just about imagine that some piece of code might treat
> a window with those exact dimensions specially. That should be easy to
> test; if "ace-freecell -width 700 -height 500" works when it would fail
> without those arguments, and if the other games fail if you start them
> with "-width 640 -height 480" then it's pretty clear this is the cause.

Thank you very much for the detailed response. I have tried the above
but ace-freecell would still fail with any variation of -width and
-height options. The other games start fine with -width 640 and -height 480.

This only happens when I try to start ace-freecell for the first time.
If I try to start the game again it suddenly works. Maybe the code
should be changed so that it not defaults to 640 x 480 pixels and
behaves like the other games?




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20180213/c1c8a9d3/attachment.sig>


More information about the Pkg-games-devel mailing list