DynamoRIO / DynamoRIO/drmemory

Various leak reports under _getptd

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

Description

_From [timurrrr@google.com](https://code.google.com/u/timurrrr@google.com/) on January 21, 2011 06:23:32_

http://build.chromium.org/p/chromium.fyi/builders/Windows%20Tests%20(DrMemory)/builds/1574/steps/memory%20test:%20remoting/logs/stdio EAK 532 direct bytes 0x0808ee18-0x0808f02c + 216 indirect bytes
#1 0x008799a1 _getptd_noexit crt\src\tidtable.c:588
#2 0x00879a2b _getptd crt\src\tidtable.c:641
#3 0x0085e90f _LocaleUpdate::_LocaleUpdate crt\src\setlocal.h:264
#4 0x0088f0d5 _output_s_l crt\src\output.c:1002
#5 0x00867878 _vsnprintf_helper crt\src\vsprintf.c:140
#6 0x00867ac7 _vsprintf_s_l crt\src\vsprintf.c:236
#7 0x0085d0b3 sprintf_s crt\src\sprintf.c:215
#8 0x0043cf5a std::num_put > >::do_put c:\program files\microsoft visual studio 9.0\vc\include\xlocnum:1168
#9 0x00447347 std::num_put > >::put c:\program files\microsoft visual studio 9.0\vc\include\xlocnum:1085
#10 0x00447240 std::basic_ostream >::operator<< c:\program files\microsoft visual studio 9.0\vc\include\ostream:299
#11 0x005c1d3c talk_base::ToString third_party\libjingle\source\talk\base\stringencode.h:146
#12 0x005bf955 talk_base::ToString third_party\libjingle\source\talk\base\stringencode.h:162
#13 0x005b1390 cricket::SessionManager::CreateSession third_party\libjingle\source\talk\p2p\base\sessionmanager.cc:81
#14 0x0081dfb1 remoting::protocol::JingleSessionManager::DoConnect remoting\protocol\jingle_session_manager.cc:250
...
#17 0x007752e0 MessageLoop::RunTask base\message_loop.cc:356
#18 0x00775415 MessageLoop::DeferOrRunPendingTask base\message_loop.cc:365
#19 0x007760ac MessageLoop::DoWork base\message_loop.cc:558
#20 0x008405d7 remoting::JingleThread::JingleMessagePump::OnMessage remoting\jingle_glue\jingle_thread.cc:47
#21 0x006b0e16 talk_base::MessageQueue::Dispatch third_party\libjingle\source\talk\base\messagequeue.cc:372
#22 0x0068cf37 talk_base::Thread::ProcessMessages third_party\libjingle\source\talk\base\thread.cc:492
#23 0x0068c538 talk_base::Thread::Run third_party\libjingle\source\talk\base\thread.cc:359
#24 0x00840124 remoting::JingleThread::Run remoting\jingle_glue\jingle_thread.cc:134
#25 0x0068c4f2 talk_base::Thread::PreRun third_party\libjingle\source\talk\base\thread.cc:352
#26 0x7c80b729 GetModuleFileNameA KERNEL32.dll http://build.chromium.org/p/chromium.fyi/builders/Windows%20Tests%20(DrMemory)/builds/1574/steps/memory%20test:%20base/logs/stdio LEAK 532 direct bytes 0x059a8120-0x059a8334 + 216 indirect bytes
#1 0x0083f191 _getptd_noexit crt\src\tidtable.c:588
#2 0x0083f21b _getptd crt\src\tidtable.c:641
#3 0x0082885b rand crt\src\rand.c:65
#4 0x006d7041 base::MutexLockTestThread::DoStuff base\synchronization\lock_unittest.cc:157
#5 0x006d70c1 base::MutexLockTestThread::ThreadMain base\synchronization\lock_unittest.cc:164
#6 0x00776ec0 base::`anonymous namespace'::ThreadFunc base\threading\platform_thread_win.cc:37
#7 0x7c80b729 GetModuleFileNameA KERNEL32.dll

We saw some magic reports under ThreadSanitizer, e.g. https://code.google.com/p/data-race-test/issues/detail?id=53 http://www.microsoft.com/msj/0799/win32/win320799.aspx "Note that the CRT's _getptd function internally calls the operating system's TlsGetValue function ..."

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

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.