DynamoRIO / DynamoRIO/drmemory

LEAKs in chrome to analyze for whether false or true positive

Open
#467 0 comments 0 reactions 0 assignees View on GitHub
Bug-FalsePositive Migrated Priority-Medium
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on June 21, 2011 11:50:36_

These need to be analyzed

this is a cross_fuzz run with -no_check_uninitialized that ends in Aw, Snap (issue #465) and me then closing the window manually.

I've attached the results.txt

```
99 unique, 109 total, 50536 byte(s) of leak(s)
26 unique, 35 total, 29499 byte(s) of possible leak(s)
```

I'm seeing some w/ all-win32-lib callstacks, which I'm ignoring for now

also quite a few of issue #371:
chrome.dll!base::Histogram::FactoryGet
and
chrome.dll!base::LinearHistogram::FactoryGet

critical section leaks filed as issue #466: LEAK in RtlRunOnceBeginInitialize

here are the rest:

Error `#10`: LEAK 32 direct bytes 0x0c1c0fc0-0x0c1c0fe0 + 84 indirect bytes
0x5d885cf4 chrome.dll!generic_cpp_alloc
e:\src\chromium\src\base\allocator\generic_allocators.cc:16
0x5d885cce chrome.dll!operator new
e:\src\chromium\src\base\allocator\generic_allocators.cc:28
0x5f62b0c5 chrome.dll!MessageLoop::DeleteSoonbase::MessageLoopProxyImpl
e:\src\chromium\src\base\message_loop.h:208
0x5f62adb1 chrome.dll!base::MessageLoopProxyImpl::OnDestruct
e:\src\chromium\src\base\message_loop_proxy_impl.cc:71
0x5d717eb3 chrome.dll!base::MessageLoopProxyTraits::Destruct
e:\src\chromium\src\base\message_loop_proxy.h:77
0x5d717e87 chrome.dll!base::RefCountedThreadSafebase::MessageLoopProxy,base::MessageLoopProxyTraits::Release
e:\src\chromium\src\base\memory\ref_counted.h:143
0x5d717b23 chrome.dll!scoped_refptrbase::MessageLoopProxy::~scoped_refptrbase::MessageLoopProxy
e:\src\chromium\src\base\memory\ref_counted.h:241
0x5f5b3fb1 chrome.dll!URLFetcher::Core::~Core
e:\src\chromium\src\chrome\common\net\url_fetcher.cc:245
0x5f5b3e06 chrome.dll!URLFetcher::Core::`scalar deleting destructor'
??:0
0x5f5b8f9e chrome.dll!base::RefCountedThreadSafeURLFetcher::Core,base::DefaultRefCountedThreadSafeTraits::DeleteInternal
e:\src\chromium\src\base\memory\ref_counted.h:149
0x5f5b8e3c chrome.dll!base::DefaultRefCountedThreadSafeTraitsURLFetcher::Core::Destruct
e:\src\chromium\src\base\memory\ref_counted.h:115
0x5f5b7097 chrome.dll!base::RefCountedThreadSafeURLFetcher::Core,base::DefaultRefCountedThreadSafeTraits::Release
e:\src\chromium\src\base\memory\ref_counted.h:143

similar: Error `#30`: LEAK 32 direct bytes 0x0c144de0-0x0c144e00 + 284 indirect bytes
similar: Error `#81`: LEAK 32 direct bytes 0x0c16b280-0x0c16b2a0 + 0 indirect bytes
similar: Error `#82`: LEAK 32 direct bytes 0x0c16b910-0x0c16b930 + 0 indirect bytes

Error `#33`: LEAK 4 direct bytes 0x0bc86bc8-0x0bc86bcc + 0 indirect bytes
0x5d885cf4 chrome.dll!generic_cpp_alloc
e:\src\chromium\src\base\allocator\generic_allocators.cc:16
0x5d885cce chrome.dll!operator new
e:\src\chromium\src\base\allocator\generic_allocators.cc:28
0x5f0fda84 chrome.dll!net::HttpAuthHandlerRegistryFactory::Create
e:\src\chromium\src\net\http\http_auth_handler_factory.cc:143
0x5f89202b chrome.dll!IOThread::CreateDefaultAuthHandlerFactory
e:\src\chromium\src\chrome\browser\io_thread.cc:589
0x5f8916ba chrome.dll!IOThread::Init
e:\src\chromium\src\chrome\browser\io_thread.cc:451
0x5f61df3c chrome.dll!base::Thread::ThreadMain
e:\src\chromium\src\base\threading\thread.cc:158
0x5f5ef520 chrome.dll!base::`anonymous namespace'::ThreadFunc
e:\src\chromium\src\base\threading\platform_thread_win.cc:37
0x751433ca KERNEL32.dll!BaseThreadInitThunk
??:0
0x77059ed2 ntdll.dll!RtlInitializeExceptionChain
??:0
0x77059ea5 ntdll.dll!RtlInitializeExceptionChain
??:0

Error `#49`: LEAK 32 direct bytes 0x0c18c088-0x0c18c0a8 + 0 indirect bytes
0x5d885cf4 chrome.dll!generic_cpp_alloc
e:\src\chromium\src\base\allocator\generic_allocators.cc:16
0x5d885cce chrome.dll!operator new
e:\src\chromium\src\base\allocator\generic_allocators.cc:28
0x5da5c5d2 chrome.dll!NewRunnableFunction
e:\src\chromium\src\base\task.h:469
0x5fa92774 chrome.dll!ChromeURLDataManager::DeleteDataSource
e:\src\chromium\src\chrome\browser\ui\webui\chrome_url_data_manager.cc:96
0x5fa933ec chrome.dll!ChromeURLDataManager::DeleteDataSource::Destruct
e:\src\chromium\src\chrome\browser\ui\webui\chrome_url_data_manager.h:47
0x5fa933c7 chrome.dll!base::RefCountedThreadSafeChromeURLDataManager::DataSource,ChromeURLDataManager::DeleteDataSource::Release
e:\src\chromium\src\base\memory\ref_counted.h:143
0x5fa92e03 chrome.dll!scoped_refptrChromeURLDataManager::DataSource::~scoped_refptrChromeURLDataManager::DataSource
e:\src\chromium\src\base\memory\ref_counted.h:241
0x5ff117f9 chrome.dll!std::pairstd::basic_string > const ,scoped_refptrChromeURLDataManager::DataSource >::~pairstd::basic_string > const ,scoped_refptr chrome.dll!std::_Tree_nodstd::_Tmap_traits >,scoped_refptrChromeURLDataManager::DataSource,std::lessstd::basic_string > >,std::allocator chrome.dll!std::_Tree_nodstd::_Tmap_traits >,scoped_refptrChromeURLDataManager::DataSource,std::lessstd::basic_string > >,std::allocator chrome.dll!std::_Destroystd::_Tree_nod >,scoped_refptrChromeURLDataManager::DataSource,std::lessstd::basic_string > >,std::alloc
c:\program files (x86)\microsoft visual studio 9.0\vc\include\xmemory:59
0x5ff14517 chrome.dll!std::allocatorstd::_Tree_nod >,scoped_refptrChromeURLDataManager::DataSource,std::lessstd::basic_string > >,std::allo
c:\program files (x86)\microsoft visual studio 9.0\vc\include\xmemory:160

Error `#56`: LEAK 48 direct bytes 0x0c196b60-0x0c196b90 + 244 indirect bytes
0x5d885cf4 chrome.dll!generic_cpp_alloc
e:\src\chromium\src\base\allocator\generic_allocators.cc:16
0x5d885cce chrome.dll!operator new
e:\src\chromium\src\base\allocator\generic_allocators.cc:28
0x5f1e8742 chrome.dll!NewRunnableMethod
e:\src\chromium\src\base\task.h:362
0x5f1e37b3 chrome.dll!net::MultiThreadedProxyResolver::GetProxyForURLJob::Run
e:\src\chromium\src\net\proxy\multi_threaded_proxy_resolver.cc:264
0x5f1eabb5 chrome.dll!DispatchToMethod
e:\src\chromium\src\base\tuple.h:551
0x5f1e94d5 chrome.dll!RunnableMethod >::Run
e:\src\chromium\src\base\task.h:332
0x5f5ce642 chrome.dll!`anonymous namespace'::TaskClosureAdapter::Run
e:\src\chromium\src\base\message_loop.cc:101
0x5f5d907d \ chrome.dll!base::internal::Invoker1<0,base::internal::InvokerStorage1,void (__thiscall `anonymous namespace'::TaskClosureAdapter::_)(void)>::DoInvoke
e:\src\chromium\src\base\bind_internal.h:547
0x5d82fa9f chrome.dll!base::Callback::Run
e:\src\chromium\src\base\callback.h:251
0x5f5cfcb0 chrome.dll!MessageLoop::RunTask
e:\src\chromium\src\base\message_loop.cc:473
0x5f5cfde3 chrome.dll!MessageLoop::DeferOrRunPendingTask
...

**Attachment:** [results.txt](http://code.google.com/p/drmemory/issues/detail?id=467)

_Original issue: http://code.google.com/p/drmemory/issues/detail?id=467_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.