https://bugs.winehq.org/show_bug.cgi?id=36243
Bug ID: 36243 Summary: valgrind shows several leaks in d3dx9_36/tests/mesh.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
Created attachment 48377 --> https://bugs.winehq.org/attachment.cgi?id=48377 valgrind log
==26327== 1 bytes in 1 blocks are possibly lost in loss record 7 of 1,934 ==26327== at 0x4006B11: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==26327== by 0x70F1D1D: ??? (in /usr/lib/dri/i965_dri.so) ==26327== by 0x7235FB4: ??? (in /usr/lib/dri/i965_dri.so) ==26327== by 0x72536E6: ??? (in /usr/lib/dri/i965_dri.so) ==26327== by 0x722CAE6: ??? (in /usr/lib/dri/i965_dri.so) ==26327== by 0x708E161: ??? (in /usr/lib/dri/i965_dri.so) ==26327== by 0x6E40A1D: shared_dispatch_stub_639 (in /usr/lib/libglapi.so.0.0.0) ==26327== by 0x5B36B35: context_create (context.c:1730) ==26327== by 0x5BF4D73: swapchain_init (swapchain.c:914) ==26327== by 0x5BF5542: wined3d_swapchain_create (swapchain.c:1039) ==26327== by 0x5AC4E1C: swapchain_init (swapchain.c:333) ==26327== by 0x5AC4F13: d3d9_swapchain_create (swapchain.c:358) ==26327== by 0x5ABE2BB: device_parent_create_swapchain (device.c:3515) ==26327== by 0x5B44830: wined3d_device_init_3d (device.c:896) ==26327== by 0x5ABE73A: device_init (device.c:3632) ==26327== by 0x5AC0333: d3d9_CreateDevice (directx.c:465) ==26327== by 0x49BC31C: D3DXGenerateAdjacencyTest (mesh.c:4389) ==26327== by 0x49D3F0E: func_mesh (mesh.c:10308) ==26327== by 0x49FB2A0: run_test (test.h:584) ==26327== by 0x49FB68F: main (test.h:654) ==26327==
==27038== 28 bytes in 1 blocks are definitely lost in loss record 615 of 1,940 ==27038== at 0x7BC4C735: notify_alloc (heap.c:255) ==27038== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==27038== by 0x510166A: IDirectXFileDataImpl_Create (d3dxof.c:506) ==27038== by 0x51031AD: IDirectXFileEnumObjectImpl_GetNextDataObject (d3dxof.c:1032) ==27038== by 0x4FC3D9A: d3dx9_file_CreateEnumObject (xfile.c:591) ==27038== by 0x4F9C310: D3DXLoadMeshHierarchyFromXInMemory (mesh.c:3915) ==27038== by 0x4C6BF6A: D3DXLoadMeshTest (mesh.c:2307) ==27038== by 0x4C8CEE6: func_mesh (mesh.c:10300) ==27038== by 0x4CB42A0: run_test (test.h:584) ==27038== by 0x4CB468F: main (test.h:654) ==27038==
full log attached
https://bugs.winehq.org/show_bug.cgi?id=36243
--- Comment #1 from Austin English austinenglish@gmail.com --- Also: ==27392== 96 bytes in 4 blocks are definitely lost in loss record 1,808 of 2,721 ==27392== at 0x7BC4C735: notify_alloc (heap.c:255) ==27392== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==27392== by 0x49C9DDD: d3dx9_file_data_create (xfile.c:306) ==27392== by 0x49CA000: d3dx9_file_data_create (xfile.c:348) ==27392== by 0x49CAD69: d3dx9_file_CreateEnumObject (xfile.c:602) ==27392== by 0x49A4221: D3DXLoadMeshFromXInMemory (mesh.c:4211) ==27392== by 0x4C5F852: test_LoadMeshFromX_ (mesh.c:2005) ==27392== by 0x4C60CDC: D3DXLoadMeshTest (mesh.c:2418) ==27392== by 0x4C80EE6: func_mesh (mesh.c:10300) ==27392== by 0x4CA82A0: run_test (test.h:584) ==27392== by 0x4CA868F: main (test.h:654) ==27392==
https://bugs.winehq.org/show_bug.cgi?id=36243
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind
https://bugs.winehq.org/show_bug.cgi?id=36243
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral@gmail.com
--- Comment #2 from Matteo Bruni matteo.mystral@gmail.com --- This should be fixed by 7c2c242b2eccd49df09eddb12e23b77f01034ff1 and bd4fcdbde542506e2172997172ddbd0529041570.
https://bugs.winehq.org/show_bug.cgi?id=36243
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |bd4fcdbde542506e2172997172d | |dbd0529041570 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Austin English austinenglish@gmail.com --- (In reply to Matteo Bruni from comment #2)
This should be fixed by 7c2c242b2eccd49df09eddb12e23b77f01034ff1 and bd4fcdbde542506e2172997172ddbd0529041570.
Yep, thanks.
https://bugs.winehq.org/show_bug.cgi?id=36243
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.26.