Crash on Ace of Penguins

Parodper <[email protected]>
Newsgroups gmane.linux.debian.devel.games
Message-ID <[email protected]>
Hi,

I found out that the game Merlin from Ace of Penguins crashes on start. 
I managed to isolate the issue to a XGetImage call on startup.

I think this is because of a race condition, since adding a sleep(1) 
just before the XGetImage removes the crash, at the cost of waiting an 
extra second on startup.

I don't know much about X11. Is there a way to wait until XGetImage has 
available whatever it is that it needs?

Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.