Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] Re: (PR#6742) civclient memory leak
Home

[Freeciv-Dev] Re: (PR#6742) civclient memory leak

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6742) civclient memory leak
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 9 Nov 2003 16:34:13 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=6742 >

A couple more.  These are with gui-gtk-2.0.  I didn't make it very far 
before the server disconnected me.  I'll try again if these are fixed.

==5141== 192 bytes in 6 blocks are definitely lost in loss record 74 of 152
==5141==    at 0x4002965E: malloc (vg_replace_malloc.c:153)
==5141==    by 0x40029B66: realloc (vg_replace_malloc.c:302)
==5141==    by 0x4060C65C: g_realloc (in /usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x405F072A: (within /usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x405F00FB: g_array_append_vals (in 
/usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x80920FF: gtk_pixcomm_copyto (gtkpixcomm.c:201)
==5141==    by 0x8095803: refresh_pixcomm (happiness.c:172)
==5141==    by 0x809585F: refresh_happiness_dialog (happiness.c:189)
==5141==    by 0x809576C: create_happiness_dialog (happiness.c:151)
==5141==    by 0x80962CB: get_top_happiness_display (happiness.c:439)
==5141==    by 0x8081284: create_and_append_happiness_page (citydlg.c:819)
==5141==    by 0x8081DF6: create_city_dialog (citydlg.c:1134)
==5141==    by 0x80801E4: popup_city_dialog (citydlg.c:415)
==5141==    by 0x807586A: handle_city_packet_common (packhand.c:578)
==5141==    by 0x80756A2: handle_city_info (packhand.c:524)
==5141==    by 0x806818F: handle_packet_input (civclient.c:321)
==5141==    by 0x806AE59: input_from_server (clinet.c:330)
==5141==    by 0x8094F10: get_net_input (gui_main.c:1441)
==5141==    by 0x4048F801: (within /usr/lib/libgdk-x11-2.0.so.0.200.1)
==5141==    by 0x40627DDE: (within /usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x40606B34: (within /usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x40607B77: g_main_context_dispatch (in 
/usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x40607E8C: (within /usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x4060858E: g_main_loop_run (in 
/usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x402F4F5E: gtk_main (in /usr/lib/libgtk-x11-2.0.so.0.200.1)
==5141==    by 0x809475C: ui_main (gui_main.c:1190)
==5141==    by 0x806808D: main (civclient.c:244)
==5141==    by 0x40780A46: __libc_start_main (in /lib/libc-2.3.2.so)
==5141==    by 0x80652D0: ??? (start.S:81)


==5141== 140 bytes in 6 blocks are definitely lost in loss record 65 of 152
==5141==    at 0x4002965E: malloc (vg_replace_malloc.c:153)
==5141==    by 0x80C402A: fc_real_malloc (mem.c:58)
==5141==    by 0x80B4B31: genlist_insert (genlist.c:130)
==5141==    by 0x80B2169: conn_list_insert_back (speclist_c.h:78)
==5141==    by 0x8076F31: handle_conn_info (packhand.c:1588)
==5141==    by 0x8068330: handle_packet_input (civclient.c:441)
==5141==    by 0x806AE59: input_from_server (clinet.c:330)
==5141==    by 0x8094F10: get_net_input (gui_main.c:1441)
==5141==    by 0x4048F801: (within /usr/lib/libgdk-x11-2.0.so.0.200.1)
==5141==    by 0x40627DDE: (within /usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x40606B34: (within /usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x40607B77: g_main_context_dispatch (in 
/usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x40607E8C: (within /usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x4060858E: g_main_loop_run (in 
/usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x402F4F5E: gtk_main (in /usr/lib/libgtk-x11-2.0.so.0.200.1)
==5141==    by 0x809475C: ui_main (gui_main.c:1190)
==5141==    by 0x806808D: main (civclient.c:244)
==5141==    by 0x40780A46: __libc_start_main (in /lib/libc-2.3.2.so)
==5141==    by 0x80652D0: ??? (start.S:81)

==5141== 64 bytes in 1 blocks are definitely lost in loss record 51 of 152
==5141==    at 0x40029BD8: realloc (vg_replace_malloc.c:310)
==5141==    by 0x4060C65C: g_realloc (in /usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x405F072A: (within /usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x405F00FB: g_array_append_vals (in 
/usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x80920FF: gtk_pixcomm_copyto (gtkpixcomm.c:201)
==5141==    by 0x809B938: gui_put_sprite (mapview.c:1066)
==5141==    by 0x8072830: put_unit (mapview_common.c:620)
==5141==    by 0x8072896: put_unit_full (mapview_common.c:640)
==5141==    by 0x809B3AE: put_unit_gpixmap (mapview.c:890)
==5141==    by 0x80832D4: city_dialog_update_present_units (citydlg.c:1734)
==5141==    by 0x8080092: refresh_city_dialog (citydlg.c:365)
==5141==    by 0x808208D: create_city_dialog (citydlg.c:1201)
==5141==    by 0x80801E4: popup_city_dialog (citydlg.c:415)
==5141==    by 0x807586A: handle_city_packet_common (packhand.c:578)
==5141==    by 0x80756A2: handle_city_info (packhand.c:524)
==5141==    by 0x806818F: handle_packet_input (civclient.c:321)
==5141==    by 0x806AE59: input_from_server (clinet.c:330)
==5141==    by 0x8094F10: get_net_input (gui_main.c:1441)
==5141==    by 0x4048F801: (within /usr/lib/libgdk-x11-2.0.so.0.200.1)
==5141==    by 0x40627DDE: (within /usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x40606B34: (within /usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x40607B77: g_main_context_dispatch (in 
/usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x40607E8C: (within /usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x4060858E: g_main_loop_run (in 
/usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x402F4F5E: gtk_main (in /usr/lib/libgtk-x11-2.0.so.0.200.1)
==5141==    by 0x809475C: ui_main (gui_main.c:1190)
==5141==    by 0x806808D: main (civclient.c:244)
==5141==    by 0x40780A46: __libc_start_main (in /lib/libc-2.3.2.so)
==5141==    by 0x80652D0: ??? (start.S:81)

==5141== 284 bytes in 4 blocks are definitely lost in loss record 87 of 152
==5141==    at 0x40029AD6: calloc (vg_replace_malloc.c:284)
==5141==    by 0x4060C5D0: g_malloc0 (in /usr/lib/libglib-2.0.so.0.200.1)
==5141==    by 0x405C7470: g_type_create_instance (in 
/usr/lib/libgobject-2.0.so.0.200.1)
==5141==    by 0x405844C5: pango_context_new (in 
/usr/lib/libpango-1.0.so.0.200.1)
==5141==    by 0x4054DB95: pango_xft_get_context (in 
/usr/lib/libpangoxft-1.0.so.0.200.1)
==5141==    by 0x404BFDE3: gdk_pango_context_get_for_screen (in 
/usr/lib/libgdk-x11-2.0.so.0.200.1)
==5141==    by 0x40494450: gdk_pango_context_get (in 
/usr/lib/libgdk-x11-2.0.so.0.200.1)
==5141==    by 0x80912B7: load_intro_gfx (graphics.c:107)
==5141==    by 0x8094690: ui_main (gui_main.c:1167)
==5141==    by 0x806808D: main (civclient.c:244)
==5141==    by 0x40780A46: __libc_start_main (in /lib/libc-2.3.2.so)
==5141==    by 0x80652D0: ??? (start.S:81)


jason




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