https://bugs.winehq.org/show_bug.cgi?id=36235
Bug ID: 36235 Summary: valgrind shows 3 leaks in amstream/tests/amstream.c Product: Wine Version: 1.7.18 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: amstream Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==20443== 8 bytes in 1 blocks are definitely lost in loss record 73 of 1,019 ==20443== at 0x7BC4C735: notify_alloc (heap.c:255) ==20443== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==20443== by 0x5C9189C: IMalloc_fnRealloc (ifs.c:233) ==20443== by 0x5C92003: CoTaskMemRealloc (objidl.h:1239) ==20443== by 0x65B52C7: ??? ==20443== by 0x4955D79: test_media_streams (amstream.h:590) ==20443== by 0x4957664: func_amstream (amstream.c:436) ==20443== by 0x49584C4: run_test (test.h:584) ==20443== by 0x49588B2: main (test.h:654)
==20443== 8 bytes in 1 blocks are definitely lost in loss record 74 of 1,019 ==20443== at 0x7BC4C735: notify_alloc (heap.c:255) ==20443== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==20443== by 0x5C9189C: IMalloc_fnRealloc (ifs.c:233) ==20443== by 0x5C92003: CoTaskMemRealloc (objidl.h:1239) ==20443== by 0x65BB457: ??? ==20443== by 0x65B535B: ??? ==20443== by 0x4955D79: test_media_streams (amstream.h:590) ==20443== by 0x4957664: func_amstream (amstream.c:436) ==20443== by 0x49584C4: run_test (test.h:584) ==20443== by 0x49588B2: main (test.h:654)
==20443== 8 bytes in 1 blocks are definitely lost in loss record 75 of 1,019 ==20443== at 0x7BC4C735: notify_alloc (heap.c:255) ==20443== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==20443== by 0x5C9189C: IMalloc_fnRealloc (ifs.c:233) ==20443== by 0x5C92003: CoTaskMemRealloc (objidl.h:1239) ==20443== by 0x65BB4A1: ??? ==20443== by 0x65B535B: ??? ==20443== by 0x4955D79: test_media_streams (amstream.h:590) ==20443== by 0x4957664: func_amstream (amstream.c:436) ==20443== by 0x49584C4: run_test (test.h:584) ==20443== by 0x49588B2: main (test.h:654) ==20443==
https://bugs.winehq.org/show_bug.cgi?id=36235
--- Comment #1 from Austin English austinenglish@gmail.com --- Possible leaks: ==12926== 28 bytes in 1 blocks are possibly lost in loss record 292 of 1,035 ==12926== at 0x7BC50A9B: RtlAllocateHeap (heap.c:255) ==12926== by 0x5DFBBB8: apartment_getclassobject (compobj.c:526) ==12926== by 0x5DFEFC6: get_inproc_class_object (compobj.c:2894) ==12926== by 0x5E01D2F: CoGetClassObject (compobj.c:3032) ==12926== by 0x5E024B7: CoCreateInstance (compobj.c:3197) ==12926== by 0xBB1A702: get_mmdevenum (dsound_main.c:178) ==12926== by 0xBB1B3FE: GetDeviceID (dsound_main.c:261) ==12926== by 0xBB1827A: DirectSoundDevice_Initialize (dsound.c:760) ==12926== by 0xBB18F04: IDirectSound8Impl_Initialize (dsound.c:398) ==12926== by 0xBB17A89: DirectSoundCreate8 (dsound.c:573) ==12926== by 0xE6B61B6: ??? ==12926== by 0xE6D1667: ??? ==12926== by 0x5E024DD: CoCreateInstance (unknwn.h:226) ==12926== by 0x6804BA6: ??? ==12926== by 0x4D558BD: test_media_streams (amstream.h:590) ==12926== by 0x4D56705: func_amstream (amstream.c:436) ==12926== by 0x4D579F4: run_test (test.h:584) ==12926== by 0x4D57DE2: main (test.h:654) ==12926==
==12926== 148 bytes in 1 blocks are possibly lost in loss record 705 of 1,035 ==12926== at 0x40087BA: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==12926== by 0x73B26AF: ??? (in /usr/lib/libdrm_intel.so.1.0.0) ==12926== by 0x73AD294: drm_intel_bo_alloc (in /usr/lib/libdrm_intel.so.1.0.0) ==12926== by 0x6FBB251: ??? (in /usr/lib/dri/i965_dri.so) ==12926== by 0x6FBB84B: ??? (in /usr/lib/dri/i965_dri.so) ==12926== by 0x6FF06DB: ??? (in /usr/lib/dri/i965_dri.so) ==12926== by 0x6F7F9B4: ??? (in /usr/lib/dri/i965_dri.so) ==12926== by 0x6889B9B: ??? (in /usr/lib/libGL.so.1.2.0) ==12926== by 0x68592F4: ??? (in /usr/lib/libGL.so.1.2.0) ==12926== by 0x649ADF2: create_glxcontext.isra.0 (opengl.c:1254) ==12926== by 0x649B127: X11DRV_wglCreateContextAttribsARB (opengl.c:2071) ==12926== by 0x53DCC29: wglCreateContextAttribsARB (wgl.c:268) ==12926== by 0x4F59F13: wined3d_adapter_init.constprop.18 (directx.c:300) ==12926== by 0x4F60D78: wined3d_init (directx.c:5272) ==12926== by 0x4FE6926: wined3d_create (wined3d_main.c:105) ==12926== by 0x4EA5236: ddraw_init (ddraw.c:4874) ==12926== by 0x4EB645B: DDRAW_Create (main.c:274) ==12926== by 0x4EB7226: DirectDrawCreate (main.c:309) ==12926== by 0x4D54E4E: create_directdraw (amstream.c:52) ==12926== by 0x4D5507C: test_media_streams (amstream.c:178) ==12926==
==12926== 32,768 bytes in 1 blocks are definitely lost in loss record 1,033 of 1,035 ==12926== at 0x73B16F1: ??? (in /usr/lib/libdrm_intel.so.1.0.0) ==12926== by 0x73AD378: drm_intel_bo_map (in /usr/lib/libdrm_intel.so.1.0.0) ==12926== by 0x6FBB270: ??? (in /usr/lib/dri/i965_dri.so) ==12926== by 0x6FBB40D: ??? (in /usr/lib/dri/i965_dri.so) ==12926== by 0x6FBF7AC: ??? (in /usr/lib/dri/i965_dri.so) ==12926== by 0x6FF0710: ??? (in /usr/lib/dri/i965_dri.so) ==12926== by 0x6F7F9B4: ??? (in /usr/lib/dri/i965_dri.so) ==12926== by 0x6889B9B: ??? (in /usr/lib/libGL.so.1.2.0) ==12926== by 0x68592F4: ??? (in /usr/lib/libGL.so.1.2.0) ==12926== by 0x649ADF2: create_glxcontext.isra.0 (opengl.c:1254) ==12926== by 0x649B127: X11DRV_wglCreateContextAttribsARB (opengl.c:2071) ==12926== by 0x53DCC29: wglCreateContextAttribsARB (wgl.c:268) ==12926== by 0x4F59F13: wined3d_adapter_init.constprop.18 (directx.c:300) ==12926== by 0x4F60D78: wined3d_init (directx.c:5272) ==12926== by 0x4FE6926: wined3d_create (wined3d_main.c:105) ==12926== by 0x4EA5236: ddraw_init (ddraw.c:4874) ==12926== by 0x4EB645B: DDRAW_Create (main.c:274) ==12926== by 0x4EB7226: DirectDrawCreate (main.c:309) ==12926== by 0x4D54E4E: create_directdraw (amstream.c:52) ==12926== by 0x4D5507C: test_media_streams (amstream.c:178) ==12926==
etc.
https://bugs.winehq.org/show_bug.cgi?id=36235
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind
https://bugs.winehq.org/show_bug.cgi?id=36235
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- I sent a patch for that - https://www.winehq.org/pipermail/wine-patches/2015-June/140128.html.
https://bugs.winehq.org/show_bug.cgi?id=36235
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a7e2b99145239868bf13035e945 | |b233d8384c5a8 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Leaks are patched with a7e2b99145239868bf13035e945b233d8384c5a8.
https://bugs.winehq.org/show_bug.cgi?id=36235
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.46.
https://bugs.winehq.org/show_bug.cgi?id=36235
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|amstream |quartz