[Freeciv-Dev] (PR#10636) another aisettler memory leak
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10636 >
This one is rather large...
==15964== 184552 bytes in 7363 blocks are definitely lost in loss record
17 of 17
==15964== at 0x1B906EDD: malloc (vg_replace_malloc.c:131)
==15964== by 0x804B512: fc_real_malloc (mem.c:79)
==15964== by 0x804B607: fc_real_calloc (mem.c:124)
==15964== by 0x811145C: create_unit_virtual (unit.c:1695)
==15964== by 0x81246F4: find_best_city_placement (aisettler.c:585)
==15964== by 0x80A60F4: contemplate_new_city (settlers.c:1478)
==15964== by 0x811C574: ai_manage_cities (aicity.c:976)
==15964== by 0x812128E: ai_do_last_activities (aihand.c:384)
==15964== by 0x804FF60: end_phase (srv_main.c:579)
==15964== by 0x8051B95: main_loop (srv_main.c:1570)
==15964== by 0x80523EE: srv_loop (srv_main.c:1881)
==15964== by 0x8051D4B: srv_main (srv_main.c:1647)
==15964== by 0x804A94E: main (civserver.c:170)
I believe it can be reproduced with the current S2_0 branch and this RC
file (run under valgrind with --leak-check=yes).
-jason
set timeout -1
create b
hard
set endyear -2500
set topology 3
set topology 7
set mapseed 1098255497
set gameseed 1062569800
start
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#10636) another aisettler memory leak,
Jason Short <=
|