Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2005:
[Freeciv-Dev] (PR#12022) Re: (PR#12036) crash with freeciv-cvs-Jan-25 (s
Home

[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]
To: bh@xxxxxxxxxxxxxxxxxxx, xbertje@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#12022) Re: (PR#12036) crash with freeciv-cvs-Jan-25 (savegame attached)
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Jan 2005 10:59:19 -0800
Reply-to: bugs@xxxxxxxxxxx

<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





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