Package: gkrellm Version: 2.3.1-2 Severity: important Tags: patch
I suspected serious memory leakage in gkrellm: started with about of 10M RES MEM it blows to about 150M in the 3 hours of CPU Time used. Then I've googled for patches and found this: http://www.nabble.com/-patch--memory-leak-td16410788.html and this: http://mailproc.sbbsnet.net:7026/list/[EMAIL PROTECTED]&domainid=130&list=gkrellm&msg_idx=2&show_headers=true&popup=true Here is inline patch: diff -Naur gkrellm-2.3.1/src/clock.c gkrellm-2.3.1-patch/src/clock.c --- gkrellm-2.3.1/src/clock.c 2007-11-16 11:49:50.000000000 -0600 +++ gkrellm-2.3.1-patch/src/clock.c 2008-03-31 13:46:16.000000000 -0500 @@ -299,6 +299,8 @@ gkrellm_decal_text_set_offset(d_cal, (d_cal->w - w) / 2, 0); gkrellm_draw_panel_layers(pcal); + + g_free(cal_string); } static void @@ -396,6 +398,7 @@ } gkrellm_draw_decal_markup(pclock, d_clock, clock_string); gkrellm_draw_panel_layers(pclock); + g_free(clock_string); } As Gautam Iyer-3 reports, this patch don't break gkrellm. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (900, 'testing'), (550, 'stable'), (500, 'stable'), (350, 'oldstable'), (300, 'oldstable'), (50, 'unstable'), (10, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/4 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages gkrellm depends on: ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit ii libc6 2.7-10 GNU C Library: Shared libraries ii libcairo2 1.6.4-1+b1 The Cairo 2D vector graphics libra ii libgcrypt11 1.4.1-1 LGPL Crypto library - runtime libr ii libglib2.0-0 2.16.3-2 The GLib library of C routines ii libgnutls26 2.2.5-1 the GNU TLS library - runtime libr ii libgtk2.0-0 2.12.9-3 The GTK+ graphical user interface ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library ii libpango1.0-0 1.20.2-2 Layout and rendering of internatio ii libsm6 2:1.0.3-1+b1 X11 Session Management library ii libx11-6 2:1.0.3-7 X11 client-side library gkrellm recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

