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

Uninit to be investigated from running Win8 32-bit calc with Dr.Memory #1508

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

Comments

@derekbruening
Copy link
Contributor

From zhao...@google.com on April 04, 2014 18:06:08

C:\Workspace\DrMemory-Windows-1.7.0-4\DrMemory-Windows-1.7.0-4>.\bin\drmemory.exe -- calc
Dr.M
Dr.M ERRORS FOUND:
Dr.M 0 unique, 0 total unaddressable access(es)
Dr.M 4 unique, 4 total uninitialized access(es)
Dr.M 0 unique, 0 total invalid heap argument(s)
Dr.M 0 unique, 0 total GDI usage error(s)
Dr.M 0 unique, 0 total handle leak(s)
Dr.M 0 unique, 0 total warning(s)
Dr.M 62 unique, 62 total, 5100 byte(s) of leak(s)
Dr.M 1 unique, 1 total, 160 byte(s) of possible leak(s)

Error #1: UNINITIALIZED READ: reading register eax
#0 calc.exe!? +0x0 (0x012f0b66 <calc.exe+0x30b66>)
#1 calc.exe!? +0x0 (0x012f9c97 <calc.exe+0x39c97>)
#2 calc.exe!? +0x0 (0x012f9c16 <calc.exe+0x39c16>)
#3 calc.exe!? +0x0 (0x012e68a2 <calc.exe+0x268a2>)
#4 calc.exe!? +0x0 (0x012c185b <calc.exe+0x185b>)
#5 calc.exe!? +0x0 (0x012f345f <calc.exe+0x3345f>)
#6 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x772a1866 <KERNEL32.dll+0x1866>)
Note: @0:00:04.711 in thread 3604
Note: instruction: cmp %eax $0x00000002

Error #2: UNINITIALIZED READ: reading register eax
#0 calc.exe!? +0x0 (0x012d4cee <calc.exe+0x14cee>)
#1 calc.exe!? +0x0 (0x012d4897 <calc.exe+0x14897>)
#2 calc.exe!? +0x0 (0x012d446b <calc.exe+0x1446b>)
#3 calc.exe!? +0x0 (0x012d2528 <calc.exe+0x12528>)
#4 calc.exe!? +0x0 (0x012d41df <calc.exe+0x141df>)
#5 calc.exe!? +0x0 (0x012d5b06 <calc.exe+0x15b06>)
#6 calc.exe!? +0x0 (0x012d396e <calc.exe+0x1396e>)
#7 calc.exe!? +0x0 (0x012d1f46 <calc.exe+0x11f46>)
#8 calc.exe!? +0x0 (0x012f9c3a <calc.exe+0x39c3a>)
#9 calc.exe!? +0x0 (0x012e68a2 <calc.exe+0x268a2>)
#10 calc.exe!? +0x0 (0x012c185b <calc.exe+0x185b>)
#11 calc.exe!? +0x0 (0x012f345f <calc.exe+0x3345f>)
Note: @0:00:04.820 in thread 3604
Note: instruction: test %eax %eax

Error #3: UNINITIALIZED READ: reading 0x004fdd74-0x004fdd78 4 byte(s) within 0x004fdd74-0x004fdd78
#0 system call NtUserGetObjectInformation parameter #4
#1 USER32.dll!GetUserObjectInformationW +0x9 (0x75c8eea7 <USER32.dll+0xeea7>)
#2 calc.exe!? +0x0 (0x012c1fb8 <calc.exe+0x1fb8>)
#3 calc.exe!? +0x0 (0x012f345f <calc.exe+0x3345f>)
#4 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x772a1866 <KERNEL32.dll+0x1866>)
Note: @0:00:06.501 in thread 3604

Error #4: UNINITIALIZED READ: reading 0x004fdd5c-0x004fdd60 4 byte(s) within 0x004fdd5c-0x004fdd60
#0 system call NtUserGetObjectInformation parameter #4
#1 USER32.dll!GetUserObjectInformationW +0x9 (0x75c8eea7 <USER32.dll+0xeea7>)
#2 calc.exe!? +0x0 (0x012c2005 <calc.exe+0x2005>)
#3 calc.exe!? +0x0 (0x012f345f <calc.exe+0x3345f>)
#4 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x772a1866 <KERNEL32.dll+0x1866>)
Note: @0:00:06.517 in thread 3604

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

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on April 04, 2014 15:08:30

xref issue #1246

Labels: Component-FullMode Bug-FalsePositive

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on April 04, 2014 18:32:26

On Vista I see:

Potential Error #1: UNINITIALIZED READ: reading 0x000df2c8-0x000df2cc 4 byte(s) within 0x000df2c8-0x000df2cc

0 system call NtUserGetObjectInformation parameter #4

1 MSCTF.dll!CtfImeDispatchDefImeMessage +0xf3a (0x766a3bb7 <MSCTF.dll+0x3bb7>)

2 MSCTF.dll!CtfImeDispatchDefImeMessage +0xfa0 (0x766a3c1d <MSCTF.dll+0x3c1d>)

3 MSCTF.dll!CtfImeDispatchDefImeMessage +0x10cd (0x766a3d4a <MSCTF.dll+0x3d4a>)

4 MSCTF.dll!CtfImeDispatchDefImeMessage +0x1016 (0x766a3c93 <MSCTF.dll+0x3c93>)

5 MSCTF.dll!TF_Notify +0x41 (0x766a23f8 <MSCTF.dll+0x23f8>)

6 USER32.dll!GetMenuStringW +0x5d6 (0x765452d1 <USER32.dll+0x552d1>)

7 USER32.dll!CallNextHookEx +0xcc (0x76507c70 <USER32.dll+0x17c70>)

8 USER32.dll!GetFocus +0xe1 (0x76507f4d <USER32.dll+0x17f4d>)

9 ntdll.dll!KiUserCallbackDispatcher +0x2d (0x76fde3d6 <ntdll.dll+0x1e3d6>)

#10 calc.exe!? +0x0 (0x002c23bd <calc.exe+0x23bd>)
#11 calc.exe!? +0x0 (0x002d2588 <calc.exe+0x12588>)
Note: @0:00:00.907 in thread 3820

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