https://bugs.winehq.org/show_bug.cgi?id=36183
Bug ID: 36183 Summary: valgrind shows a potential leaks in atl100/tests/atl.c Product: Wine Version: 1.3.13 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: atl Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==13578== 8 bytes in 1 blocks are possibly lost in loss record 37 of 602 ==13578== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==13578== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==13578== by 0x7B8457FF: HeapAlloc (heap.c:271) ==13578== by 0x7B845AD4: GlobalAlloc (heap.c:376) ==13578== by 0x4E29357: OLEClipbrd_Initialize (clipboard.c:1732) ==13578== by 0x4E626C6: OleInitialize (ole2.c:215) ==13578== by 0x4DE5CA0: AtlAxWinInit (atl_ax.c:108) ==13578== by 0x4C9708E: test_ax_win (atl.c:600) ==13578== by 0x4C97273: func_atl (atl.c:627) ==13578== by 0x4C98072: run_test (test.h:584) ==13578== by 0x4C98460: main (test.h:654) ==13578==
==13578== 32 bytes in 1 blocks are possibly lost in loss record 208 of 602 ==13578== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==13578== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==13578== by 0x7BC39A6B: RtlInitializeCriticalSectionEx (critsection.c:326) ==13578== by 0x7B876AE5: InitializeCriticalSectionEx (sync.c:356) ==13578== by 0x7B876A64: InitializeCriticalSection (sync.c:313) ==13578== by 0x4DE4213: AtlWinModuleInit (atl.c:436) ==13578== by 0x4C950D9: test_winmodule (atl.c:89) ==13578== by 0x4C9725A: func_atl (atl.c:622) ==13578== by 0x4C98072: run_test (test.h:584) ==13578== by 0x4C98460: main (test.h:654) ==13578==
==1611== 32 bytes in 1 blocks are possibly lost in loss record 217 of 629 ==1611== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==1611== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==1611== by 0x7BC39A6B: RtlInitializeCriticalSectionEx (critsection.c:326) ==1611== by 0x7B876AE5: InitializeCriticalSectionEx (sync.c:356) ==1611== by 0x7B876A64: InitializeCriticalSection (sync.c:313) ==1611== by 0x4E62252: test_winmodule (atl.c:101) ==1611== by 0x4E6425A: func_atl (atl.c:622) ==1611== by 0x4E65072: run_test (test.h:584) ==1611== by 0x4E65460: main (test.h:654) ==1611==
==1611== 32 bytes in 1 blocks are possibly lost in loss record 218 of 629 ==1611== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==1611== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==1611== by 0x5B300B4: alloc_bstr (oleaut.c:162) ==1611== by 0x5B3044A: SysAllocStringLen (oleaut.c:324) ==1611== by 0x5B535E8: TLB_MultiByteToBSTR (typelib.c:1753) ==1611== by 0x5B580A8: ITypeLib2_Constructor_MSFT (typelib.c:3706) ==1611== by 0x5B57398: TLB_ReadTypeLib (typelib.c:3460) ==1611== by 0x5B4F6BC: LoadTypeLibEx (typelib.c:478) ==1611== by 0x5B4F5F8: LoadTypeLib (typelib.c:454) ==1611== by 0x4E639C1: Dispatch_GetTypeInfo (atl.c:520) ==1611== by 0x4F853FA: AtlGetObjectSourceInterface (oaidl.h:811) ==1611== by 0x4E63D58: test_source_iface (atl.c:576) ==1611== by 0x4E6426E: func_atl (atl.c:626) ==1611== by 0x4E65072: run_test (test.h:584) ==1611== by 0x4E65460: main (test.h:654) ==1611==
==1659== 32 bytes in 1 blocks are possibly lost in loss record 218 of 630 ==1659== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==1659== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==1659== by 0x7BC39A6B: RtlInitializeCriticalSectionEx (critsection.c:326) ==1659== by 0x7B876AE5: InitializeCriticalSectionEx (sync.c:356) ==1659== by 0x7B876A64: InitializeCriticalSection (sync.c:313) ==1659== by 0x4E62252: test_winmodule (atl.c:101) ==1659== by 0x4E6425A: func_atl (atl.c:622) ==1659== by 0x4E65072: run_test (test.h:584) ==1659== by 0x4E65460: main (test.h:654) ==1659==
==1986== 80 bytes in 1 blocks are possibly lost in loss record 348 of 630 ==1986== at 0x7BC4C6B7: notify_alloc (heap.c:255) ==1986== by 0x7BC50EFB: RtlAllocateHeap (heap.c:1716) ==1986== by 0x5B040B4: alloc_bstr (oleaut.c:162) ==1986== by 0x5B045F5: SysAllocStringByteLen (oleaut.c:413) ==1986== by 0x5B29DA8: MSFT_ReadAllStrings (typelib.c:2879) ==1986== by 0x5B2B9F0: ITypeLib2_Constructor_MSFT (typelib.c:3581) ==1986== by 0x5B2B398: TLB_ReadTypeLib (typelib.c:3460) ==1986== by 0x5B236BC: LoadTypeLibEx (typelib.c:478) ==1986== by 0x5B235F8: LoadTypeLib (typelib.c:454) ==1986== by 0x4A349C1: Dispatch_GetTypeInfo (atl.c:520) ==1986== by 0x4F553FA: AtlGetObjectSourceInterface (oaidl.h:811) ==1986== by 0x4A34D58: test_source_iface (atl.c:576) ==1986== by 0x4A3526E: func_atl (atl.c:626) ==1986== by 0x4A36072: run_test (test.h:584) ==1986== by 0x4A36460: main (test.h:654) ==1986==
https://bugs.winehq.org/show_bug.cgi?id=36183
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|valgrind shows a potential |valgrind shows some |leaks in atl100/tests/atl.c |potential leaks in | |atl100/tests/atl.c
https://bugs.winehq.org/show_bug.cgi?id=36183
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind
https://bugs.winehq.org/show_bug.cgi?id=36183
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=36183
--- Comment #1 from Austin English austinenglish@gmail.com --- Some more: ==26426== 128 bytes in 4 blocks are possibly lost in loss record 1,768 of 2,486 ==26426== at 0x7BC50812: notify_alloc (heap.c:254) ==26426== by 0x7BC54C93: RtlAllocateHeap (heap.c:1716) ==26426== by 0x7BC3BE13: RtlInitializeCriticalSectionEx (critsection.c:326) ==26426== by 0x7B47E74F: InitializeCriticalSectionEx (sync.c:359) ==26426== by 0x7B47E71D: InitializeCriticalSectionAndSpinCount (sync.c:337) ==26426== by 0x6A0D8113: ??? ==26426==
==26426== 164 bytes in 1 blocks are possibly lost in loss record 1,828 of 2,486 ==26426== at 0x7BC50812: notify_alloc (heap.c:254) ==26426== by 0x7BC54C93: RtlAllocateHeap (heap.c:1716) ==26426== by 0x526A7E7: rpcrt4_conn_np_alloc (rpc_transport.c:78) ==26426== by 0x5273825: RPCRT4_CreateConnection (rpc_transport.c:3311) ==26426== by 0x526AD66: rpcrt4_protseq_ncalrpc_open_endpoint (rpc_transport.c:220) ==26426== by 0x5267834: RPCRT4_use_protseq (rpc_server.c:846) ==26426== by 0x5268230: RpcServerUseProtseqEpExW (rpc_server.c:1057) ==26426== by 0x5267C99: RpcServerUseProtseqEpW (rpc_server.c:943) ==26426== by 0x4BB6926: RPC_StartRemoting (rpc.c:1636) ==26426== by 0x4B9E422: StdMarshalImpl_MarshalInterface (marshal.c:1235) ==26426== by 0x4BA01BF: IMarshal_MarshalInterface (objidl.h:878) ==26426== by 0x4BA01BF: CoMarshalInterface (???:0) ==26426== by 0x4BA72B6: RegisterDragDrop (ole2.c:605) ==26426== by 0x6B72EF90: ??? ==26426==
==26426== 256 bytes in 7 blocks are possibly lost in loss record 1,934 of 2,486 ==26426== at 0x7BC50812: notify_alloc (heap.c:254) ==26426== by 0x7BC54C93: RtlAllocateHeap (heap.c:1716) ==26426== by 0x4B97834: IMalloc_fnAlloc (ifs.c:187) ==26426== by 0x4B980D3: IMalloc_Alloc (objidl.h:1508) ==26426== by 0x4B980D3: CoTaskMemAlloc (???:0) ==26426== by 0x52CEABE: alloc_bstr (oleaut.c:177) ==26426== by 0x52CEE85: SysAllocStringLen (oleaut.c:355) ==26426== by 0x675210E: pre_process_uri (uri.c:786) ==26426== by 0x675F601: CreateUri (uri.c:5738) ==26426== by 0x73DB9D2: create_uri (persist.c:186) ==26426== by 0x73CC267: nsIOServiceHook_NewURI (nsio.c:3890) ==26426== by 0x69F3AFD9: ??? ==26426==
==26426== 313 bytes in 1 blocks are possibly lost in loss record 1,990 of 2,486 ==26426== at 0x7BC50812: notify_alloc (heap.c:254) ==26426== by 0x7BC55326: RtlReAllocateHeap (heap.c:1883) ==26426== by 0x793E85A: msvcrt_heap_realloc (heap.c:102) ==26426== by 0x793F40D: MSVCRT_realloc (heap.c:457) ==26426== by 0x69E78C00: ??? ==26426==
wine-2.12