[Freeciv-Dev] (PR#12022) Re: (PR#12036) crash with freeciv-cvs-Jan-25 (s
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12022 >
Bert Bert wrote:
> This error can be reproduced on my machine as follows:
> load the attached save game
> press "Turn done"
==23148== Invalid read of size 4
==23148== at 0x8063200: reality_check_city (citytools.c:1650)
==23148== by 0x8064084: remove_city (citytools.c:1119)
==23148== by 0x8065D37: city_reduce_size (cityturn.c:398)
==23148== by 0x80679E2: update_city_activities (cityturn.c:564)
==23148== Address 0x1C7F4200 is 0 bytes inside a block of size 44 free'd
==23148== at 0x1B907460: free (vg_replace_malloc.c:153)
==23148== by 0x8063216: reality_check_city (citytools.c:1651)
==23148== by 0x8064084: remove_city (citytools.c:1119)
==23148== by 0x8065D37: city_reduce_size (cityturn.c:398)
==23148==
==23148== Invalid free() / delete / delete[]
==23148== at 0x1B907460: free (vg_replace_malloc.c:153)
==23148== by 0x8063216: reality_check_city (citytools.c:1651)
==23148== by 0x8064084: remove_city (citytools.c:1119)
==23148== by 0x8065D37: city_reduce_size (cityturn.c:398)
==23148== Address 0x1C7F4200 is 0 bytes inside a block of size 44 free'd
==23148== at 0x1B907460: free (vg_replace_malloc.c:153)
==23148== by 0x8063216: reality_check_city (citytools.c:1651)
==23148== by 0x8064084: remove_city (citytools.c:1119)
==23148== by 0x8065D37: city_reduce_size (cityturn.c:398)
Thanks for the report. Look like this is the same as PR#12022.
-jason
|
|