[Bug 36096] New: valgrind shows leaks in d3d9/visual tests on i965

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Apr 26 07:00:21 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=36096

            Bug ID: 36096
           Summary: valgrind shows leaks in d3d9/visual tests on i965
           Product: Wine
           Version: 1.7.17
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase
          Severity: normal
          Priority: P2
         Component: directx-d3d
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
                CC: stefan at codeweavers.com

Created attachment 48284
  --> https://bugs.winehq.org/attachment.cgi?id=48284
valgrind log

==11646== 67 bytes in 4 blocks are definitely lost in loss record 412 of 1,049
==11646==    at 0x4006B11: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==11646==    by 0x4E8E2B27: strdup (in /usr/lib/libc-2.18.so)
==11646==    by 0x65D6C36: ??? (in /usr/lib/dri/i965_dri.so)
==11646==    by 0x65DFCD0: ??? (in /usr/lib/dri/i965_dri.so)
==11646==    by 0x65E932F: ??? (in /usr/lib/dri/i965_dri.so)
==11646==    by 0x6476729: ??? (in /usr/lib/dri/i965_dri.so)
==11646==    by 0x61EAC15: shared_dispatch_stub_482 (in
/usr/lib/libglapi.so.0.0.0)
==11646==    by 0x4EB2AD5: shader_glsl_compile (glsl_shader.c:330)
==11646==    by 0x4EBF8F2: shader_glsl_generate_pshader (glsl_shader.c:4515)
==11646==    by 0x4EC0087: find_glsl_pshader (glsl_shader.c:4694)
==11646==    by 0x4EC39F4: set_glsl_shader_program (glsl_shader.c:5823)
==11646==    by 0x4EC5096: shader_glsl_select (glsl_shader.c:6149)
==11646==    by 0x4E85F12: context_apply_draw_state (context.c:2997)
==11646==    by 0x4EAF1D6: draw_primitive (drawprim.c:664)
==11646==    by 0x4E86685: wined3d_cs_exec_draw (cs.c:291)
==11646==    by 0x4E87A33: wined3d_cs_st_submit (cs.c:893)
==11646==    by 0x4E866F2: wined3d_cs_emit_draw (cs.c:308)
==11646==    by 0x4E95FC3: wined3d_device_draw_primitive (device.c:3265)
==11646==    by 0x4E1BB32: d3d8_device_DrawPrimitiveUP (device.c:2021)
==11646==    by 0x4984BB2: cnd_test (visual.c:1482)
==11646==

among plenty of others.

I had to rebuild my libdrm with valgrind support for this to work, see
https://bugs.freedesktop.org/show_bug.cgi?id=77863. After that, I can run
glxgears with no valgrind issues in mesa itself (though glxgears leaks..).

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list