[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: http://bugs.freeciv.org/Ticket/Display.html?id=14998 >
On Sat, 2006-01-21 at 19:02 -0800, Jason Short wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=14998 >
>
> 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==
==13193== Syscall param writev(vector[...]) points to uninitialised
byte(s)
==13193== at 0x1B8E4772: (within /lib/ld-2.3.5.so)
==13193== by 0x1C0F22D3: writev (in /lib/tls/i686/cmov/libc-2.3.5.so)
==13193== by 0x1BDCB668: (within /usr/lib/libX11.so.6.2.0)
==13193== by 0x1BDCB8EF: _X11TransWritev
(in /usr/lib/libX11.so.6.2.0)
==13193== by 0x1BDD0986: _XSend (in /usr/lib/libX11.so.6.2.0)
==13193== by 0x1BDC5D40: _XSetClipRectangles
(in /usr/lib/libX11.so.6.2.0)
==13193== by 0x1BDC5EC9: XSetClipRectangles
(in /usr/lib/libX11.so.6.2.0)
==13193== by 0x1BC25AE6: _gdk_x11_gc_flush
(in /usr/lib/libgdk-x11-2.0.so.0.800.6)
==13193== by 0x1BC1FDCB: (within /usr/lib/libgdk-x11-2.0.so.0.800.6)
==13193== by 0x1BBFB9A1: gdk_draw_segments
(in /usr/lib/libgdk-x11-2.0.so.0.800.6)
==13193== by 0x1BC057BF: (within /usr/lib/libgdk-x11-2.0.so.0.800.6)
==13193== by 0x1BBFB9A1: gdk_draw_segments
(in /usr/lib/libgdk-x11-2.0.so.0.800.6)
==13193== Address 0x1C7A8D9D is 117 bytes inside a block of size 16384
alloc'd
==13193== at 0x1B900C2A: calloc (vg_replace_malloc.c:279)
==13193== by 0x1BDBC155: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==13193== by 0x1BC1778D: gdk_display_open
(in /usr/lib/libgdk-x11-2.0.so.0.800.6)
==13193== by 0x1BBF8F43: gdk_display_open_default_libgtk_only
(in /usr/lib/libgdk-x11-2.0.so.0.800.6)
==13193== by 0x1BA2D476: gtk_init_check
(in /usr/lib/libgtk-x11-2.0.so.0.800.6)
==13193== by 0x1BA2D4A9: gtk_init
(in /usr/lib/libgtk-x11-2.0.so.0.800.6)
==13193== by 0x80FDB30: ui_main (gui_main.c:1203)
==13193== by 0x8058A05: main (civclient.c:378)
Perhaps PR#15223 fixed the original problem?
-Daniel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: (PR#14998) Memory leak when switching tilesets?,
Daniel Markstedt <=
|
|