Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] (PR#2595) Server memory leaks #2
Home

[Freeciv-Dev] (PR#2595) Server memory leaks #2

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#2595) Server memory leaks #2
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Tue, 17 Dec 2002 07:31:50 -0800
Reply-to: rt@xxxxxxxxxxxxxx


The remaining freeciv-caused memory leaks.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  "brand memory are for windows users that think their stability
   problems come from the memory"
    -- bomek in #freeciv

==23750== 2 bytes in 1 blocks are still reachable in loss record 1 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x804CF85: real_mystrdup (mem.c:120)
==23750==    by 0x804C286: init_nls (shared.c:1114)
==23750== 
==23750== 3 bytes in 1 blocks are still reachable in loss record 4 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x804C2EB: init_nls (shared.c:1111)
==23750==    by 0x804D9FB: srv_init (srv_main.c:162)
==23750== 
==23750== 11 bytes in 1 blocks are still reachable in loss record 7 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x804CF85: real_mystrdup (mem.c:120)
==23750==    by 0x804B798: user_home_dir (shared.c:676)
==23750== 
==23750== 20 bytes in 1 blocks are still reachable in loss record 14 of 59
==23750==    at 0x4003BFA3: realloc (vg_clientfuncs.c:270)
==23750==    by 0x804CE9D: fc_real_realloc (mem.c:84)
==23750==    by 0x804BA29: get_data_dirs (shared.c:832)
==23750==    by 0x804BF17: datafilename (shared.c:956)
==23750== 
==23750== 30 bytes in 1 blocks are still reachable in loss record 18 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x80965C6: sniff_packets (sernet.c:344)
==23750==    by 0x8051305: srv_loop (srv_main.c:1958)
==23750== 
==23750== 32 bytes in 1 blocks are definitely lost in loss record 19 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x80B9710: renew_timer (timing.c:183)
==23750==    by 0x80B9742: renew_timer_start (timing.c:201)
==23750== 
==23750== 32 bytes in 1 blocks are still reachable in loss record 20 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x80B9710: renew_timer (timing.c:183)
==23750==    by 0x80B9680: new_timer (timing.c:154)
==23750== 
==23750== 48 bytes in 1 blocks are still reachable in loss record 22 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x80A55F8: genlist_sort (genlist.c:236)
==23750==    by 0x80BBBB0: unit_list_sort_ord_city (unit.c:998)
==23750== 
==23750== 51 bytes in 1 blocks are still reachable in loss record 23 of 59
==23750==    at 0x4003BFA3: realloc (vg_clientfuncs.c:270)
==23750==    by 0x804CE9D: fc_real_realloc (mem.c:84)
==23750==    by 0x804CB22: astr_minsize (astring.c:82)
==23750==    by 0x804BF5C: datafilename (sys/stat.h:346)
==23750== 
==23750== 52 bytes in 4 blocks are still reachable in loss record 24 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x804CF85: real_mystrdup (mem.c:120)
==23750==    by 0x804BAC7: get_data_dirs (shared.c:819)
==23750== 
==23750== 96 bytes in 3 blocks are still reachable in loss record 30 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x80B9710: renew_timer (timing.c:183)
==23750==    by 0x80B9742: renew_timer_start (timing.c:201)
==23750== 
==23750== 100 bytes in 1 blocks are still reachable in loss record 31 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x80D0D93: ai_manage_units (aiunit.c:2485)
==23750==    by 0x804E2E9: ai_start_turn (srv_main.c:431)
==23750== 
==23750== 232 bytes in 18 blocks are still reachable in loss record 34 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x80BD10B: precalc_one (unittype.c:492)
==23750==    by 0x80BD241: role_unit_precalcs (unittype.c:522)
==23750== 
==23750== 240 bytes in 1 blocks are still reachable in loss record 35 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x804CF22: fc_real_calloc (mem.c:107)
==23750==    by 0x8050E73: srv_loop (srv_main.c:1969)
==23750== 
==23750== 240 bytes in 1 blocks are still reachable in loss record 36 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x804CF22: fc_real_calloc (mem.c:107)
==23750==    by 0x8050E41: srv_loop (srv_main.c:1968)
==23750== 
==23750== 260 bytes in 28 blocks are still reachable in loss record 38 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x80BD10B: precalc_one (unittype.c:492)
==23750==    by 0x80BD221: role_unit_precalcs (unittype.c:519)
==23750== 
==23750== 384 bytes in 32 blocks are still reachable in loss record 39 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x80A536F: genlist_insert (genlist.c:130)
==23750==    by 0x80A13B0: conn_list_insert (speclist_c.h:56)
==23750== 
==23750== 3312 bytes in 36 blocks are still reachable in loss record 53 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x80729A7: get_empty_array (gotohand.c:114)
==23750==    by 0x8072A3B: add_to_mapqueue (gotohand.c:134)
==23750== 
==23750== 4000 bytes in 80 blocks are still reachable in loss record 54 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x8072B65: init_warmap (gotohand.c:191)
==23750==    by 0x8072CEF: really_generate_warmap (gotohand.c:273)
==23750== 
==23750== 4000 bytes in 80 blocks are still reachable in loss record 55 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x8072BB9: init_warmap (gotohand.c:193)
==23750==    by 0x8072CEF: really_generate_warmap (gotohand.c:273)
==23750== 
==23750== 4000 bytes in 80 blocks are still reachable in loss record 56 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x8072B8D: init_warmap (gotohand.c:192)
==23750==    by 0x8072CEF: really_generate_warmap (gotohand.c:273)
==23750== 
==23750== 12696 bytes in 138 blocks are still reachable in loss record 58 of 59
==23750==    at 0x4003B9B4: malloc (vg_clientfuncs.c:100)
==23750==    by 0x804CDEE: fc_real_malloc (mem.c:59)
==23750==    by 0x80729A7: get_empty_array (gotohand.c:114)
==23750==    by 0x8072A25: add_to_mapqueue (gotohand.c:137)
==23750== 

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#2595) Server memory leaks #2, Raimar Falke via RT <=