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
[False?] leak reports on MessageBox #60
Comments
From bruen...@google.com on July 14, 2011 07:32:30 Issue 426 has been merged into this issue. |
From bruen...@google.com on July 14, 2011 12:39:46 1st UNINIT is issue #492 |
From bruen...@google.com on July 15, 2011 12:32:31 all uninits are gone after issue #96 and issue #484 leaving open for leaks: Error Error Error Error Error Summary: False leak reports on MessageBox |
From timurrrr@google.com on July 21, 2011 05:35:04 I disagree, I still see a dozen of uninits and one UNADDDRs on this test as of r405 including these ones: ... Error [XP32 w/o symbols] ... Error Summary: False reports on MessageBox |
From timurrrr@google.com on July 21, 2011 05:40:06 On W7, there are 5 leaks and one UNADDR [maybe that was a recent regression?] [W7 w/o symbols] |
From bruen...@google.com on July 21, 2011 10:17:58 xp32 is not a primary target for me, can you check the usp10.dll uninits there and see if they require per-bit and if so update the issue #493 default suppressions I will look at WNDCLASSEXW.lpszClassName Owner: timurrrr@google.com |
From bruen...@google.com on July 21, 2011 11:05:04 WNDCLASSEXW.lpszClassName is split as issue #505 |
From timurrrr@google.com on July 22, 2011 02:16:09 OK, splitting the USP10 uninits into issue #493 Summary: [False?] leak reports on MessageBox |
From timurrrr@google.com on September 29, 2010 11:39:12
As of r57 , the following code:
===test.c===
#include <windows.h>
#pragma comment(lib, "user32.lib")
int main(void) {
MessageBox(NULL, "Test", "Caption", MB_OK);
return 0;
}
(compiled with "cl /Zi /MTd")
gives 63 uninits + 1 unaddr reports like:
Error
#1
: UNINITIALIZED READ: reading 0x0012f9e4-0x0012f9e5 1 byte(s)@0:00:02.141 in thread 3664
0x74dcabc3 <USP10.dll+0x3abc3> USP10.dll!UspFreeMem
??:0
0x74da49cd <USP10.dll+0x149cd> USP10.dll!ScriptIsComplex
??:0
0x629c32bf <LPK.dll+0x32bf> LPK.dll!LpkGetTextExtentExPoint
??:0
0x77f175f9 <GDI32.dll+0x75f9> GDI32.dll!CreateCompatibleBitmap
??:0
0x77f16b25 <GDI32.dll+0x6b25> GDI32.dll!GetTextExtentPointW
??:0
0x7e43a462 <USER32.dll+0x2a462> USER32.dll!SoftModalMessageBox
??:0
0x7e43a2bc <USER32.dll+0x2a2bc> USER32.dll!MessageBoxIndirectA
??:0
0x7e4663fd <USER32.dll+0x563fd> USER32.dll!MessageBoxTimeoutW
??:0
0x7e4664a2 <USER32.dll+0x564a2> USER32.dll!MessageBoxTimeoutA
??:0
0x7e450877 <USER32.dll+0x40877> USER32.dll!MessageBoxExA
??:0
0x7e45082f <USER32.dll+0x4082f> USER32.dll!MessageBoxA
??:0
0x00401027 <test.exe+0x1027> test.exe!main
z:\dr-sandbox\issues\msgbox\test.c:6
...
Error
#9
: UNINITIALIZED READ: reading register cx@0:00:02.798 in thread 3664
0x7c80aa24 <KERNEL32.dll+0xaa24> KERNEL32.dll!GetLocalTime
??:0
0x7c80aa8c <KERNEL32.dll+0xaa8c> KERNEL32.dll!lstrcmpW
??:0
0x74da74db <USP10.dll+0x174db> USP10.dll!ScriptApplyDigitSubstitution
??:0
0x74da75e2 <USP10.dll+0x175e2> USP10.dll!ScriptApplyDigitSubstitution
??:0
0x74da82ea <USP10.dll+0x182ea> USP10.dll!ScriptApplyDigitSubstitution
??:0
0x74da506a <USP10.dll+0x1506a> USP10.dll!ScriptApplyDigitSubstitution
??:0
0x74da581a <USP10.dll+0x1581a> USP10.dll!ScriptApplyDigitSubstitution
??:0
0x74da5a8e <USP10.dll+0x15a8e> USP10.dll!ScriptApplyDigitSubstitution
??:0
0x74da5ea3 <USP10.dll+0x15ea3> USP10.dll!ScriptApplyDigitSubstitution
??:0
0x74da5f8b <USP10.dll+0x15f8b> USP10.dll!ScriptApplyDigitSubstitution
??:0
0x74da4186 <USP10.dll+0x14186> USP10.dll!ScriptStringAnalyse
??:0
0x629c48f8 <LPK.dll+0x48f8> LPK.dll!LpkTabbedTextOut
??:0
0x629c4651 <LPK.dll+0x4651> LPK.dll!LpkTabbedTextOut
??:0
0x629c1269 <LPK.dll+0x1269> LPK.dll!LpkDrawTextEx
??:0
0x7e44e667 <USER32.dll+0x3e667> USER32.dll!DeregisterShellHookWindow
??:0
0x7e42bae3 <USER32.dll+0x1bae3> USER32.dll!DrawTextExW
??:0
0x7e42b5a1 <USER32.dll+0x1b5a1> USER32.dll!DrawTextExW
??:0
0x7e42b433 <USER32.dll+0x1b433> USER32.dll!DrawTextExW
??:0
0x7e43a566 <USER32.dll+0x2a566> USER32.dll!SoftModalMessageBox
??:0
0x7e43a2bc <USER32.dll+0x2a2bc> USER32.dll!MessageBoxIndirectA
??:0
...
Original issue: http://code.google.com/p/drmemory/issues/detail?id=60
The text was updated successfully, but these errors were encountered: