Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] (PR#9671) gtk2-client memory leak
Home

[Freeciv-Dev] (PR#9671) gtk2-client memory leak

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9671) gtk2-client memory leak
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Aug 2004 09:19:28 -0700
Reply-to: rt@xxxxxxxxxxx

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

I get this memory leak in the gtk2 client:

==5008== 332 bytes in 4 blocks are definitely lost in loss record 101 of 168
==5008==    at 0x1B905901: calloc (vg_replace_malloc.c:176)
==5008==    by 0x1BD7515E: g_malloc0 (in /usr/lib/libglib-2.0.so.0.400.5)
==5008==    by 0x1BD28FA9: g_type_create_instance (in 
/usr/lib/libgobject-2.0.so.0.400.5)
==5008==    by 0x1BD1373E: (within /usr/lib/libgobject-2.0.so.0.400.5)
==5008==    by 0x1BD12ECD: g_object_newv (in 
/usr/lib/libgobject-2.0.so.0.400.5)==5008==    by 0x1BD1357F: 
g_object_new_valist (in /usr/lib/libgobject-2.0.so.0.400.5)
==5008==    by 0x1BD12B95: g_object_new (in 
/usr/lib/libgobject-2.0.so.0.400.5)
==5008==    by 0x1BC87F87: gdk_pixbuf_new_from_data (in 
/usr/lib/libgdk_pixbuf-2.0.so.0.400.4)
==5008==    by 0x1BC85E67: gdk_pixbuf_new (in 
/usr/lib/libgdk_pixbuf-2.0.so.0.400.4)
==5008==    by 0x80B6CA6: gdk_pixbuf_new_from_sprite (graphics.c:556)
==5008==    by 0x80B228F: create_races_dialog (dialogs.c:1700)
==5008==    by 0x80B2F43: popup_races_dialog (dialogs.c:1867)
==5008==    by 0x808928A: handle_select_races (packhand.c:2140)
==5008==    by 0x808C85E: client_handle_packet (packhand_gen.c:63)
==5008==    by 0x806F227: handle_packet_input (civclient.c:274)
==5008==    by 0x8072E87: input_from_server (clinet.c:328)
==5008==    by 0x80BB385: get_net_input (gui_main.c:1456)
==5008==    by 0x1BC0E19A: (within /usr/lib/libgdk-x11-2.0.so.0.400.4)
==5008==    by 0x1BD93F2E: (within /usr/lib/libglib-2.0.so.0.400.5)
==5008==    by 0x1BD6E901: (within /usr/lib/libglib-2.0.so.0.400.5)
==5008==    by 0x1BD6F9F7: g_main_context_dispatch (in 
/usr/lib/libglib-2.0.so.0.400.5)
==5008==    by 0x1BD6FD2F: (within /usr/lib/libglib-2.0.so.0.400.5)
==5008==    by 0x1BD70372: g_main_loop_run (in 
/usr/lib/libglib-2.0.so.0.400.5)
==5008==    by 0x1BA36712: gtk_main (in /usr/lib/libgtk-x11-2.0.so.0.400.4)
==5008==    by 0x80BA94E: ui_main (gui_main.c:1205)
==5008==    by 0x806F1DA: main (civclient.c:245)

which is odd.  There are lots of flags, why do only 4 of them leak?

jason




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#9671) gtk2-client memory leak, Jason Short <=