-
Notifications
You must be signed in to change notification settings - Fork 264
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
38 uninits in win7 MessageBox #1133
Comments
From [email protected] on February 20, 2013 20:39:17 This is a regression. Running the 1.5.0 release on the same app:
Owner: [email protected] |
From [email protected] on February 21, 2013 06:55:08 *** TODO problem that brings it down to: *** TODO problem now: hmmm. only called once, so not like a 1st call to get size. |
From [email protected] on February 21, 2013 08:50:34 split NtGdiGetWidthTable as issue #1137 |
From [email protected] on February 21, 2013 08:50:58 split NtGdiGetWidthTable as issue #1137 |
From [email protected] on February 21, 2013 09:09:48 *** TODO problem 4th param (PRIVILEGE_SET): before drstrace it was W. drstrace put in as => |
From [email protected] on February 21, 2013 09:51:31 MessageBox is back to pre-drsyscall with zero uninits. mspaint is also: r1133 : now (after all fixes above): |
From [email protected] on February 21, 2013 14:09:56 This issue was closed by revision r1194 . Status: Fixed |
From [email protected] on February 19, 2013 20:16:12
I thought there were fewer in the past, but probably I'm thinking of xp64
and of -syscall_sentinels.
we need some GUI apps in the suite. we'll need to use mechanisms to close
them: xref DRi#111.
ERRORS FOUND:
0 unique, 0 total unaddressable access(es)
38 unique, 72 total uninitialized access(es)
0 unique, 0 total invalid heap argument(s)
0 unique, 0 total GDI usage error(s)
0 unique, 0 total warning(s)
1 unique, 1 total, 84 byte(s) of leak(s)
2 unique, 3 total, 72 byte(s) of possible leak(s)
here are some representative ones:
Error
#1
: UNINITIALIZED READ: reading register edx#0 LPK.dll!FontHasWesternScript
#1 LPK.dll!LpkGetTextExtentExPoint
#2 GDI32.dll!GetTextExtentPointWInternal
#3 GDI32.dll!GetTextExtentPointW
#4 USER32.dll!SoftModalMessageBox
#5 USER32.dll!MessageBoxWorker
#6 USER32.dll!MessageBoxTimeoutW
#7 USER32.dll!MessageBoxTimeoutA
#8 USER32.dll!MessageBoxExA
#9 USER32.dll!MessageBoxA
#10 main [d:\derek\dr\test\gui-inject.c:102]
Note: @0:00:00.686 in thread 8168
Note: instruction: cmp %edx 0x755a73e0(,%eax,8)
Error
#9
: UNINITIALIZED READ: reading 0x002ef4fc-0x002ef4fe 2 byte(s) within 0x002ef4fc-0x002ef500#0 USER32.dll!InternalCreateDialog
#1 USER32.dll!InternalDialogBox
#2 USER32.dll!SoftModalMessageBox
#3 USER32.dll!MessageBoxWorker
#4 USER32.dll!MessageBoxTimeoutW
#5 USER32.dll!MessageBoxTimeoutA
#6 USER32.dll!MessageBoxExA
#7 USER32.dll!MessageBoxA
#8 main [d:\derek\dr\test\gui-inject.c:102]
Note: @0:00:01.279 in thread 8168
Note: instruction: cmp 0x0c(%ebp) $0x00000000
Error
#10
: UNINITIALIZED READ: reading 0x002eecbc-0x002eecd0 20 byte(s) within 0x002eecbc-0x002eecd0#0 system call NtAccessCheck parameter
#4
#1 KERNELBASE.dll!CheckTokenMembership
#2 IMM32.dll!IsInteractiveUserLogon
#3 IMM32.dll!CtfImmTIMActivate
#4 USER32.dll!CtfLoadThreadLayout
#5 USER32.dll!ImeSystemHandler
#6 USER32.dll!ImeWndProcWorker
#7 USER32.dll!ImeWndProcW
#8 USER32.dll!InternalCallWinProc
#9 USER32.dll!UserCallWinProcCheckWow
#10 USER32.dll!DispatchClientMessage
#11 USER32.dll!__fnDWORD
Note: @0:00:01.700 in thread 8168
Error
#17
: UNINITIALIZED READ: reading register cx#0 USER32.dll!ClassNameToVersion
#1 USER32.dll!GetClassInfoExW
#2 USER32.dll!GetClassInfoW
#3 USER32.dll!CreateIMEUI
#4 USER32.dll!ImeSetContextHandler
#5 USER32.dll!ImeWndProcWorker
#6 USER32.dll!ImeWndProcW
#7 USER32.dll!InternalCallWinProc
#8 USER32.dll!UserCallWinProcCheckWow
#9 USER32.dll!SendMessageWorker
#10 USER32.dll!RealDefWindowProcWorker
#11 USER32.dll!RealDefWindowProcW
Note: @0:00:02.558 in thread 8168
Note: instruction: data16 cmp %cx %bx
Error
#27
: UNINITIALIZED READ: reading register si#0 USER32.dll!RtlInitLargeUnicodeString
#1 USER32.dll!_CreateWindowEx
#2 USER32.dll!CreateWindowExW
#3 USER32.dll!CreateIMEUI
#4 USER32.dll!ImeSetContextHandler
#5 USER32.dll!ImeWndProcWorker
#6 USER32.dll!ImeWndProcW
#7 USER32.dll!InternalCallWinProc
#8 USER32.dll!UserCallWinProcCheckWow
#9 USER32.dll!SendMessageWorker
#10 USER32.dll!RealDefWindowProcWorker
#11 USER32.dll!RealDefWindowProcW
Note: @0:00:02.574 in thread 8168
Note: instruction: data16 test %si %si
Error
#35
: UNINITIALIZED READ: reading register ebx#0 GDI32.dll!SetViewportOrgEx
#1 USER32.dll!DrawStateW
#2 USER32.dll!xxxBNDrawText
#3 USER32.dll!xxxDrawButton
#4 USER32.dll!xxxBNPaint
#5 USER32.dll!ButtonWndProcWorker
#6 USER32.dll!ButtonWndProcW
#7 USER32.dll!InternalCallWinProc
#8 USER32.dll!UserCallWinProcCheckWow
#9 USER32.dll!DispatchClientMessage
#10 USER32.dll!__fnDWORD
#11 USER32.dll!UpdateWindow
Note: @0:00:02.776 in thread 8168
Note: instruction: cmp (%ecx) %ebx
Original issue: http://code.google.com/p/drmemory/issues/detail?id=1133
The text was updated successfully, but these errors were encountered: