<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Leaks in xcb_dri3_open_reply_fds() and get_render_node_from_id_path_tag"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90073">90073</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Leaks in xcb_dri3_open_reply_fds() and get_render_node_from_id_path_tag
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>GLX
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>guillaume.desmottes@collabora.co.uk
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=115154" name="attach_115154" title="test app">attachment 115154</a> <a href="attachment.cgi?id=115154&action=edit" title="test app">[details]</a></span>
test app
Valgrinding this simple test app reports some leaks:
==1438== 36 bytes in 1 blocks are definitely lost in loss record 7 of 21
==1438== at 0x4A08BCF: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==1438== by 0x3EBCC0C394: read_packet (xcb_in.c:254)
==1438== by 0x3EBCC0C394: _xcb_in_read (xcb_in.c:934)
==1438== by 0x3EBCC0A3F0: _xcb_conn_wait (xcb_conn.c:495)
==1438== by 0x3EBCC0BA8E: wait_for_reply (xcb_in.c:491)
==1438== by 0x3EBCC0BBA0: xcb_wait_for_reply (xcb_in.c:521)
==1438== by 0x4C8D278: dri3_open (dri3_glx.c:1670)
==1438== by 0x4C8D278: dri3_create_screen (dri3_glx.c:1909)
==1438== by 0x4C67CC0: AllocAndFetchScreenConfigs (glxext.c:793)
==1438== by 0x4C67CC0: __glXInitialize (glxext.c:907)
==1438== by 0x4C638E0: glXQueryVersion (glxcmds.c:487)
==1438== by 0x400812: main (in
/home/cassidy/dev/gst/master/gst-devtools/validate/a.out)
==1438==
==1438== 18,100 (432 direct, 17,668 indirect) bytes in 1 blocks are definitely
lost in loss record 21 of 21
==1438== at 0x4A0A946: calloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==1438== by 0x3B75A07C20: udev_enumerate_new (in
/usr/lib64/libudev.so.1.6.1)
==1438== by 0x4C8E53F: get_render_node_from_id_path_tag (loader.c:263)
==1438== by 0x4C8E53F: loader_get_user_preferred_fd (loader.c:399)
==1438== by 0x4C8D2CC: dri3_create_screen (dri3_glx.c:1923)
==1438== by 0x4C67CC0: AllocAndFetchScreenConfigs (glxext.c:793)
==1438== by 0x4C67CC0: __glXInitialize (glxext.c:907)
==1438== by 0x4C638E0: glXQueryVersion (glxcmds.c:487)
==1438== by 0x400812: main (in
/home/cassidy/dev/gst/master/gst-devtools/validate/a.out)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>