https://bugs.winehq.org/show_bug.cgi?id=36244
Bug ID: 36244 Summary: valgrind shows several warnings in d3dx9_36/tests/surface.c Product: Wine Version: 1.7.18 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==27327== Invalid read of size 4 ==27327== at 0x4FB898B: point_filter_argb_pixels (surface.c:1655) ==27327== by 0x4FB9301: D3DXLoadSurfaceFromMemory (surface.c:1846) ==27327== by 0x4FB73A4: D3DXLoadSurfaceFromFileInMemory (surface.c:1179) ==27327== by 0x4FB7A4A: D3DXLoadSurfaceFromResourceA (surface.c:1290) ==27327== by 0x4C9EC72: test_D3DXLoadSurface (surface.c:668) ==27327== by 0x4CA46AF: func_surface (surface.c:1328) ==27327== by 0x4CB42A0: run_test (test.h:584) ==27327== by 0x4CB468F: main (test.h:654) ==27327== Address 0x4723c60 is 0 bytes inside a recently re-allocated block of size 3 alloc'd ==27327== at 0x7BC4C735: notify_alloc (heap.c:255) ==27327== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==27327== by 0x4FB6FF4: D3DXLoadSurfaceFromFileInMemory (surface.c:1136) ==27327== by 0x4FB7A4A: D3DXLoadSurfaceFromResourceA (surface.c:1290) ==27327== by 0x4C9EC72: test_D3DXLoadSurface (surface.c:668) ==27327== by 0x4CA46AF: func_surface (surface.c:1328) ==27327== by 0x4CB42A0: run_test (test.h:584) ==27327== by 0x4CB468F: main (test.h:654) ==27327==
==27327== 148 bytes in 1 blocks are possibly lost in loss record 564 of 850 ==27327== at 0x40087BA: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==27327== by 0x7ABA6AF: ??? (in /usr/lib/libdrm_intel.so.1.0.0) ==27327== by 0x7AB5294: drm_intel_bo_alloc (in /usr/lib/libdrm_intel.so.1.0.0) ==27327== by 0x75C6078: ??? (in /usr/lib/dri/i965_dri.so) ==27327== by 0x75C64E1: ??? (in /usr/lib/dri/i965_dri.so) ==27327== by 0x73422FA: ??? (in /usr/lib/dri/i965_dri.so) ==27327== by 0x70EBBFD: shared_dispatch_stub_462 (in /usr/lib/libglapi.so.0.0.0) ==27327== by 0x5DC9265: surface_prepare_buffer (surface.c:563) ==27327== by 0x5DC9759: surface_prepare_map_memory (surface.c:608) ==27327== by 0x5DD23A9: wined3d_surface_map (surface.c:3049) ==27327== by 0x5CB2B15: d3d9_surface_LockRect (surface.c:269) ==27327== by 0x4FB91B5: D3DXLoadSurfaceFromMemory (surface.c:1831) ==27327== by 0x4FB73A4: D3DXLoadSurfaceFromFileInMemory (surface.c:1179) ==27327== by 0x4FB788A: D3DXLoadSurfaceFromFileW (surface.c:1259) ==27327== by 0x4FB770D: D3DXLoadSurfaceFromFileA (surface.c:1233) ==27327== by 0x4C9E94F: test_D3DXLoadSurface (surface.c:648) ==27327== by 0x4CA46AF: func_surface (surface.c:1328) ==27327== by 0x4CB42A0: run_test (test.h:584) ==27327== by 0x4CB468F: main (test.h:654) ==27327==
==27405== 327,680 bytes in 1 blocks are definitely lost in loss record 848 of 850 ==27405== at 0x7AAA6F1: ??? (in /usr/lib/libdrm_intel.so.1.0.0) ==27405== by 0x7AA6378: drm_intel_bo_map (in /usr/lib/libdrm_intel.so.1.0.0) ==27405== by 0x75B7114: ??? (in /usr/lib/dri/i965_dri.so) ==27405== by 0x7333D3E: ??? (in /usr/lib/dri/i965_dri.so) ==27405== by 0x70EBFAD: shared_dispatch_stub_477 (in /usr/lib/libglapi.so.0.0.0) ==27405== by 0x5DD257F: wined3d_surface_map (surface.c:3086) ==27405== by 0x5CB2B15: d3d9_surface_LockRect (surface.c:269) ==27405== by 0x4FA91B5: D3DXLoadSurfaceFromMemory (surface.c:1831) ==27405== by 0x4FA73A4: D3DXLoadSurfaceFromFileInMemory (surface.c:1179) ==27405== by 0x4FA788A: D3DXLoadSurfaceFromFileW (surface.c:1259) ==27405== by 0x4FA770D: D3DXLoadSurfaceFromFileA (surface.c:1233) ==27405== by 0x4C9294F: test_D3DXLoadSurface (surface.c:648) ==27405== by 0x4C986AF: func_surface (surface.c:1328) ==27405== by 0x4CA82A0: run_test (test.h:584) ==27405== by 0x4CA868F: main (test.h:654) ==27405==
https://bugs.winehq.org/show_bug.cgi?id=36244
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind
https://bugs.winehq.org/show_bug.cgi?id=36244
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Austin English austinenglish@gmail.com --- Fixed in 1.7.43-40-gf479071.
https://bugs.winehq.org/show_bug.cgi?id=36244
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.44.