https://bugs.winehq.org/show_bug.cgi?id=36150
Bug ID: 36150 Summary: valgrind shows a few leaks in dlls/msi/tests/automation.c Product: Wine Version: 1.7.17 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: msi Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
Definitely: ==2682== 32 bytes in 1 blocks are definitely lost in loss record 248 of 740 ==2682== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==2682== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==2682== by 0x6208297: heap_alloc (typelib.c:1664) ==2682== by 0x62112EC: ITypeLib2_fnGetLibAttr (typelib.c:4984) ==2682== by 0x6204868: LoadRegTypeLib (oaidl.h:2672) ==2682== by 0x539DD76: get_typeinfo (automation.c:97) ==2682== by 0x539E67E: AutomationObject_GetIDsOfNames (automation.c:296) ==2682== by 0x4E6DDF7: get_dispid (oaidl.h:814) ==2682== by 0x4E6DE74: test_dispid (automation.c:601) ==2682== by 0x4E7CD05: func_automation (automation.c:2765) ==2682== by 0x4F98E4B: run_test (test.h:584) ==2682== by 0x4F9923A: main (test.h:654)
possibly: ==2606== 28 bytes in 1 blocks are possibly lost in loss record 200 of 740 ==2606== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==2606== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==2606== by 0x5896826: COMPOBJ_DllList_Add (compobj.c:526) ==2606== by 0x5898B62: apartment_getclassobject (compobj.c:1335) ==2606== by 0x589C2AC: get_inproc_class_object (compobj.c:2894) ==2606== by 0x589C76B: CoGetClassObject (compobj.c:3032) ==2606== by 0x589CD2D: CoCreateInstance (compobj.c:3197) ==2606== by 0x4EA8C4B: func_automation (automation.c:2757) ==2606== by 0x4FC4E4B: run_test (test.h:584) ==2606== by 0x4FC523A: main (test.h:654)
==2606== 28 bytes in 1 blocks are possibly lost in loss record 201 of 740 ==2606== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==2606== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==2606== by 0x6228202: heap_alloc_zero (typelib.c:1657) ==2606== by 0x622AE41: MSFT_ReadAllRefs (typelib.c:2897) ==2606== by 0x622D0EC: ITypeLib2_Constructor_MSFT (typelib.c:3711) ==2606== by 0x622C358: TLB_ReadTypeLib (typelib.c:3455) ==2606== by 0x6224694: LoadTypeLibEx (typelib.c:478) ==2606== by 0x62245D0: LoadTypeLib (typelib.c:454) ==2606== by 0x6224822: LoadRegTypeLib (typelib.c:537) ==2606== by 0x53B5D76: get_typeinfo (automation.c:97) ==2606== by 0x53B667E: AutomationObject_GetIDsOfNames (automation.c:296) ==2606== by 0x4E99DF7: get_dispid (oaidl.h:814) ==2606== by 0x4E99E74: test_dispid (automation.c:601) ==2606== by 0x4EA8D05: func_automation (automation.c:2765) ==2606== by 0x4FC4E4B: run_test (test.h:584) ==2606== by 0x4FC523A: main (test.h:654) ==2606==
https://bugs.winehq.org/show_bug.cgi?id=36150
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Typelib is release in DllMain, but not if a process is terminated. So it's a same thing as for many other reports - optimization on process termination makes it look to valgrind likes it's leaking.
https://bugs.winehq.org/show_bug.cgi?id=36150
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Nikolay Sivov from comment #1)
Typelib is release in DllMain, but not if a process is terminated. So it's a same thing as for many other reports - optimization on process termination makes it look to valgrind likes it's leaking.
I've moved it to the ignore suppression file, thanks.
I'd appreciate help in sorting out the suppressions. As bugs are triaged, I update the suppression files.
https://bugs.winehq.org/show_bug.cgi?id=36150
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Austin English austinenglish@gmail.com --- Closing.