Debian Bug report logs - #883707
ace-of-penguins: On new installed Debian 9 ace-freecell crashes on

version graph

Package: ace-of-penguins; Maintainer for ace-of-penguins is Debian Games Team <pkg-games-devel@lists.alioth.debian.org>; Source for ace-of-penguins is src:ace-of-penguins (PTS, buildd, popcon).

Reported by: "Dr. Claudia Neumann" <neumann@apraxos.de>

Date: Wed, 6 Dec 2017 17:45:02 UTC

Severity: minor

Found in version ace-of-penguins/1.5~rc2-1

Fixed in version ace-of-penguins/1.5~rc2-2

Done: Markus Koschany <apo@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#883707; Package ace-of-penguins. (Wed, 06 Dec 2017 17:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Dr. Claudia Neumann" <neumann@apraxos.de>:
New Bug report received and forwarded. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Wed, 06 Dec 2017 17:45:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Dr. Claudia Neumann" <neumann@apraxos.de>
To: submit@bugs.debian.org
Subject: ace-of-penguins: On new installed Debian 9 ace-freecell crashes on
Date: Wed, 06 Dec 2017 18:40:59 +0100
Package: ace-of-penguins
Version: 1.5~rc2-1+b1
Severity: minor

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation? dont know
   * What exactly did you do (or not do) that was effective (or
     ineffective)? nothing
   * What was the outcome of this action? ace-freecell is useless
   * What outcome did you expect instead? error should be eliminated.

Error seen on console starting ace-freecell:
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  73 (X_GetImage)
  Serial number of failed request:  25
  Current serial number in output stream:  25


-- System Information:
Debian Release: 9.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de:en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ace-of-penguins depends on:
ii  libc6        2.24-11+deb9u1
ii  libpng16-16  1.6.28-1
ii  libx11-6     2:1.6.4-3

Versions of packages ace-of-penguins recommends:
ii  xfonts-100dpi  1:1.0.4+nmu1

ace-of-penguins suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#883707; Package ace-of-penguins. (Fri, 08 Dec 2017 19:33:03 GMT) (full text, mbox, link).


Acknowledgement sent to 883707@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Fri, 08 Dec 2017 19:33:03 GMT) (full text, mbox, link).


Message #10 received at 883707@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@debian.org>
To: "Dr. Claudia Neumann" <neumann@apraxos.de>
Cc: 883707@bugs.debian.org
Subject: Re: Bug#883707: ace-of-penguins: On new installed Debian 9 ace-freecell crashes on
Date: Fri, 8 Dec 2017 20:32:02 +0100
[Message part 1 (text/plain, inline)]
Am 06.12.2017 um 18:40 schrieb Dr. Claudia Neumann:
> Package: ace-of-penguins
> Version: 1.5~rc2-1+b1
> Severity: minor
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where appropriate ***
> 
>    * What led up to the situation? dont know
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)? nothing
>    * What was the outcome of this action? ace-freecell is useless
>    * What outcome did you expect instead? error should be eliminated.
> 
> Error seen on console starting ace-freecell:
> X Error of failed request:  BadMatch (invalid parameter attributes)
>   Major opcode of failed request:  73 (X_GetImage)
>   Serial number of failed request:  25
>   Current serial number in output stream:  25


Hello,

thanks for reporting. I have tried to confirm this crash on two
computers but couldn't reproduce it. The error message

"X Error of failed request:  BadMatch (invalid parameter attributes)"
indicates some issue with the X server and/or your resolution. This
could also be caused by your graphics driver.

Does this also happen with other games/applications or is ace-freecell
the only affected program?

You could try to get a stacktrace of the crash by installing gdb. Then run

gdb ace-freecell

and type the following sequence within gdb:

set logging on
run

then wait for the crash and type

bt full

quit


There should be a gdb.txt file in your working directory. Please attach
it to this bug report. Please also provide the output of glxinfo. You
can find this tool in mesa-utils.

	glxinfo > glxinfo.txt


Regards,

Markus


[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#883707; Package ace-of-penguins. (Fri, 08 Dec 2017 20:24:05 GMT) (full text, mbox, link).


Acknowledgement sent to "Dr. Claudia Neumann" <neumann@apraxos.de>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Fri, 08 Dec 2017 20:24:05 GMT) (full text, mbox, link).


Message #15 received at 883707@bugs.debian.org (full text, mbox, reply):

From: "Dr. Claudia Neumann" <neumann@apraxos.de>
To: 883707@bugs.debian.org
Subject: Re: Bug#883707: ace-of-penguins: On new installed Debian 9 ace-freecell crashes on
Date: Fri, 08 Dec 2017 21:21:19 +0100
[Message part 1 (text/plain, inline)]
Hi Markus,

thank you for investigating in this matter. I am very fond of playing freecell on debian. I had 
no problems doing it on debian 8. I installed a fresh debian 9 kde but used the old /home 
directory. Perhaps some old configuration file provokes the crash?

I tested the other ace-games. No crash.

-------------------------------------------------------
*claudia@Mediondeb*:*~*$ gdb ace-freecell 

---------------------------------

gbd.txt:

Starting program: /usr/games/ace-freecell 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Inferior 1 (process 5501) exited with code 01]
No stack.   -----------------------------------

glxinfo.txt attached.

Best regards

Claudia

 

Am Freitag, 8. Dezember 2017, 20:32:02 CET schrieb Markus Koschany:
> Am 06.12.2017 um 18:40 schrieb Dr. Claudia Neumann:
> > Package: ace-of-penguins
> > Version: 1.5~rc2-1+b1
> > Severity: minor
> > 
> > Dear Maintainer,
> > 
> > *** Reporter, please consider answering these questions, where appropriate
> > ***> 
> >    * What led up to the situation? dont know
> >    * What exactly did you do (or not do) that was effective (or
> >    
> >      ineffective)? nothing
> >    
> >    * What was the outcome of this action? ace-freecell is useless
> >    * What outcome did you expect instead? error should be eliminated.
> > 
> > Error seen on console starting ace-freecell:
> > X Error of failed request:  BadMatch (invalid parameter attributes)
> > 
> >   Major opcode of failed request:  73 (X_GetImage)
> >   Serial number of failed request:  25
> >   Current serial number in output stream:  25
> 
> Hello,
> 
> thanks for reporting. I have tried to confirm this crash on two
> computers but couldn't reproduce it. The error message
> 
> "X Error of failed request:  BadMatch (invalid parameter attributes)"
> indicates some issue with the X server and/or your resolution. This
> could also be caused by your graphics driver.
> 
> Does this also happen with other games/applications or is ace-freecell
> the only affected program?
> 
> You could try to get a stacktrace of the crash by installing gdb. Then run
> 
> gdb ace-freecell
> 
> and type the following sequence within gdb:
> 
> set logging on
> run
> 
> then wait for the crash and type
> 
> bt full
> 
> quit
> 
> 
> There should be a gdb.txt file in your working directory. Please attach
> it to this bug report. Please also provide the output of glxinfo. You
> can find this tool in mesa-utils.
> 
> 	glxinfo > glxinfo.txt
> 
> 
> Regards,
> 
> Markus


[Message part 2 (text/html, inline)]
[glxinfo.txt (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#883707; Package ace-of-penguins. (Sat, 09 Dec 2017 13:27:07 GMT) (full text, mbox, link).


Acknowledgement sent to 883707@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Sat, 09 Dec 2017 13:27:07 GMT) (full text, mbox, link).


Message #20 received at 883707@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@debian.org>
To: "Dr. Claudia Neumann" <neumann@apraxos.de>
Cc: 883707@bugs.debian.org
Subject: Re: Bug#883707: ace-of-penguins: On new installed Debian 9 ace-freecell crashes on
Date: Sat, 9 Dec 2017 14:25:45 +0100
[Message part 1 (text/plain, inline)]
Am 08.12.2017 um 21:21 schrieb Dr. Claudia Neumann:
> Hi Markus,
> 
>  
> 
> thank you for investigating in this matter. I am very fond of playing
> freecell on debian. I had no problems doing it on debian 8. I installed
> a fresh debian 9 kde but used the old /home directory. Perhaps some old
> configuration file provokes the crash?
> 
>  
> 
> I tested the other ace-games. No crash.

Hi,

I did more research and found Debian bug #840342 again. Last year
someone reported a very similar issue. From your log files I can deduce
that you use an Intel graphics card.

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile

Is this maybe a hybrid model? (Nvidia/Intel) Could you post the output
of lspci?

I don't know why ace-freecell is the only game that triggers this
startup error. But it is suspicious that the other user also tried to
play the game under KDE, so it could also be related to kwin, the window
manager of KDE. It's a bit difficult to debug for me because I neither
use KDE nor do I own a Nvidia card currently.

Markus

[1] https://bugs.debian.org/840342

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#883707; Package ace-of-penguins. (Sat, 09 Dec 2017 17:48:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Dr. Claudia Neumann" <neumann@apraxos.de>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Sat, 09 Dec 2017 17:48:02 GMT) (full text, mbox, link).


Message #25 received at 883707@bugs.debian.org (full text, mbox, reply):

From: "Dr. Claudia Neumann" <neumann@apraxos.de>
To: 883707@bugs.debian.org
Subject: Re: Bug#883707: ace-of-penguins: On new installed Debian 9 ace-freecell crashes on
Date: Sat, 09 Dec 2017 18:45:43 +0100
[Message part 1 (text/plain, inline)]
Hi Markus,

no, no nvidia card:

root@Mediondeb:/home/claudia/VirtualBox VMs# lspci 

I tried ace-of-penguins on another laptop with Debian 9 64-Bit KDE: the same error with ace-
freecell.

lspci of the other laptop:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1576
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1577
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 98e4 (rev 
d4)
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15b3
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1578
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157d
00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Device 157a
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 20)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI 
mode] (rev 4b)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 49)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4b)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15b5
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express 
Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device d723

No nvidia card as well.

I tried it on my first laptop with another user (no configuration files at all). The same error 
with ace-freecell.

I know ace-freecell works on Linux mint.



Claudia

Am Samstag, 9. Dezember 2017, 14:25:45 CET schrieb Markus Koschany:
> Am 08.12.2017 um 21:21 schrieb Dr. Claudia Neumann:
> > Hi Markus,
> > 
> >  
> > 
> > thank you for investigating in this matter. I am very fond of playing
> > freecell on debian. I had no problems doing it on debian 8. I installed
> > a fresh debian 9 kde but used the old /home directory. Perhaps some old
> > configuration file provokes the crash?
> > 
> >  
> > 
> > I tested the other ace-games. No crash.
> 
> Hi,
> 
> I did more research and found Debian bug #840342 again. Last year
> someone reported a very similar issue. From your log files I can deduce
> that you use an Intel graphics card.
> 
> OpenGL vendor string: Intel Open Source Technology Center
> OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
> 
> Is this maybe a hybrid model? (Nvidia/Intel) Could you post the output
> of lspci?
> 
> I don't know why ace-freecell is the only game that triggers this
> startup error. But it is suspicious that the other user also tried to
> play the game under KDE, so it could also be related to kwin, the window
> manager of KDE. It's a bit difficult to debug for me because I neither
> use KDE nor do I own a Nvidia card currently.
> 
> Markus
> 
> [1] https://bugs.debian.org/840342


[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#883707; Package ace-of-penguins. (Sat, 09 Dec 2017 18:24:03 GMT) (full text, mbox, link).


Acknowledgement sent to 883707@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Sat, 09 Dec 2017 18:24:03 GMT) (full text, mbox, link).


Message #30 received at 883707@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@debian.org>
To: "Dr. Claudia Neumann" <neumann@apraxos.de>
Cc: 883707@bugs.debian.org
Subject: Re: Bug#883707: ace-of-penguins: On new installed Debian 9 ace-freecell crashes on
Date: Sat, 9 Dec 2017 19:22:20 +0100
[Message part 1 (text/plain, inline)]
Am 09.12.2017 um 18:45 schrieb Dr. Claudia Neumann:
> Hi Markus,
> 
>  
> 
> no, no nvidia card:

Hi Claudia,

thanks for the reply. Ok then I suspect something doesn't play well with
ace-freecell and KDE but I have to setup a new system to confirm that.

[...]
> I tried it on my first laptop with another user (no configuration files
> at all). The same error with ace-freecell.

Do you use Debian Stretch and KDE on this one too?

> I know ace-freecell works on Linux mint.

I presume the version is exactly the same as in Debian? They usually
just copy Debian packages. No KDE here?

Regards,

Markus

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#883707; Package ace-of-penguins. (Sat, 09 Dec 2017 20:21:09 GMT) (full text, mbox, link).


Acknowledgement sent to "Dr. Claudia Neumann" <neumann@apraxos.de>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Sat, 09 Dec 2017 20:21:09 GMT) (full text, mbox, link).


Message #35 received at 883707@bugs.debian.org (full text, mbox, reply):

From: "Dr. Claudia Neumann" <neumann@apraxos.de>
To: 883707@bugs.debian.org
Subject: Re: Bug#883707: ace-of-penguins: On new installed Debian 9 ace-freecell crashes on
Date: Sat, 09 Dec 2017 21:17:01 +0100
Hi Markus,

Am Samstag, 9. Dezember 2017, 19:22:20 CET schrieben Sie:
> Am 09.12.2017 um 18:45 schrieb Dr. Claudia Neumann:
> > Hi Markus,
> > 
> >  
> 
> > no, no nvidia card:
> Hi Claudia,
> 
> thanks for the reply. Ok then I suspect something doesn't play well with
> ace-freecell and KDE but I have to setup a new system to confirm that.
> 
> [...]
> 
> > I tried it on my first laptop with another user (no configuration files
> > at all). The same error with ace-freecell.
> 
> Do you use Debian Stretch and KDE on this one too?

Yes

> > I know ace-freecell works on Linux mint.
> 
> I presume the version is exactly the same as in Debian? They usually
> just copy Debian packages. No KDE here?

On Linux Mint (older version) it is ace-of-penguins 1.4_0ubuntu2. It is Xfce.

Best regards

Claudia
 
> Regards,
> 
> Markus





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#883707; Package ace-of-penguins. (Sun, 11 Feb 2018 18:57:06 GMT) (full text, mbox, link).


Acknowledgement sent to Markus Koschany <apo@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Sun, 11 Feb 2018 18:57:06 GMT) (full text, mbox, link).


Message #40 received at 883707@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@debian.org>
To: esa.peuha@gmail.com
Cc: 883707@bugs.debian.org
Subject: ace-freecell crashes on KDE desktops
Date: Sun, 11 Feb 2018 19:55:22 +0100
Hello Esa,

you were the last upstream contact for ace-of-penguins hence I would
like to forward a Debian bug report to you. I can confirm that
ace-freecell cannot be started on KDE desktops. The error message is:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  73 (X_GetImage)
  Serial number of failed request:  25
  Current serial number in output stream:  25

Interestingly the other games work and when I run one of them first and
then try to start ace-freecell, the game works without any issues as well.

So there might be some missing initialization in ace-freecell which the
other games do correctly or maybe it is something completely different.
I can reproduce this behavior only on KDE, so it might also be some kind
of KDE bug.

Do you have any ideas how this issue can be fixed?

Regards,

Markus



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#883707; Package ace-of-penguins. (Mon, 12 Feb 2018 21:36:05 GMT) (full text, mbox, link).


Acknowledgement sent to Esa Peuha <esa.peuha@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Mon, 12 Feb 2018 21:36:05 GMT) (full text, mbox, link).


Message #45 received at 883707@bugs.debian.org (full text, mbox, reply):

From: Esa Peuha <esa.peuha@gmail.com>
To: Markus Koschany <apo@debian.org>
Cc: 883707@bugs.debian.org
Subject: Re: ace-freecell crashes on KDE desktops
Date: Mon, 12 Feb 2018 23:34:11 +0200
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.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#883707; Package ace-of-penguins. (Tue, 13 Feb 2018 13:15:12 GMT) (full text, mbox, link).


Acknowledgement sent to Markus Koschany <apo@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Tue, 13 Feb 2018 13:15:12 GMT) (full text, mbox, link).


Message #50 received at 883707@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@debian.org>
To: Esa Peuha <esa.peuha@gmail.com>
Cc: 883707@bugs.debian.org
Subject: Re: ace-freecell crashes on KDE desktops
Date: Tue, 13 Feb 2018 14:10:23 +0100
[Message part 1 (text/plain, inline)]
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?




[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#883707; Package ace-of-penguins. (Tue, 27 Feb 2018 19:33:05 GMT) (full text, mbox, link).


Acknowledgement sent to Esa Peuha <esa.peuha@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Tue, 27 Feb 2018 19:33:05 GMT) (full text, mbox, link).


Message #55 received at 883707@bugs.debian.org (full text, mbox, reply):

From: Esa Peuha <esa.peuha@gmail.com>
To: Markus Koschany <apo@debian.org>
Cc: 883707@bugs.debian.org
Subject: Re: ace-freecell crashes on KDE desktops
Date: Tue, 27 Feb 2018 21:29:35 +0200
[Message part 1 (text/plain, inline)]
I think I've found out what is causing this bug and why it only affects
freecell. When any of these games start up, the kde window manager sends
an expose event for one pixel at the top left corner, then an expose
event for the rest of the top row of pixels, then an expose event for
the remaining pixel rows. This unusual pattern makes no difference for
the other games, because their top row of pixels contains just empty
background. However freecell puts all of its initially empty card stacks
right at the top of its window, and to make these stacks visible to the
player, each of them has the "empty" picture on them. Therefore when
freecell gets the initial one-pixel expose event, that pixel happens to
be in the leftmost empty stack, so it has to draw the "empty" picture
there. In the process of doing so, function build_image in xwin.c calls
XGetImage to get an 8x8 pixel square from the top left corner of the
window as an ximage so that it can pass the depth, format and bitmap_pad
parameters to XCreateImage. Unfortunately at that point freecell hasn't
written anything (even the background color) to 255 of the 256 pixels
because they haven't been exposed yet, and (as far as I can tell) if
*no other program* has done so either, those pixels are uninitialized
and the call to XGetImage fails; at least that seems to be why freecell
starts to work after starting and quitting any other of these games.

I don't know whether the actual bug is in xwin.c or kde (or both), and
I don't think I want to dig deeper to find out. However, it should be
easy to work around the problem in freecell by moving the tops of the
empty stacks to the second row of pixels; here's a patch to do that.
Could you try it to make sure it works?
[freecell.diff (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#883707; Package ace-of-penguins. (Fri, 02 Mar 2018 21:42:02 GMT) (full text, mbox, link).


Acknowledgement sent to Markus Koschany <apo@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Fri, 02 Mar 2018 21:42:03 GMT) (full text, mbox, link).


Message #60 received at 883707@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@debian.org>
To: Esa Peuha <esa.peuha@gmail.com>
Cc: 883707@bugs.debian.org
Subject: Re: ace-freecell crashes on KDE desktops
Date: Fri, 2 Mar 2018 22:38:47 +0100
[Message part 1 (text/plain, inline)]

Am 27.02.2018 um 20:29 schrieb Esa Peuha:
> I think I've found out what is causing this bug and why it only affects
> freecell. 
[...]

Thank you very much for the analysis, insight and your patch! I can
confirm that works for me. I agree this is probably a bug in xwin/kde or
at least an oddity. It's not worth the time to investigate further. I
will upload a new revision of ace-of-penguins with your patch soon.

Cheers,

Markus

[signature.asc (application/pgp-signature, attachment)]

Reply sent to Markus Koschany <apo@debian.org>:
You have taken responsibility. (Fri, 02 Mar 2018 21:51:06 GMT) (full text, mbox, link).


Notification sent to "Dr. Claudia Neumann" <neumann@apraxos.de>:
Bug acknowledged by developer. (Fri, 02 Mar 2018 21:51:07 GMT) (full text, mbox, link).


Message #65 received at 883707-close@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@debian.org>
To: 883707-close@bugs.debian.org
Subject: Bug#883707: fixed in ace-of-penguins 1.5~rc2-2
Date: Fri, 02 Mar 2018 21:49:56 +0000
Source: ace-of-penguins
Source-Version: 1.5~rc2-2

We believe that the bug you reported is fixed in the latest version of
ace-of-penguins, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 883707@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <apo@debian.org> (supplier of updated ace-of-penguins package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 02 Mar 2018 21:53:00 +0100
Source: ace-of-penguins
Binary: ace-of-penguins
Architecture: source
Version: 1.5~rc2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Markus Koschany <apo@debian.org>
Description:
 ace-of-penguins - penguin-themed solitaire games
Closes: 883707
Changes:
 ace-of-penguins (1.5~rc2-2) unstable; urgency=medium
 .
   * Use compat level 11.
   * Use canonical VCS address.
   * Declare compliance with Debian Policy 4.1.3.
   * Drop obsolete menu file and xpm icon.
   * Remove dirs file.
   * Use https for Format field.
   * Add freecell-KDE.patch and fix freecell's start issues on KDE.
     Thanks to Dr. Claudia Neumann for the report and Esa Peuha for the patch.
     (Closes: #883707)
Checksums-Sha1:
 2ea8446359908277670ec2470e1e1c6342c36d6d 2189 ace-of-penguins_1.5~rc2-2.dsc
 49f2f4523ac9c32808d84a5c51c7131c4c853efe 11368 ace-of-penguins_1.5~rc2-2.debian.tar.xz
 f69ff0bb113527ea4433389d8f874a3555b08d1c 6349 ace-of-penguins_1.5~rc2-2_amd64.buildinfo
Checksums-Sha256:
 18f9234f8d7286028a2d0b44183fe21211a21bb49761d920ffa5caf4cde464b0 2189 ace-of-penguins_1.5~rc2-2.dsc
 d294b6cdd8ca64805006a4b8a1dc26a6a4533c97537db94caca5a57b0cda9e76 11368 ace-of-penguins_1.5~rc2-2.debian.tar.xz
 3c81dd121255d2c78c4a37a0a7ea1a35b74c340aea048eb4e4cf30385211b749 6349 ace-of-penguins_1.5~rc2-2_amd64.buildinfo
Files:
 7ec2f349c120324b7188e88629181fc6 2189 games optional ace-of-penguins_1.5~rc2-2.dsc
 f76d84c1f74a1ab225b5a382d3ad6ab0 11368 games optional ace-of-penguins_1.5~rc2-2.debian.tar.xz
 5bb3a9ffda9efd3dbff01123847658ba 6349 games optional ace-of-penguins_1.5~rc2-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAlqZwnZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1HkDw4P/2oDx4+9YqQiJ+nTtXzHzt5ayr71f33pFgGM
9BZkPJSM0igD1nF3xF/jhynnnquCWmtrB2y6aVZctyBzW9WczlCtf10JK66oHE+p
ut3Fw7V3a8giK6It46jvhHBtTPT2JNp1latZpUS55sA4cAeQExLerEiOa55/uqSz
ojwByWdH85GCG71YsWpm2KmonxIk+LH1nuDaLmXMv/vd8vmbZP2mDDG0K6nJH99y
/m5ykVvCjBglkfMW0MrcSscFV6b25ZVZATCLxUq5wdsJYrhJzS/+AI6tq+i5LVvT
708P7KlJ6fotqPtOojFyZRXx8pzmXRmdZHRKjdJEyIzop3iXdOb0y5fRcoYP5QdV
5ddpFREwrprDYIhcjxZGc3pPqp0SDXeZfQQFkvmX5iNzB9mdu4Ivm/Asg0UpmdKV
k/dNunpCDGfjv20UbY7GBOTU8cOE+gVAnMgYfBayxBWY1nn530KJx4alY9ewIkiD
Z0mIGSm1cVROHaz4fwZlh4J+UrVYdC+xiyqKrvofC20zgEVZ58JhSVpRYT8kXjOY
agECLZopVho5a6YdM4OLSHhR7V3zuIIwT+gdHY8tUsMg48hqTyPhSyMtWP1r6uts
Gg2xBqEjvCHOlsrTyDr1yyahyTyVHZ2imbQuxhBGq/UIq9Kaql5MBLHUSkHlBRSw
+xH9th/W
=HQWc
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 27 May 2018 07:25:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 10:57:58 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.