[Xcb] Bug#609478: Bug#609478: [libxcb1] Memory Leak reported in valgrind

Julien Cristau jcristau at debian.org
Mon Jan 10 02:17:57 PST 2011


tag 609478 fixed-upstream
severity 609478 minor
kthxbye

On Sun, Jan  9, 2011 at 13:59:34 -0600, Brian Paterni wrote:

> Hello, according to valgrind, there appears to be a memory leak in libxcb.
> Here's a relavant error block when I run glxgears through valgrind:
> 
> $ valgrind --leak-check=full glxgears
> ==11308== 124 bytes in 1 blocks are definitely lost in loss record 49 of 81
> ==11308==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
> ==11308==    by 0x7649DC9: get_peer_sock_name (xcb_auth.c:259)
> ==11308==    by 0x7649E95: _xcb_get_auth_info (xcb_auth.c:302)
> ==11308==    by 0x7649918: xcb_connect_to_display_with_auth_info
> (xcb_util.c:424)
> ==11308==    by 0x5860749: _XConnectXCB (in /usr/lib/libX11.so.6.3.0)
> ==11308==    by 0x584895A: XOpenDisplay (in /usr/lib/libX11.so.6.3.0)
> ==11308==    by 0x402D0C: main (glxgears.c:749)
> 
Fixed upstream in
http://cgit.freedesktop.org/xcb/libxcb/commit/?id=5755582444ad0ba79e661ab3173cc38e9e588d83

Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20110110/a9fce7e0/attachment.pgp>


More information about the Xcb mailing list