We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From timurrrr@google.com on April 11, 2011 12:00:29
#include <windows.h> #include <assert.h>
#pragma comment(lib, "gdi32.lib")
int main() { HDC hdc = CreateEnhMetaFile(NULL, NULL, NULL, NULL); assert(hdc != NULL); Rectangle(hdc, 1, 1, 2, 2);
HENHMETAFILE emf = CloseEnhMetaFile(hdc); DeleteEnhMetaFile(emf); }
->
Error #1: UNINITIALIZED READ: reading register edx @0:00:01.032 in thread 760 0x77f221cf <GDI32.dll+0x121cf> GDI32.dll!ExtCreatePen ??:0 0x77f23d2d <GDI32.dll+0x13d2d> GDI32.dll!GetMiterLimit ??:0 0x77f230a3 <GDI32.dll+0x130a3> GDI32.dll!CloseEnhMetaFile ??:0 0x0040105d <test.exe+0x105d> test.exe!main test.cpp:19
#1
Error #2: UNINITIALIZED READ: reading register edx @0:00:01.047 in thread 760 0x77f221f0 <GDI32.dll+0x121f0> GDI32.dll!ExtCreatePen ??:0 0x77f23d2d <GDI32.dll+0x13d2d> GDI32.dll!GetMiterLimit ??:0 0x77f230a3 <GDI32.dll+0x130a3> GDI32.dll!CloseEnhMetaFile ??:0 0x0040105d <test.exe+0x105d> test.exe!main test.cpp:19
#2
Original issue: http://code.google.com/p/drmemory/issues/detail?id=346
The text was updated successfully, but these errors were encountered:
From timurrrr@google.com on April 11, 2011 09:05:28
Probably these reports are also related: http://build.chromium.org/p/chromium.fyi/builders/Windows%20Tests%20%28DrMemory%29/builds/3003/steps/memory%20test%3A%20printing/logs/stdio UNINITIALIZED READ: reading 0x0012f979-0x0012f97a 1 byte(s) within 0x0012f978-0x0012f97c
(these reports come from related tests)
Sorry, something went wrong.
From timurrrr@google.com on April 11, 2011 09:06:50
Or could it be that DrMemory is missing the default pen/polyfillmode initializer in GDI32?
Cc: derek.br...@gmail.com
From timurrrr@google.com on May 05, 2011 11:18:13
Labels: Reexamine-MissingSyms
No branches or pull requests
From timurrrr@google.com on April 11, 2011 12:00:29
#include <windows.h>
#include <assert.h>
#pragma comment(lib, "gdi32.lib")
int main() {
HDC hdc = CreateEnhMetaFile(NULL, NULL, NULL, NULL);
assert(hdc != NULL);
Rectangle(hdc, 1, 1, 2, 2);
HENHMETAFILE emf = CloseEnhMetaFile(hdc);
DeleteEnhMetaFile(emf);
}
->
Error
#1
: UNINITIALIZED READ: reading register edx@0:00:01.032 in thread 760
0x77f221cf <GDI32.dll+0x121cf> GDI32.dll!ExtCreatePen
??:0
0x77f23d2d <GDI32.dll+0x13d2d> GDI32.dll!GetMiterLimit
??:0
0x77f230a3 <GDI32.dll+0x130a3> GDI32.dll!CloseEnhMetaFile
??:0
0x0040105d <test.exe+0x105d> test.exe!main
test.cpp:19
Error
#2
: UNINITIALIZED READ: reading register edx@0:00:01.047 in thread 760
0x77f221f0 <GDI32.dll+0x121f0> GDI32.dll!ExtCreatePen
??:0
0x77f23d2d <GDI32.dll+0x13d2d> GDI32.dll!GetMiterLimit
??:0
0x77f230a3 <GDI32.dll+0x130a3> GDI32.dll!CloseEnhMetaFile
??:0
0x0040105d <test.exe+0x105d> test.exe!main
test.cpp:19
Original issue: http://code.google.com/p/drmemory/issues/detail?id=346
The text was updated successfully, but these errors were encountered: