#1041194 ace-of-penguins: Merlin fails with X error

Package:
ace-of-penguins
Source:
ace-of-penguins
Description:
penguin-themed solitaire games
Submitter:
Parodper
Date:
2023-07-15 14:36:03 UTC
Severity:
normal
#1041194#5
Date:
2023-07-15 14:32:55 UTC
From:
To:
Dear Maintainer,

ace-merlin fails with the following error on start:

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

I think I've managed to trace the issue to a race condition at the call
to XGetImage on line 819 of lib/xwin.c. If I add a delay (sleep(1);)
before that call the game launches and works.