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 tsan racecheck_unittest tests on new win8 bot #1279

Open
derekbruening opened this issue Nov 28, 2014 · 1 comment
Open

LEAK in tsan racecheck_unittest tests on new win8 bot #1279

derekbruening opened this issue Nov 28, 2014 · 1 comment

Comments

@derekbruening
Copy link
Contributor

From bruen...@google.com on June 20, 2013 12:14:09

http://build.chromium.org/p/client.drmemory/builders/win-8_x64-drm/builds/9/steps/dbg%20full%20TSan%20tests/logs/summary%3A%201%20report%28s%29 Running ""..\tsan\unittest\bin\racecheck_unittest-windows-x86-O0.exe" "--gtest_filter="-PositiveTests.FreeVsRead:NegativeTests.WaitForMultiple*"" "-147""
Recorded 22 suppression(s) from user E:\b\build\slave\win-8_x64-drm\drmemory\tests\app_suite\default-suppressions.txt

Error #1: LEAK 44 direct bytes 0x0e674840-0x0e67486c + 44 indirect bytes
#0 replace_RtlAllocateHeap [e:\b\build\slave\win-8_x64-drm\drmemory\common\alloc_replace.c:2982]
#1 ntdll.dll!RtlCheckForOrphanedCriticalSections +0x2ee (0x777020dd <ntdll.dll+0x120dd>)
#2 ntdll.dll!ApiSetQueryApiSetPresence +0xf1 (0x777544cb <ntdll.dll+0x644cb>)
#3 ntdll.dll!LdrInitializeThunk +0xc9 (0x7774ab13 <ntdll.dll+0x5ab13>)
#4 ntdll.dll!LdrInitializeThunk +0x45 (0x7774aa8f <ntdll.dll+0x5aa8f>)
#5 ntdll.dll!LdrInitializeThunk +0xf (0x7774aa59 <ntdll.dll+0x5aa59>)

Is this issue #385 w/o syms?

Same thing on tsan rel full and dbg full w/o syms.

On my own win8 vm I also see a leak w/ this callstack:

Dr.M Error #2: LEAK 44 direct bytes 0x0e6d5d70-0x0e6d5d9c + 44 indirect bytes
Dr.M # 0 replace_RtlAllocateHeap [c:\derek\drmemory\git\src\common\alloc_replace.c:2982]
Dr.M # 1 ntdll.dll!LdrpGetNewTlsVector
Dr.M # 2 ntdll.dll!LdrpInitializeThread
Dr.M # 3 ntdll.dll!_LdrpInitialize
Dr.M # 4 ntdll.dll!LdrpInitialize
Dr.M # 5 ntdll.dll!LdrInitializeThunk

But ditto on my win7 machine! Yet the win7 bot doesn't show anything. Hmmm.

w/o syms on win8 VM:

Error #2: LEAK 44 direct bytes 0x0eee44a8-0x0eee44d4 + 44 indirect bytes
#0 replace_RtlAllocateHeap [c:\derek\drmemory\git\src\common\alloc_replace.c:2982]
#1 ntdll.dll!RtlGetCurrentDirectory_U +0x662 (0x77a4d7eb <ntdll.dll+0x1d7eb>)
#2 ntdll.dll!RtlpMuiRegLoadRegistryInfo +0x14f3 (0x77a98efa <ntdll.dll+0x68efa>)
#3 ntdll.dll!LdrInitializeThunk +0xc9 (0x77a8be9a <ntdll.dll+0x5be9a>)
#4 ntdll.dll!LdrInitializeThunk +0x45 (0x77a8be16 <ntdll.dll+0x5be16>)
#5 ntdll.dll!LdrInitializeThunk +0xf (0x77a8bde0 <ntdll.dll+0x5bde0>)

More like issue #445 ?
A leak in LdrpGetNewTlsVector is in issue #1227 .

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

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on June 21, 2013 09:29:26

I suppressed this in r1438 . Leaving open for further investigation.

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