-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dmitry B. Khlonin wrote:
> 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
> 
> 
Hi Dmitry, this is done in my git[1], I built already a version for
debian[2] and is waiting for a sponsor. Thanks.

Regards.

[1]
http://git.rivco.info/?p=debian/gkrellm.git;a=commit;h=96442c592266cb861352c479b77baeb650683745
[2]
http://debian.rivco.info/gkrellm/2.3.1-5/
- --
Jose Luis Rivas. San Cristóbal, Venezuela. PGP: 0xCACAB118
http://ghostbar.ath.cx/{about,acerca} - http://debian.org.ve
`ghostbar' @ irc.debian.org/#debian-ve,#debian-devel-es
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIWBJVOKCtW8rKsRgRAuIjAJ9xZJMYQUBYJQxOMGDSqk1X4Nz1ywCglOx3
Dm0sTaAiNdrZxIOJmuCb/+Y=
=kcY+
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to