https://bugs.winehq.org/show_bug.cgi?id=43371
Bug ID: 43371 Summary: valgrind shows a definite leak in dlls/d3drm/tests/d3drm.c Product: Wine Version: 2.12 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase, valgrind Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: ---
==8686== 28 bytes in 1 blocks are definitely lost in loss record 1,029 of 2,577 ==8686== at 0x7BC51061: notify_alloc (heap.c:254) ==8686== by 0x7BC5554F: RtlAllocateHeap (heap.c:1716) ==8686== by 0x4B7B77A: Direct3DRMCreate (d3drm.c:2311) ==8686== by 0x4A4366A: test_create_texture_from_surface (d3drm.c:6620) ==8686== by 0x4A47EFB: func_d3drm (d3drm.c:7341) ==8686== by 0x4A4AD93: run_test (test.h:603) ==8686== by 0x4A4B1F2: main (test.h:687) ==8686==
==8686== 672 bytes in 24 blocks are definitely lost in loss record 2,399 of 2,577 ==8686== at 0x7BC51061: notify_alloc (heap.c:254) ==8686== by 0x7BC5554F: RtlAllocateHeap (heap.c:1716) ==8686== by 0x4B7B77A: Direct3DRMCreate (d3drm.c:2311) ==8686== by 0x4A20977: test_destroy_callback (d3drm.c:1418) ==8686== by 0x4A21934: test_object (d3drm.c:1600) ==8686== by 0x4A47E7E: func_d3drm (d3drm.c:7316) ==8686== by 0x4A4AD93: run_test (test.h:603) ==8686== by 0x4A4B1F2: main (test.h:687) ==8686==
https://bugs.winehq.org/show_bug.cgi?id=43371
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Second one was fixed with https://source.winehq.org/git/wine.git/commit/b3a6debd4f485c65c97a8ba37778d3... probably. I don't see any leaks with current Wine, please retest.
https://bugs.winehq.org/show_bug.cgi?id=43371
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- Austin, could you retest with 4.0-rc2?
https://bugs.winehq.org/show_bug.cgi?id=43371
--- Comment #3 from Austin English austinenglish@gmail.com --- Definitely still present; I see a few different definite/possible leaks. I'll attach the full log, but as an example:
==5008== 28 bytes in 1 blocks are definitely lost in loss record 354 of 1,494 ==5008== at 0x7BC483AD: notify_alloc (heap.c:260) ==5008== by 0x7BC4B8D1: RtlAllocateHeap (heap.c:1726) ==5008== by 0x4BD9D8C: heap_alloc_zero (heap.h:34) ==5008== by 0x4BD9DC1: Direct3DRMCreate (d3drm.c:2339) ==5008== by 0x4A98D91: test_create_texture_from_surface (d3drm.c:6719) ==5008== by 0x4A9D035: func_d3drm (d3drm.c:7440) ==5008== by 0x4A9EEA7: run_test (test.h:617) ==5008== by 0x4A9F8E5: main (test.h:701) ==5008==
4.0-rc2.
https://bugs.winehq.org/show_bug.cgi?id=43371
--- Comment #4 from Austin English austinenglish@gmail.com --- Created attachment 63055 --> https://bugs.winehq.org/attachment.cgi?id=63055 4.0-rc2 log