Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2006:
[Freeciv-Dev] Re: (PR#14998) Memory leak when switching tilesets?

[Freeciv-Dev] Re: (PR#14998) Memory leak when switching tilesets?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#14998) Memory leak when switching tilesets?
From: "Daniel Markstedt" <himasaram@xxxxxxxx>
Date: Sun, 22 Jan 2006 17:31:09 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: >

On Sat, 2006-01-21 at 19:02 -0800, Jason Short wrote:
> <URL: >
> Any reports of memory leaks (made with dmalloc/memprof/valgrind/etc.) on
> S2_1 should be reported.

I tried to reproduce this perceived memory leak with valgrind. This is
the only thing it could detect (once) while switching between tilesets:

==13193== Syscall param writev(vector[...]) points to uninitialised
==13193==    at 0x1B8E4772: (within /lib/
==13193==    by 0x1C0F22D3: writev (in /lib/tls/i686/cmov/
==13193==    by 0x1BDCB668: (within /usr/lib/
==13193==    by 0x1BDCB8EF: _X11TransWritev
(in /usr/lib/
==13193==    by 0x1BDD0986: _XSend (in /usr/lib/
==13193==    by 0x1BDC5D40: _XSetClipRectangles
(in /usr/lib/
==13193==    by 0x1BDC5EC9: XSetClipRectangles
(in /usr/lib/
==13193==    by 0x1BC25AE6: _gdk_x11_gc_flush
(in /usr/lib/
==13193==    by 0x1BC1FDCB: (within /usr/lib/
==13193==    by 0x1BBFB9A1: gdk_draw_segments
(in /usr/lib/
==13193==    by 0x1BC057BF: (within /usr/lib/
==13193==    by 0x1BBFB9A1: gdk_draw_segments
(in /usr/lib/
==13193==  Address 0x1C7A8D9D is 117 bytes inside a block of size 16384
==13193==    at 0x1B900C2A: calloc (vg_replace_malloc.c:279)
==13193==    by 0x1BDBC155: XOpenDisplay (in /usr/lib/
==13193==    by 0x1BC1778D: gdk_display_open
(in /usr/lib/
==13193==    by 0x1BBF8F43: gdk_display_open_default_libgtk_only
(in /usr/lib/
==13193==    by 0x1BA2D476: gtk_init_check
(in /usr/lib/
==13193==    by 0x1BA2D4A9: gtk_init
(in /usr/lib/
==13193==    by 0x80FDB30: ui_main (gui_main.c:1203)
==13193==    by 0x8058A05: main (civclient.c:378)

Perhaps PR#15223 fixed the original problem?


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#14998) Memory leak when switching tilesets?, Daniel Markstedt <=