2010-03-26 13:58:14

by Daniele C.

[permalink] [raw]
Subject: Memory leaks from swapper, wpa_supplicant, glxgears

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

Hello there,

I have enabled CONFIG_KMEMLEAK and I am finding some memory leakage apparently caused by "swapper" process; I have also had leaks from glxgears and wpa_supplicant, but they can be triggered only once (e.g. restarting wpa_supplicant does not trigger more leaks).

The swapper leaks seem to be an incremental decimal string, starting from "0" to "10", while the wpa_supplicant leaks were the AP ESSID (not in attached report).

Best regards,
- --
Daniele C.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLrL1xAAoJEON28As9epPApycIAJpEURXnySLJS7P8NvTSs42e
G+2iajFLSAyyQdnKlWI41+ciSe5XsYFtag8xpgS2qPvLcwmEEMo95sUrMQExtw6h
hre4O/T0N6W4x86rEvefAwMn73nYDGoV2fcx5GHpfmyyc7Mm8+gNPzcoAicLSjh4
MRqny9S/AyBIhGBh3nobldDiFzCvD4WmNZM0jPcNCZwQZfO7FJnjXwwEU9epjM/9
4+HaVk8lt4gNrSNIx9yPN2oqNxyZBv5ySs6l8ukr0cozLSq0MrzMjlwnwB+FfQqg
cmcTHYPA16FNu5Y4CoYXm8DlLj1RVFuNGlyy6WQpc7eRuiZeO9MpJOFSFZPHdlA=
=VSaD
-----END PGP SIGNATURE-----


Attachments:
swapper_memleaks.txt (3.56 kB)

2010-03-26 20:48:58

by Pavel Roskin

[permalink] [raw]
Subject: Re: Memory leaks from swapper, wpa_supplicant, glxgears

On Fri, 2010-03-26 at 14:58 +0100, Daniele C. wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello there,
>
> I have enabled CONFIG_KMEMLEAK and I am finding some memory leakage
> apparently caused by "swapper" process; I have also had leaks from
> glxgears and wpa_supplicant, but they can be triggered only once (e.g.
> restarting wpa_supplicant does not trigger more leaks).
>
> The swapper leaks seem to be an incremental decimal string, starting
> from "0" to "10", while the wpa_supplicant leaks were the AP ESSID
> (not in attached report).

The attachment is quite useless since it has no function names, only
numeric addresses that vary between systems.

The backtrace that only has 0xffffffff suggests that kmemleak is not
working properly on your system.

Please figure out how to use kmemleak first.

--
Regards,
Pavel Roskin