[Xcb] Xpyb memory leak

Julien Danjou julien at danjou.info
Wed Jul 6 01:17:12 PDT 2011


On Wed, Jul 06 2011, Paul Colomiets wrote:

> I believe there is a memory leak in xpyb. It's somewhere in C code,
> so garbage collector does not detects it. Basically reply objects
> free only at exit of the program. You can find the test code at the
> end of this email.
>
> Have any body experienced similar problems?
> Could somebody look up the problem? I've spent a few hours
> trying to spot this bug without a success.
> May be I use protocol in the wrong way or there is a cache,
> so that memory growth is expected?

I confirm. Unfortunately, I quickly tried to run the program with
valgrind but with it crashed, so I can't see what's wrong.

I'd suggest open a bug report so we do not lose track of this problem
and try to fix it ASAP.

> BTW, is it apropriate mailing list for xpyb? :)

Yes it is.

-- 
Julien Danjou
❱ http://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20110706/574176de/attachment.pgp>


More information about the Xcb mailing list