Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2005:
[Freeciv-Dev] (PR#12015) Invalid free() from player_map_free()
Home

[Freeciv-Dev] (PR#12015) Invalid free() from player_map_free()

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: badamson@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#12015) Invalid free() from player_map_free()
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Jan 2005 13:22:37 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12015 >

This is also the same as PR#12022.  With the civ_1.sav.gz there I get
the following error:

==25506== Invalid free() / delete / delete[]
==25506==    at 0x1B907460: free (vg_replace_malloc.c:153)
==25506==    by 0x8071EE2: player_map_free (maphand.c:1049)
==25506==    by 0x804FCD1: server_game_free (srv_main.c:1903)
==25506==    by 0x8050647: srv_main (srv_main.c:1674)
==25506==  Address 0x1C79BF10 is 0 bytes inside a block of size 44 free'd
==25506==    at 0x1B907460: free (vg_replace_malloc.c:153)
==25506==    by 0x8071EE2: player_map_free (maphand.c:1049)
==25506==    by 0x804FCD1: server_game_free (srv_main.c:1903)
==25506==    by 0x8050647: srv_main (srv_main.c:1674)

Which we can assume is also caused by two players having the same city
in their private maps.

-jason




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