[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#642387: marked as done (libx11-6: Leak found under valgrind in XGetVisualInfo (VisUtil.c:135))



Your message dated Sun, 11 May 2014 17:04:01 +0200
with message-id <20140511150401.GA10153@betterave.cristau.org>
and subject line Re: Bug#642387: libx11-6: Leak found under valgrind in XGetVisualInfo (VisUtil.c:135)
has caused the Debian Bug report #642387,
regarding libx11-6: Leak found under valgrind in XGetVisualInfo (VisUtil.c:135)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
642387: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642387
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libx11-6
Version: 2:1.4.4-1
Severity: minor

Dear Maintainer,

Found while valgrinding wine (wine-1.3.28-451-ge2cc32d / git-sha1sum:
e2cc32d252c01f3b00ef02a2084a810a082ff0a9):
==17495== 2,800 bytes in 1 blocks are definitely lost in loss record 849 of 883
==17495==    at 0x4025D22: realloc (vg_replace_malloc.c:488)
==17495==    by 0x577238C: XGetVisualInfo (VisUtil.c:135)
==17495==    by 0x7BC34932: interlocked_inc (critsection.c:45)
==17495==    by 0x7BC3535B: RtlEnterCriticalSection (critsection.c:546)
==17495==    by 0x594185B: glXGetFBConfigs (glxapi.c:552)
==17495==    by 0x56CB9E4: X11DRV_ChoosePixelFormat (opengl.c:1227)
==17495==    by 0x4DED422: ChoosePixelFormat (painting.c:551)
==17495==    by 0x4F7D525: WineD3D_CreateFakeGLContext (directx.c:324)
==17495==    by 0x4F9757F: InitAdapters (directx.c:5257)
==17495==    by 0x4F982A8: wined3d_init (directx.c:5480)
==17495==    by 0x503AFE1: wined3d_create (wined3d_main.c:105)
==17495==    by 0x4EED127: Direct3DCreate9 (d3d9_main.c:43)
==17495==    by 0x4930831: test_setting_constants (shader.c:637)
==17495==    by 0x49313C9: func_shader (shader.c:855)
==17495==    by 0x493D179: run_test (test.h:556)
==17495==    by 0x493D569: main (test.h:624)
==17495==

script used:
export LD_LIBRARY_PATH="/home/austin/src/mesa/lib"
export LIBGL_DRIVERS_PATH="/home/austin/src/mesa/lib/gallium"
export VALGRIND_OPTS="-q --trace-children=yes --track-origins=yes
--gen-suppressions=all
--suppressions=$HOME/wine-git/tools/valgrind/valgrind-suppressions
--leak-check=full --num-callers=20  --workaround-gcc296-bugs=yes
--vex-iropt-precise-memory-exns=yes"
export WINETEST_WRAPPER='valgrind'
export WINE_HEAP_TAIL_REDZONE=32
cd $HOME/wine-git/dlls/d3dx9_36/tests
make shader.ok


Expected outcome:
no leaks outside of Wine

Actual outcome:
Leak from X11.

*** End of the template - remove these lines ***


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libx11-6 depends on:
ii  libc6              2.13-18
ii  libx11-data        2:1.4.4-1
ii  libxcb1            1.7-3
ii  multiarch-support  2.13-18

libx11-6 recommends no packages.

libx11-6 suggests no packages.

-- no debconf information

-- 
-Austin



--- End Message ---
--- Begin Message ---
On Thu, Sep 22, 2011 at 17:52:46 +0200, Julien Cristau wrote:

> On Wed, Sep 21, 2011 at 22:00:47 -0700, Austin English wrote:
> 
> > Package: libx11-6
> > Version: 2:1.4.4-1
> > Severity: minor
> > 
> > Dear Maintainer,
> > 
> > Found while valgrinding wine (wine-1.3.28-451-ge2cc32d / git-sha1sum:
> > e2cc32d252c01f3b00ef02a2084a810a082ff0a9):
> > ==17495== 2,800 bytes in 1 blocks are definitely lost in loss record 849 of 883
> > ==17495==    at 0x4025D22: realloc (vg_replace_malloc.c:488)
> > ==17495==    by 0x577238C: XGetVisualInfo (VisUtil.c:135)
> > ==17495==    by 0x7BC34932: interlocked_inc (critsection.c:45)
> > ==17495==    by 0x7BC3535B: RtlEnterCriticalSection (critsection.c:546)
> > ==17495==    by 0x594185B: glXGetFBConfigs (glxapi.c:552)
> > ==17495==    by 0x56CB9E4: X11DRV_ChoosePixelFormat (opengl.c:1227)
> > ==17495==    by 0x4DED422: ChoosePixelFormat (painting.c:551)
> > ==17495==    by 0x4F7D525: WineD3D_CreateFakeGLContext (directx.c:324)
> > ==17495==    by 0x4F9757F: InitAdapters (directx.c:5257)
> > ==17495==    by 0x4F982A8: wined3d_init (directx.c:5480)
> > ==17495==    by 0x503AFE1: wined3d_create (wined3d_main.c:105)
> > ==17495==    by 0x4EED127: Direct3DCreate9 (d3d9_main.c:43)
> > ==17495==    by 0x4930831: test_setting_constants (shader.c:637)
> > ==17495==    by 0x49313C9: func_shader (shader.c:855)
> > ==17495==    by 0x493D179: run_test (test.h:556)
> > ==17495==    by 0x493D569: main (test.h:624)
> > ==17495==
> > 
> > script used:
> > export LD_LIBRARY_PATH="/home/austin/src/mesa/lib"
> > export LIBGL_DRIVERS_PATH="/home/austin/src/mesa/lib/gallium"
> > export VALGRIND_OPTS="-q --trace-children=yes --track-origins=yes
> > --gen-suppressions=all
> > --suppressions=$HOME/wine-git/tools/valgrind/valgrind-suppressions
> > --leak-check=full --num-callers=20  --workaround-gcc296-bugs=yes
> > --vex-iropt-precise-memory-exns=yes"
> > export WINETEST_WRAPPER='valgrind'
> > export WINE_HEAP_TAIL_REDZONE=32
> > cd $HOME/wine-git/dlls/d3dx9_36/tests
> > make shader.ok
> > 
> > 
> > Expected outcome:
> > no leaks outside of Wine
> > 
> > Actual outcome:
> > Leak from X11.
> > 
> That rather looks like a missing XFree() somewhere else,
> XGetVisualInfo() returns the data it allocates to the caller.
> 
No evidence of an Xlib bug and no followup in 2½ years, closing.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: