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

many UNINITs in DumpRenderTree on static html page #1185

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

many UNINITs in DumpRenderTree on static html page #1185

derekbruening opened this issue Nov 28, 2014 · 4 comments

Comments

@derekbruening
Copy link
Contributor

From bruen...@google.com on April 12, 2013 15:57:23

this is another good target, like calc (finished) and mspaint ( issue #878 ) as it's easy to run. this is Release build of DRT:

% /usr/bin/time ~/drmemory/git/build_x86_rel/bin/drmemory.exe -dr_ops -nop_initial_bblock -unaddr_only -batch -dr d:/derek/dr/git/exports -- ./DumpRenderTree.exe file:///e:/derek/buildbot.net/buildbot/docs/0.7.2/index.html > /dev/null
Dr.M ERRORS FOUND:
Dr.M 0 unique, 0 total unaddressable access(es)
Dr.M 591 unique, 41066 total uninitialized access(es)
Dr.M 34 unique, 122 total invalid heap argument(s)
Dr.M 0 unique, 0 total GDI usage error(s)
Dr.M 2 unique, 2 total warning(s)
Dr.M 135 unique, 352 total, 772736 byte(s) of leak(s)
Dr.M 21 unique, 26 total, 29850 byte(s) of possible leak(s)
Dr.M ERRORS IGNORED:
Dr.M 23772 still-reachable allocation(s)
Dr.M (re-run with "-show_reachable" for details)
Dr.M Details: D:\derek\drmemory\git\build_x86_rel\logs\DrMemory-DumpRenderTree.exe.13200.000\results.txt
0.01user 0.00system 0:38.51elapsed 0%CPU (0avgtext+0avgdata 267520maxresident)k

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

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on April 12, 2013 13:03:16

% grep '^# 0' logs/DrMemory-DumpRenderTree.exe.13200.000/results.txt | awk '{print $3}' | sort | uniq -c | sort -n
1 GDI32.dll!plfCreateLOCALFONT
1 KERNELBASE.dll!TlsAlloc
1 ole32.dll!CRetailMalloc_Alloc
1 ole32.dll!OXIDEntry::InitRemoting
1 v8.dll!v8::internal::GlobalHandles::IterateAllRootsWithClassIds
1 v8.dll!v8::internal::MarkCompactCollector::MarkLiveObjects
1 v8.dll!v8::internal::MarkCompactCollector::SweepSpaces
1 v8.dll!v8::internal::Scanner::ScanRegExpFlags
1 v8.dll!v8::internal::Scanner::ScanRegExpPattern
1 webkit.dll!WTF::KeyValuePairHashTraits<WTF::HashTraits<WebCore::CachedResource
1 webkit.dll!WTF::fastMalloc
1 webkit.dll!WebCore::v8StringToWebCoreStringWTF::AtomicString
2 <not
2 base.dll!anonymous 2 net.dll!std::_Hash<std::_Hset_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char> 2 ntdll.dll!LdrpGetNewTlsVector 2 v8.dll!v8::internal::Heap::PerformGarbageCollection 3 MSVCR100.dll!_calloc_crt 4 KERNELBASE.dll!TlsSetValue 5 RPCRT4.dll!AllocWrapper 5 v8.dll!v8::internal::AdvanceToNonspace<v8::internal::anonymous
7 v8.dll!v8::internal::IsIdentifier
8 v8.dll!v8::internal::MarkCompactCollector::EvacuateNewSpaceAndCandidates
8 v8.dll!v8::internal::ParserApi::Parse
8 webkit.dll!WebCore::makeExternalString
11 v8.dll!v8::internal::AdvanceToNonspace<char
18 base.dll!base::CustomHistogram::FactoryGet
18 system
26 v8.dll!v8::internal::Parser::~Parser
42 base.dll!base::LinearHistogram::FactoryGetWithRangeDescription
66 base.dll!base::Histogram::FactoryGet
79 v8.dll!v8::internal::Scanner::ScanString
453 v8.dll!v8::internal::Scanner::ScanIdentifierOrKeyword

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on April 12, 2013 13:04:26

this syscall bears looking at:
% grep '^# 0.*system' logs/DrMemory-DumpRenderTree.exe.13200.000/results.txt | sort | uniq -c
15 # 0 system call NtPowerInformation parameter #1
3 # 0 system call NtPowerInformation parameter #1

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on April 12, 2013 13:17:15

many of the v8 ones are from optimized code. some may be bit patterns we
can probably add handlers for.

Debug build:
6176 ERRORS FOUND:
6176 0 unique, 0 total unaddressable access(es)
6176 18 unique, 97 total uninitialized access(es)
6176 0 unique, 0 total invalid heap argument(s)
6176 0 unique, 0 total GDI usage error(s)
6176 1 unique, 1 total warning(s)
6176 25 unique, 226 total, 648569 byte(s) of leak(s)
6176 63 unique, 3906 total, 471907 byte(s) of possible leak(s)
6176 ERRORS IGNORED:
6176 44647 still-reachable allocation(s)
6176 (re-run with "-show_reachable" for details)
% grep '^# 0' ls -1td logs/D*|head -1/g* | awk '{print $3}' | sort | uniq -c | sort -n
1 <not
1 webkit.dll!WTF::fastMalloc
1 webkit.dll!WebCore::CachedResourceLoader::InitiatorInfo::InitiatorInfo
1 webkit.dll!WebCore::v8StringToWebCoreStringWTF::AtomicString
2 KERNELBASE.dll!TlsAlloc
2 KERNELBASE.dll!TlsSetValue
2 net.dll!std::swap
2 ntdll.dll!LdrpGetNewTlsVector
3 MSVCR100D.dll!__init_ctype
4 ntdll.dll!RtlpLowFragHeapAllocFromContext
5 base.dll!`anonymous
8 base.dll!base::LinearHistogram::FactoryGetWithRangeDescription
9 webkit.dll!WebCore::makeExternalString
11 v8.dll!v8::internal::GCTracer::Scope::~Scope
12 webkit.dll!WebCore::RenderArena::allocate
43 osmesa.dll!__talloc

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on May 22, 2013 10:50:52

NtPowerInformation paramater #1 for kernel32!PowerSetRequest is issue #1247

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