-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
win8 leaks in app_suite_tests #1227
Comments
From bruen...@google.com on June 17, 2013 20:41:52 ** TODO new win8 leaks in runsuite Somehow these only show up when running the full suite w/ the bot scripts *** TODO issue #1140 no-syms callstacks -- see issue #1140 *** TODO gdi32!CreateFontIndirectExW % bin/symquery -e c:/windows/syswow64/gdi32.dll -f -v -a 0x5018e Error 0 replace_RtlAllocateHeap (0x0345d080 <drmemorylib.dll+0x17d080>)
1 GDI32.dll!CreatePatternBrush (0x7487018e <GDI32.dll+0x5018e>)
2 GDI32.dll!CreateFontIndirectW (0x7487013e <GDI32.dll+0x5013e>)
3 UxTheme.dll!ThemeInitApiHook (0x74646cd4 <UxTheme.dll+0x6cd4>)
4 UxTheme.dll!Ordinal43 (0x746436ac <UxTheme.dll+0x36ac>)
5 UxTheme.dll!IsThemePartDefined (0x74646297 <UxTheme.dll+0x6297>)
6 UxTheme.dll!GetThemeBitmap (0x74646775 <UxTheme.dll+0x6775>)
7 USER32.dll!User32InitializeImmEntryTable (0x764d17c2 <USER32.dll+0x117c2>)
8 USER32.dll!User32InitializeImmEntryTable (0x764d165f <USER32.dll+0x1165f>)
9 ntdll.dll!KiUserCallbackDispatcher (0x771b2c92 <ntdll.dll+0x42c92>)
#10 RICHED20.dll!CreateTextServices (0x73507d73 <RICHED20.dll+0x7d73>) *** TODO ntdll!LdrpSearchResourceSection_U % bin/symquery -e c:/windows/syswow64/ntdll.dll -f -v -a 0x65942 Error 0 replace_RtlAllocateHeap (0x0345d080 <drmemorylib.dll+0x17d080>)
1 ntdll.dll!RtlRetrieveNtUserPfn (0x771d5942 <ntdll.dll+0x65942>)
2 ntdll.dll!RtlLCIDToCultureName (0x771d53b6 <ntdll.dll+0x653b6>)
3 ntdll.dll!RtlLCIDToCultureName (0x771d4c37 <ntdll.dll+0x64c37>)
4 ntdll.dll!RtlLCIDToCultureName (0x771d4d50 <ntdll.dll+0x64d50>)
5 ntdll.dll!LdrFindResource_U (0x7719c70c <ntdll.dll+0x2c70c>)
6 KERNELBASE.dll!FindResourceExW (0x76e608de <KERNELBASE.dll+0x108de>)
7 USER32.dll!SetWinEventHook (0x764d2680 <USER32.dll+0x12680>)
8 USER32.dll!SetWinEventHook (0x764d26cb <USER32.dll+0x126cb>)
9 USER32.dll!SetWinEventHook (0x764d259d <USER32.dll+0x1259d>)
#10 USER32.dll!SetWinEventHook (0x764d2660 <USER32.dll+0x12660>) |
From bruen...@google.com on June 17, 2013 20:42:07 *** TODO CThemeWnd::Attach % bin/symquery -e c:/windows/syswow64/uxtheme.dll -f -v -a 0x8744 Error 0 replace_RtlAllocateHeap (0x0345d080 <drmemorylib.dll+0x17d080>)
1 UxTheme.dll!GetThemeBool (0x74648744 <UxTheme.dll+0x8744>)
2 UxTheme.dll!Ordinal45 (0x74642ea0 <UxTheme.dll+0x2ea0>)
3 UxTheme.dll!? (0x746417af <UxTheme.dll+0x17af>)
4 USER32.dll!gapfnScSendMessage (0x764c75e7 <USER32.dll+0x75e7>)
5 USER32.dll!SetWindowPos (0x764caed0 <USER32.dll+0xaed0>)
6 USER32.dll!SetWindowPlacement (0x764d9a73 <USER32.dll+0x19a73>)
7 USER32.dll!SetWindowPlacement (0x764d9bd9 <USER32.dll+0x19bd9>)
8 USER32.dll!gapfnScSendMessage (0x764c77d8 <USER32.dll+0x77d8>)
9 USER32.dll!gapfnScSendMessage (0x764c78cb <USER32.dll+0x78cb>)
#10 USER32.dll!PeekMessageW (0x764c7b6f <USER32.dll+0x7b6f>) |
From bruen...@google.com on May 13, 2013 17:14:03
Going to suppress for now in the app_suite suppression file, but these
should be analyzed later:
** TODO win8 combase.dll leaks in NtUserTests.CoInitializeUninitialize
Error
#1
: LEAK 264 direct bytes 0x02f19848-0x02f19950 + 0 indirect bytes#0 replace_RtlAllocateHeap+0x0 [c:\derek\drmemory\git\src\common\alloc_replace.c:2879](0x73976000 <drmemorylib.dll+0x176000)
#1 combase.dll!LockEntry::ThreadInit+0x15 [e:\obj.x86fre\com\combase\common\daytona\objfre\i386\rwlock_ole32.cxx:703](0x75e5d621 <combase.dll+0x1d621)
#2 combase.dll!_CoInitializeEx+0x3b70 [d:\win8_gdr\com\combase\class\compobj.cxx:3348](0x75e5d723 <combase.dll+0x1d723)
#3 combase.dll!CoInitializeEx+0x41 [d:\win8_gdr\com\combase\class\compobj.cxx:3542](0x75e59e37 <combase.dll+0x19e37)
#4 ole32.dll!CoInitialize+0xf (0x75546748 <ole32.dll+0x6748>)
#5 NtUserTests_CoInitializeUninitialize_Test::TestBody+0xe [c:\derek\drmemory\git\src\tests\app_suite\ntuser_tests_win.cpp:102](0x010797ff <app_suite_tests.exe+0x197ff)
#6 testing::internal::HandleSehExceptionsInMethodIfSupportedtesting::Test,void+0x3f [c:\derek\drmemory\git\src\third_party\googletest\src\gtest.cc:2075](0x010aa830 <app_suite_tests.exe+0x4a830)
#7 testing::internal::HandleExceptionsInMethodIfSupportedtesting::Test,void+0x5a [c:\derek\drmemory\git\src\third_party\googletest\src\gtest.cc:2126](0x010aa1eb <app_suite_tests.exe+0x4a1eb)
#8 testing::Test::Run +0x86 [c:\derek\drmemory\git\src\third_party\googletest\src\gtest.cc:2162](0x010962e7 <app_suite_tests.exe+0x362e7)
#9 testing::TestInfo::Run+0xac [c:\derek\drmemory\git\src\third_party\googletest\src\gtest.cc:2338](0x01096aed <app_suite_tests.exe+0x36aed)
#10 testing::TestCase::Run+0xbe [c:\derek\drmemory\git\src\third_party\googletest\src\gtest.cc:2445](0x01096f6f <app_suite_tests.exe+0x36f6f)
#11 testing::internal::UnitTestImpl::RunAllTests+0x280 [c:\derek\drmemory\git\src\third_party\googletest\src\gtest.cc:4237](0x0109b531 <app_suite_tests.exe+0x3b531)
Error
#2
: POSSIBLE LEAK 24 direct bytes 0x02f19970-0x02f19988 + 0 indirect bytes#0 replace_RtlAllocateHeap+0x0 [c:\derek\drmemory\git\src\common\alloc_replace.c:2879](0x73976000 <drmemorylib.dll+0x176000)
#1 combase.dll!EventPoolEntry::CreatePoolEntry+0x45 [e:\obj.x86fre\com\combase\common\daytona\objfre\i386\rwlock_ole32.cxx:1204](0x75e73bf1 <combase.dll+0x33bf1)
#2 combase.dll!EventPoolEntry::ThreadInit+0x165c1 [e:\obj.x86fre\com\combase\common\daytona\objfre\i386\rwlock_ole32.cxx:1429](0x75e73c42 <combase.dll+0x33c42)
#3 combase.dll!TLSPreallocateData+0x8c [d:\win8_gdr\com\combase\class\tls.cxx:365](0x75e5d566 <combase.dll+0x1d566)
#4 combase.dll!_CoInitializeEx+0x3b70 [d:\win8_gdr\com\combase\class\compobj.cxx:3348](0x75e5d723 <combase.dll+0x1d723)
#5 combase.dll!CoInitializeEx+0x41 [d:\win8_gdr\com\combase\class\compobj.cxx:3542](0x75e59e37 <combase.dll+0x19e37)
#6 ole32.dll!CoInitialize+0xf (0x75546748 <ole32.dll+0x6748>)
#7 NtUserTests_CoInitializeUninitialize_Test::TestBody+0xe [c:\derek\drmemory\git\src\tests\app_suite\ntuser_tests_win.cpp:102](0x010797ff <app_suite_tests.exe+0x197ff)
#8 testing::internal::HandleSehExceptionsInMethodIfSupportedtesting::Test,void+0x3f [c:\derek\drmemory\git\src\third_party\googletest\src\gtest.cc:2075](0x010aa830 <app_suite_tests.exe+0x4a830)
#9 testing::internal::HandleExceptionsInMethodIfSupportedtesting::Test,void+0x5a [c:\derek\drmemory\git\src\third_party\googletest\src\gtest.cc:2126](0x010aa1eb <app_suite_tests.exe+0x4a1eb)
#10 testing::Test::Run +0x86 [c:\derek\drmemory\git\src\third_party\googletest\src\gtest.cc:2162](0x010962e7 <app_suite_tests.exe+0x362e7)
#11 testing::TestInfo::Run+0xac [c:\derek\drmemory\git\src\third_party\googletest\src\gtest.cc:2338](0x01096aed <app_suite_tests.exe+0x36aed)
** TODO win8 leak in LdrpGetNewTlsVector in OleTest.CoCreateInstance
beyond those already suppressed:
Error
#5
: POSSIBLE LEAK 40 direct bytes 0x03435b28-0x03435b50 + 16 indirect bytes#0 replace_RtlAllocateHeap+0x0 [c:\derek\drmemory\git\src\common\alloc_replace.c:2879](0x73976000 <drmemorylib.dll+0x176000)
#1 ntdll.dll!LdrpGetNewTlsVector+0x23 (0x77d720dd <ntdll.dll+0x120dd>)
#2 ntdll.dll!LdrpSnapModule+0xefe (0x77dba153 <ntdll.dll+0x5a153>)
#3 ntdll.dll!LdrpMapAndSnapModules+0x67 (0x77db9794 <ntdll.dll+0x59794>)
#4 ntdll.dll!LdrpPrepareModuleForExecution+0x99 (0x77db9a9f <ntdll.dll+0x59a9f>)
#5 ntdll.dll!LdrpLoadDll+0x2fd7 (0x77dba247 <ntdll.dll+0x5a247>)
#6 ntdll.dll!LdrLoadDll+0x6d (0x77db7229 <ntdll.dll+0x57229>)
#7 KERNELBASE.dll!LoadLibraryExW+0xbc (0x77bfe7db <KERNELBASE.dll+0xe7db>)
#8 combase.dll!LoadLibraryWithLogging+0x15 [d:\win8_gdr\com\combase\common\loadfree.cxx:160](0x75e67cb3 <combase.dll+0x27cb3)
#9 combase.dll!CClassCache::CDllPathEntry::LoadDll+0x44 [d:\win8_gdr\com\combase\objact\dllcache.cxx:2398](0x75e67c05 <combase.dll+0x27c05)
#10 combase.dll!CClassCache::CDllPathEntry::Create+0x3f [d:\win8_gdr\com\combase\objact\dllcache.cxx:2242](0x75e67a63 <combase.dll+0x27a63)
#11 combase.dll!CClassCache::CClassEntry::CreateDllClassEntry+0x154 [d:\win8_gdr\com\combase\objact\dllcache.cxx:1035](0x75e67860 <combase.dll+0x27860)
also shows up as a full leak
** TODO win8 MessageBox leaks
part of issue #1140 I suppose
Error
#3
: LEAK 12 direct bytes 0x03953d00-0x03953d0c + 0 indirect bytes#0 replace_malloc +0x0 [c:\derek\drmemory\git\src\common\alloc_replace.c:2233](0x739712f0 <drmemorylib.dll+0x1712f0)
#1 tiptsf.dll!operator new+0xd (0x752c21b2 <tiptsf.dll+0x21b2>)
#2 tiptsf.dll!GetTlsValue+0x24d (0x752c125e <tiptsf.dll+0x125e>)
#3 tiptsf.dll!CCorrectionIMX::ActivateEx+0x1e (0x752cdbad <tiptsf.dll+0xdbad>)
#4 MSCTF.dll!CThreadInputMgr::_ActivateTip+0x95 (0x75ca403f <MSCTF.dll+0x1403f>)
#5 MSCTF.dll!CThreadInputMgr::ActivateInputProfile+0xc570 (0x75ca3f8a <MSCTF.dll+0x13f8a>)
#6 MSCTF.dll!CThreadInputMgr::OnActiveProfileChange+0xa3e (0x75c992c8 <MSCTF.dll+0x92c8>)
#7 MSCTF.dll!CThreadInputMgr::TimerProc+0x35b9 (0x75c9d543 <MSCTF.dll+0xd543>)
#8 USER32.dll!InternalCallWinProc+0x22 (0x760c77d8 <USER32.dll+0x77d8>)
#9 USER32.dll!UserCallWinProc+0xb7 (0x760cb9b4 <USER32.dll+0xb9b4>)
#10 USER32.dll!DispatchMessageWorker+0x2f8 (0x760c8b9e <USER32.dll+0x8b9e>)
#11 USER32.dll!DialogBox2+0x9270 (0x760d5cbd <USER32.dll+0x15cbd>)
#12 USER32.dll!InternalDialogBox+0xe8 (0x760dc7eb <USER32.dll+0x1c7eb>)
#13 USER32.dll!SoftModalMessageBox+0x698 (0x760e1d7a <USER32.dll+0x21d7a>)
#14 USER32.dll!MessageBoxWorker+0x181 (0x760e1664 <USER32.dll+0x21664>)
#15 USER32.dll!MessageBoxTimeoutW+0x6b (0x76126063 <USER32.dll+0x66063>)
#16 USER32.dll!MessageBoxTimeoutA+0xe2 (0x7612615f <USER32.dll+0x6615f>)
#17 USER32.dll!MessageBoxA+0x19 (0x76125f83 <USER32.dll+0x65f83>)
#18 thread_func +0x16 [c:\derek\drmemory\git\src\tests\app_suite\ntuser_tests_win.cpp:238](0x0107a9e7 <app_suite_tests.exe+0x1a9e7)
#19 KERNEL32.dll!BaseThreadInitThunk+0xd (0x76508543 <KERNEL32.dll+0x28543>)
#20 ntdll.dll!__RtlUserThreadStart+0x26 (0x77dbac69 <ntdll.dll+0x5ac69>)
Error
#5
: LEAK 264 direct bytes 0x03739148-0x03739250 + 0 indirect bytes#0 replace_RtlAllocateHeap+0x0 [c:\derek\drmemory\git\src\common\alloc_replace.c:2879](0x73976390 <drmemorylib.dll+0x176390)
#1 combase.dll!LockEntry::ThreadInit+0x15 [e:\obj.x86fre\com\combase\common\daytona\objfre\i386\rwlock_ole32.cxx:703](0x75e5d621 <combase.dll+0x1d621)
#2 combase.dll!CoGetErrorInfo+0x3043c [d:\win8_gdr\com\combase\class\cerror.cxx:196](0x75e73a86 <combase.dll+0x33a86)
#3 tiptsf.dll!TabletCallWndProc+0x2d (0x752c131e <tiptsf.dll+0x131e>)
#4 USER32.dll!DispatchHookW+0x35 (0x760cb622 <USER32.dll+0xb622>)
#5 USER32.dll!fnHkINLPCWPSTRUCTW+0x60 (0x760cb731 <USER32.dll+0xb731>)
#6 USER32.dll!__fnINLPCREATESTRUCT+0x63 (0x760cd078 <USER32.dll+0xd078>)
#7 ntdll.dll!KiUserCallbackDispatcher+0x2d (0x77da2f02 <ntdll.dll+0x42f02>)
#8 USER32.dll!InternalCreateDialog+0x636 (0x760db681 <USER32.dll+0x1b681>)
#9 USER32.dll!InternalDialogBox+0xd3 (0x760dc7d6 <USER32.dll+0x1c7d6>)
#10 USER32.dll!SoftModalMessageBox+0x698 (0x760e1d7a <USER32.dll+0x21d7a>)
#11 USER32.dll!MessageBoxWorker+0x181 (0x760e1664 <USER32.dll+0x21664>)
#12 USER32.dll!MessageBoxTimeoutW+0x6b (0x76126063 <USER32.dll+0x66063>)
#13 USER32.dll!MessageBoxTimeoutA+0xe2 (0x7612615f <USER32.dll+0x6615f>)
#14 USER32.dll!MessageBoxA+0x19 (0x76125f83 <USER32.dll+0x65f83>)
#15 thread_func +0x16 [c:\derek\drmemory\git\src\tests\app_suite\ntuser_tests_win.cpp:238](0x0107a9e7 <app_suite_tests.exe+0x1a9e7)
#16 KERNEL32.dll!BaseThreadInitThunk+0xd (0x76508543 <KERNEL32.dll+0x28543>)
#17 ntdll.dll!__RtlUserThreadStart+0x26 (0x77dbac69 <ntdll.dll+0x5ac69>)
Original issue: http://code.google.com/p/drmemory/issues/detail?id=1227
The text was updated successfully, but these errors were encountered: