[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-XBoard] Xboard-hgbranch-master: Texture on the fly loading bug

From: h . g . muller
Subject: Re: [Bug-XBoard] Xboard-hgbranch-master: Texture on the fly loading bug
Date: Mon, 29 Feb 2016 12:32:26 +0100
User-agent: SquirrelMail

Op Zo, 28 februari, 2016 3:31 pm schreef Joshua Pettus:
> , xboard crashes out whenever I
> change the board textures (or pieces) while xboard is already open.
> Texture changes were done through the board menu.

I could not reproduce this at all. It is in theory possible that we do
cairo_surface_destroy on a stale pointer (to a surface that was already
destroyed), and that different Cairo libraries are more or less resistant
to this.

If changing texture triggers the crash, the suspect routine is
CreatePNGBoard in draw.c. Perhaps you could add a few printf statements
there, to see in the console whether it exits the routine after entering
it. If that would work OK, the crash could still be elsewhere in the
routine CreateAnyPieces which calls it. If not, we should add more printfs
to find the crash point by bisection.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]