[Xcb] Xpyb memory leak

Eamon Walsh ewalsh.mailinglists at gmail.com
Fri Jul 8 20:27:29 PDT 2011

On Wed, Jul 6, 2011 at 3:08 PM, Paul Colomiets <paul at colomiets.name> wrote:

> On Wed, Jul 6, 2011 at 11:17 AM, Julien Danjou <julien at danjou.info> wrote:
> > 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.

The following commit may resolve your problem.  Do you have it in the xpyb
that you are using?
If not, you could try manually adding the code and recompiling.


Sorry, where is a bugtracker? :) I've filed a bug into xpyb-ng before.
> BTW, how xpyb-ng is related to xpyb. Is it an independent fork? And
> does anybody know which one is better?

Xpyb has been broken now for about a year.  The problem is that changes were
made to XCB's language-independent parser during the 2010 GSOC, and I
haven't had time to grok them and fix xpyb's code generator.  I'll get to it
when I can, but until then xpyb will only compile with an older release of
xcb/proto.  I haven't been involved with xpyb-ng but if they have a working
code generator, that may be helpful in getting xpyb to work again.

--Eamon W.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20110708/b8ce5944/attachment.html>

More information about the Xcb mailing list