Re: [Freeciv-Dev] (PR#40069) end_turn() = map_calculate_borders() has bad site-location

2008-02-03 Thread William Allen Simpson

URL: http://bugs.freeciv.org/Ticket/Display.html?id=40069 

In this report, tile0=0x2b.

In PR#40068, tile0=0x4, and the client crashed, too.

Let's keep this separate, to deal with the border recalculation issue.



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] (PR#40069) end_turn() = map_calculate_borders() has bad site-location

2008-02-03 Thread William Allen Simpson

URL: http://bugs.freeciv.org/Ticket/Display.html?id=40069 

I've poked and prodded this, and cannot get it to crash again.  My guess is
that it's an array overrun of some kind from elsewhere, as the -location is
the first entry in the common/vision.h struct vision_site{}.  The values in
the reports might be consistent with a string on a little-endian machine.

Jason, could you valgrind the PR#40068 savegame on a little-endian machine
and see whether you can detect anything?



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev