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. _______________________________________________ Bug-XBoard mailing list Bug-XBoard@gnu.org https://lists.gnu.org/mailman/listinfo/bug-xboard