Bug 45390 - memleak
Summary: memleak
Status: RESOLVED DUPLICATE of bug 28526
Alias: None
Product: XCB
Classification: Unclassified
Component: Library (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: xcb mailing list dummy
QA Contact: xcb mailing list dummy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-30 04:17 UTC by Nicola
Modified: 2012-01-30 10:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Nicola 2012-01-30 04:17:48 UTC
libxbc seems to cause the following memleak:

==6204== 124 bytes in 1 blocks are definitely lost in loss record 506 of 681
==6204==    at 0x4C28F9F: malloc (vg_replace_malloc.c:236)
==6204==    by 0x75A4564: get_peer_sock_name (xcb_auth.c:259)
==6204==    by 0x75A462A: _xcb_get_auth_info (xcb_auth.c:302)
==6204==    by 0x75A41CA: xcb_connect_to_display_with_auth_info (xcb_util.c:424)
==6204==    by 0x5F05A01: _XConnectXCB (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==6204==    by 0x5EF5740: XOpenDisplay (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==6204==    by 0x621C36E: XtOpenDisplay (in /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0)
==6204==    by 0x621C960: _XtAppInit (in /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0)
==6204==    by 0x6226293: XtOpenApplication (in /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0)
==6204==    by 0x407307: ??? (in /usr/bin/xterm)
==6204==    by 0x591230C: (below main) (libc-start.c:226)

this happen simply using xterm or using xvimagesink gstreamer plugin:

https://bugzilla.gnome.org/show_bug.cgi?id=668894
Comment 1 Josh Triplett 2012-01-30 04:35:39 UTC
Please provide the version of libxcb.  Current libxcb fixed several memory leaks in the xcb_connect family of functions.
Comment 2 Nicola 2012-01-30 04:46:36 UTC
I'm using libxcb 1.7 from ubuntu oneiric repo:

http://packages.ubuntu.com/search?keywords=libxcb&searchon=names&suite=oneiric&section=all
Comment 3 Alan Coopersmith 2012-01-30 10:06:34 UTC

*** This bug has been marked as a duplicate of bug 28526 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.