DynamoRIO / DynamoRIO/drmemory
leaks running calc
- 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 May 21, 2013 22:46:59_
on xp64, and again on win8 (maybe in between too), just starting and stopping 32-bit calc results in a bunch of leaks. many are like this:
Error `#1`: LEAK 8 direct bytes 0x001892d8-0x001892e0 + 40 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#2`: LEAK 8 direct bytes 0x00189388-0x00189390 + 40 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#3`: LEAK 8 direct bytes 0x00189438-0x00189440 + 40 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#4`: LEAK 8 direct bytes 0x001894e8-0x001894f0 + 40 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#5`: LEAK 8 direct bytes 0x00189598-0x001895a0 + 40 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#6`: LEAK 8 direct bytes 0x00189648-0x00189650 + 40 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#7`: LEAK 8 direct bytes 0x001896f8-0x00189700 + 40 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#8`: LEAK 8 direct bytes 0x001897a8-0x001897b0 + 40 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#9`: LEAK 8 direct bytes 0x00189858-0x00189860 + 80 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#10`: LEAK 8 direct bytes 0x00189928-0x00189930 + 80 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#11`: LEAK 8 direct bytes 0x001899f8-0x00189a00 + 80 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#12`: LEAK 8 direct bytes 0x00189ac8-0x00189ad0 + 80 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#13`: LEAK 8 direct bytes 0x00189b98-0x00189ba0 + 80 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#14`: POSSIBLE LEAK 8 direct bytes 0x00189c68-0x00189c70 + 80 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#15`: LEAK 8 direct bytes 0x00189d38-0x00189d40 + 80 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#16`: LEAK 8 direct bytes 0x00189e08-0x00189e10 + 80 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#17`: LEAK 8 direct bytes 0x00189ed8-0x00189ee0 + 80 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#18`: LEAK 8 direct bytes 0x00189fa8-0x00189fb0 + 80 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#19`: LEAK 8 direct bytes 0x0018a340-0x0018a348 + 40 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#20`: LEAK 8 direct bytes 0x0018a3f0-0x0018a3f8 + 40 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#21`: LEAK 8 direct bytes 0x0018a4a0-0x0018a4a8 + 40 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#22`: LEAK 8 direct bytes 0x0018a550-0x0018a558 + 40 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#23`: LEAK 8 direct bytes 0x0018a770-0x0018a778 + 40 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#24`: LEAK 8 direct bytes 0x0018a820-0x0018a828 + 40 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#25`: LEAK 8 direct bytes 0x0018a8d0-0x0018a8d8 + 44 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 _readconstants
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#26`: LEAK 8 direct bytes 0x0018aa70-0x0018aa78 + 180 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 ratpowlong
#3 ChangeConstants
#4 BaseOrPrecisionChanged
#5 InitialOneTimeOnlySetup
#6 WinMain
Error `#27`: LEAK 8 direct bytes 0x0018ae08-0x0018ae10 + 52 indirect bytes
#0 KERNEL32.dll!LocalAlloc
#1 _createrat
#2 ChangeConstants
#3 BaseOrPrecisionChanged
#4 InitialOneTimeOnlySetup
#5 WinMain
_Original issue: http://code.google.com/p/drmemory/issues/detail?id=1245_
Contributor guide
Assessment
This issue has not been assessed yet.