[Bug 26102] New: pdh/pdh tests shows a couple valgrind warnings
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Feb 14 17:11:05 CST 2011
http://bugs.winehq.org/show_bug.cgi?id=26102
Summary: pdh/pdh tests shows a couple valgrind warnings
Product: Wine
Version: 1.3.13
Platform: x86
OS/Version: Linux
Status: NEW
Keywords: download, source, testcase
Severity: minor
Priority: P2
Component: pdh
AssignedTo: wine-bugs at winehq.org
ReportedBy: austinenglish at gmail.com
Invalid read of size 4
at PdhCloseQuery (pdh_main.c:395)
by test_PdhOpenQueryA (pdh.c:83)
by func_pdh (pdh.c:968)
by run_test (test.h:556)
by main (test.h:624)
Address 0x7f005930 is 0 bytes inside a block of size 32 free'd
at notify_free (heap.c:262)
by RtlFreeHeap (heap.c:1747)
by heap_free (pdh_main.c:62)
by destroy_query (pdh_main.c:174)
by PdhCloseQuery (pdh_main.c:428)
by test_PdhOpenQueryA (pdh.c:80)
by func_pdh (pdh.c:968)
by run_test (test.h:556)
by main (test.h:624)
...
Invalid read of size 4
at PdhCloseQuery (pdh_main.c:395)
by test_PdhOpenQueryW (pdh.c:107)
by func_pdh (pdh.c:969)
by run_test (test.h:556)
by main (test.h:624)
Address 0x7f005960 is 0 bytes inside a block of size 32 free'd
at notify_free (heap.c:262)
by RtlFreeHeap (heap.c:1747)
by heap_free (pdh_main.c:62)
by destroy_query (pdh_main.c:174)
by PdhCloseQuery (pdh_main.c:428)
by test_PdhOpenQueryW (pdh.c:104)
by func_pdh (pdh.c:969)
by run_test (test.h:556)
by main (test.h:624)
Though, looking at the code, these warnings are caused by:
ret = PdhCloseQuery( query );
ok(ret == PDH_INVALID_HANDLE, "PdhCloseQuery failed 0x%08x\n", ret);
e.g., these invalid reads are expected.
Filing a bug so I have something to reference in the valgrind suppression file.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list