<div class="gmail_quote">On Wed, Jul 6, 2011 at 3:08 PM, Paul Colomiets <span dir="ltr"><<a href="mailto:paul@colomiets.name" target="_blank">paul@colomiets.name</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Wed, Jul 6, 2011 at 11:17 AM, Julien Danjou <<a href="mailto:julien@danjou.info" target="_blank">julien@danjou.info</a>> wrote:<br>
> On Wed, Jul 06 2011, Paul Colomiets wrote:<br>
><br>
>> I believe there is a memory leak in xpyb. It's somewhere in C code,<br>
>> so garbage collector does not detects it. Basically reply objects<br>
>> free only at exit of the program. You can find the test code at the<br>
>> end of this email.<br></div></blockquote><div><br>The following commit may resolve your problem. Do you have it in the xpyb that you are using?<br>
If not, you could try manually adding the code and recompiling.<br>
<br>
<a href="http://cgit.freedesktop.org/xcb/xpyb/commit/?id=d4406532543bcdb936b20ffcb03993d7a7207ace">http://cgit.freedesktop.org/xcb/xpyb/commit/?id=d4406532543bcdb936b20ffcb03993d7a7207ace</a><br>
<br>
<br>
<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Sorry, where is a bugtracker? :) I've filed a bug into xpyb-ng before.<br>
<br>
BTW, how xpyb-ng is related to xpyb. Is it an independent fork? And<br>
does anybody know which one is better?<br></blockquote><div><br><br>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.<br>
</div><br>--Eamon W.<br><br></div>