Skip to content
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

LEAK in RtlRunOnceBeginInitialize on critical section #466

Open
derekbruening opened this issue Nov 28, 2014 · 0 comments
Open

LEAK in RtlRunOnceBeginInitialize on critical section #466

derekbruening opened this issue Nov 28, 2014 · 0 comments

Comments

@derekbruening
Copy link
Contributor

From bruen...@google.com on June 21, 2011 11:44:44

running chrome cross_fuzz I see a lot of possible and direct 32-byte leaks from various callers that end in these top 2 frames:

Error #60: LEAK 32 direct bytes 0x1a519b68-0x1a519b88 + 0 indirect bytes
0x77057ea9 <ntdll.dll+0x37ea9> ntdll.dll!RtlRunOnceBeginInitialize
??:0
0x77052601 <ntdll.dll+0x32601> ntdll.dll!RtlInitializeCriticalSectionAndSpinCount
??:0
0x76ac0060 <KERNELBASE.dll+0x10060> KERNELBASE.dll!InitializeCriticalSectionAndSpinCount
??:0
0x5f5f1ac0 <chrome.dll+0x1f11ac0> chrome.dll!base::internal::LockImpl::LockImpl
e:\src\chromium\src\base\synchronization\lock_impl_win.cc:13
0x5f5f0e69 <chrome.dll+0x1f10e69> chrome.dll!base::Lock::Lock
e:\src\chromium\src\base\synchronization\lock.cc:16
0x5f1f8671 <chrome.dll+0x1b18671> chrome.dll!net::SyncHostResolverBridge::Core::Core
e:\src\chromium\src\net\proxy\sync_host_resolver_bridge.cc:83
0x5f1f8c78 <chrome.dll+0x1b18c78> chrome.dll!net::SyncHostResolverBridge::SyncHostResolverBridge
e:\src\chromium\src\net\proxy\sync_host_resolver_bridge.cc:155
0x5f0eb184 <chrome.dll+0x1a0b184> chrome.dll!net::`anonymous namespace'::ProxyResolverFactoryForV8::CreateProxyResolver
e:\src\chromium\src\net\proxy\proxy_service.cc:189
0x5f1e49b6 <chrome.dll+0x1b049b6> chrome.dll!net::MultiThreadedProxyResolver::AddNewExecutor
e:\src\chromium\src\net\proxy\multi_threaded_proxy_resolver.cc:551
0x5f1e2dc5 <chrome.dll+0x1b02dc5> chrome.dll!net::MultiThreadedProxyResolver::GetProxyForURL
e:\src\chromium\src\net\proxy\multi_threaded_proxy_resolver.cc:431
0x5f0ecb28 <chrome.dll+0x1a0cb28> chrome.dll!net::ProxyService::PacRequest::Start
e:\src\chromium\src\net\proxy\proxy_service.cc:298
0x5f0ed7a1 <chrome.dll+0x1a0d7a1> chrome.dll!net::ProxyService::PacRequest::StartAndCompleteCheckingForSynchronous
e:\src\chromium\src\net\proxy\proxy_service.cc:309

more examples:

Error #9: POSSIBLE LEAK 32 direct bytes 0x008c0400-0x008c0420 + 0 indirect bytes
0x77057ea9 <ntdll.dll+0x37ea9> ntdll.dll!RtlRunOnceBeginInitialize
??:0
0x77052601 <ntdll.dll+0x32601> ntdll.dll!RtlInitializeCriticalSectionAndSpinCount
??:0
0x752581d6 <RPCRT4.dll+0x181d6> RPCRT4.dll!NDRCContextMarshall
??:0
0x7525af3b <RPCRT4.dll+0x1af3b> RPCRT4.dll!RpcBindingFree
??:0
0x75260c93 <RPCRT4.dll+0x20c93> RPCRT4.dll!NdrConformantVaryingArrayBufferSize
??:0
0x75261347 <RPCRT4.dll+0x21347> RPCRT4.dll!RpcBindingFromStringBindingW
??:0
0x75261165 <RPCRT4.dll+0x21165> RPCRT4.dll!NdrConformantVaryingArrayBufferSize
??:0
0x7526122a <RPCRT4.dll+0x2122a> RPCRT4.dll!RpcBindingFromStringBindingW
??:0
0x74566a31 <WINHTTP.dll+0x6a31> WINHTTP.dll!WinHttpSetStatusCallback
??:0
0x745669ac <WINHTTP.dll+0x69ac> WINHTTP.dll!WinHttpSetStatusCallback
??:0
0x7456678e <WINHTTP.dll+0x678e> WINHTTP.dll!WinHttpSetStatusCallback
??:0
0x7457298e <WINHTTP.dll+0x1298e> WINHTTP.dll!WinHttpGetIEProxyConfigForCurrentUser
??:0

Error #45: LEAK 32 direct bytes 0x1a4c8a58-0x1a4c8a78 + 0 indirect bytes
0x77057ea9 <ntdll.dll+0x37ea9> ntdll.dll!RtlRunOnceBeginInitialize
??:0
0x77052601 <ntdll.dll+0x32601> ntdll.dll!RtlInitializeCriticalSectionAndSpinCount
??:0
0x76ac0060 <KERNELBASE.dll+0x10060> KERNELBASE.dll!InitializeCriticalSectionAndSpinCount
??:0
0x5f5f1ac0 <chrome.dll+0x1f11ac0> chrome.dll!base::internal::LockImpl::LockImpl
e:\src\chromium\src\base\synchronization\lock_impl_win.cc:13
0x5f5f0e69 <chrome.dll+0x1f10e69> chrome.dll!base::Lock::Lock
e:\src\chromium\src\base\synchronization\lock.cc:16
0x5ff1c789 <chrome.dll+0x283c789> chrome.dll!content_settings::PrefDefaultProvider::PrefDefaultProvider
e:\src\chromium\src\chrome\browser\content_settings\content_settings_pref_provider.cc:93
0x5fab4e49 <chrome.dll+0x23d4e49> chrome.dll!HostContentSettingsMap::HostContentSettingsMap
e:\src\chromium\src\chrome\browser\content_settings\host_content_settings_map.cc:72
0x5fbb6b12 <chrome.dll+0x24d6b12> chrome.dll!ProfileImpl::GetHostContentSettingsMap
e:\src\chromium\src\chrome\browser\profiles\profile_impl.cc:947
0x5fb2c26c <chrome.dll+0x244c26c> chrome.dll!ProfileIOData::InitializeProfileParams
e:\src\chromium\src\chrome\browser\profiles\profile_io_data.cc:207
0x600104d3 <chrome.dll+0x29304d3> chrome.dll!ProfileImplIOData::Handle::LazyInitialize
e:\src\chromium\src\chrome\browser\profiles\profile_impl_io_data.cc:144
0x6000fffa <chrome.dll+0x292fffa> chrome.dll!ProfileImplIOData::Handle::GetMainRequestContextGetter
e:\src\chromium\src\chrome\browser\profiles\profile_impl_io_data.cc:88
0x5fbb65e2 <chrome.dll+0x24d65e2> chrome.dll!ProfileImpl::GetRequestContext
e:\src\chromium\src\chrome\browser\profiles\profile_impl.cc:866

Error #52: POSSIBLE LEAK 32 direct bytes 0x1a50fcf0-0x1a50fd10 + 0 indirect bytes
0x77057ea9 <ntdll.dll+0x37ea9> ntdll.dll!RtlRunOnceBeginInitialize
??:0
0x77052601 <ntdll.dll+0x32601> ntdll.dll!RtlInitializeCriticalSectionAndSpinCount
??:0
0x752581d6 <RPCRT4.dll+0x181d6> RPCRT4.dll!NDRCContextMarshall
??:0
0x7525af3b <RPCRT4.dll+0x1af3b> RPCRT4.dll!RpcBindingFree
??:0
0x75260c93 <RPCRT4.dll+0x20c93> RPCRT4.dll!NdrConformantVaryingArrayBufferSize
??:0
0x75261c04 <RPCRT4.dll+0x21c04> RPCRT4.dll!RpcBindingSetAuthInfoExW
??:0
0x7525b98b <RPCRT4.dll+0x1b98b> RPCRT4.dll!I_RpcBindingCopy
??:0
0x75258314 <RPCRT4.dll+0x18314> RPCRT4.dll!NDRCContextMarshall
??:0
0x75258282 <RPCRT4.dll+0x18282> RPCRT4.dll!NDRCContextMarshall
??:0
0x75258247 <RPCRT4.dll+0x18247> RPCRT4.dll!NDRCContextMarshall
??:0
0x75257116 <RPCRT4.dll+0x17116> RPCRT4.dll!NdrClientInitialize
??:0
0x752f015a <RPCRT4.dll+0xb015a> RPCRT4.dll!Ordinal512
??:0

Original issue: http://code.google.com/p/drmemory/issues/detail?id=466

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant