https://bugs.winehq.org/show_bug.cgi?id=36134
Bug ID: 36134 Summary: oleaut32/tests/vartype show several warnings with valgrind Product: Wine Version: 1.7.16 Hardware: x86 URL: https://test.winehq.org/data/7e874aed75765f3c017673178 cfd64301b7ba3ed/linux_ae-fedora64-heap/oleaut32:vartyp e.html OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: oleaut32 Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
Created attachment 48297 --> https://bugs.winehq.org/attachment.cgi?id=48297 valgrind log
==29762== Invalid read of size 4 ==29762== at 0x4FD81F1: SysFreeString (oleaut.c:259) ==29762== by 0x4D73D6E: test_bstr_cache (vartype.c:6313) ==29762== by 0x4D74BC5: func_vartype (vartype.c:6449) ==29762== by 0x4D75F00: run_test (test.h:584) ==29762== by 0x4D762EF: main (test.h:654) ==29762== Address 0x4748da0 is 16 bytes after a block of size 64 free'd ==29762== at 0x7BC4C782: notify_free (heap.c:263) ==29762== by 0x7BC510C7: RtlFreeHeap (heap.c:1762) ==29762== by 0x4FD83E1: SysFreeString (oleaut.c:293) ==29762== by 0x4D73D44: test_bstr_cache (vartype.c:6310) ==29762== by 0x4D74BC5: func_vartype (vartype.c:6449) ==29762== by 0x4D75F00: run_test (test.h:584) ==29762== by 0x4D762EF: main (test.h:654)
The tests also fail: vartype.c:3732: Test failed: expected 0xbfffffff 0xffffff23 (3221225471,4294967075), got (3221225472,0); hres=0x00000000 vartype.c:3735: Test failed: expected DISP_E_OVERFLOW, got hres=0x00000000 vartype.c:3739: Test failed: expected DISP_E_OVERFLOW, got hres=0x00000000 vartype.c:3815: Test failed: expected 2147483647ul 4294951488ul (2147483647,4294951488), got (2147483647,4294951936); hres=0x00000000 vartype.c:3816: Test failed: expected 2147483647ul 4294961488ul (2147483647,4294961488), got (2147483647,4294961152); hres=0x00000000 vartype.c:3817: Test failed: expected DISP_E_OVERFLOW, got hres=0x00000000 vartype.c:3818: Test failed: expected DISP_E_OVERFLOW, got hres=0x00000000 vartype.c:3838: Test failed: expected 0xbfffffff 0xffffff23 (3221225471,4294967075), got (3221225472,0); hres=0x00000000 vartype.c:3844: Test failed: expected DISP_E_OVERFLOW, got hres=0x00000000 vartype.c:3845: Test failed: expected DISP_E_OVERFLOW, got hres=0x00000000 vartype.c:3886: Test failed: expected DISP_E_OVERFLOW, got hres=0x00000000 vartype.c:3889: Test failed: expected DISP_E_OVERFLOW, got hres=0x00000000 vartype.c:3902: Test failed: expected DISP_E_OVERFLOW, got hres=0x00000000 vartype.c:3915: Test failed: expected DISP_E_OVERFLOW, got hres=0x00000000 vartype.c:3916: Test failed: expected DISP_E_OVERFLOW, got hres=0x00000000 vartype.c:3927: Test failed: expected 2147483647ul 4294951488ul (2147483647,4294951488), got (2147483647,4294951936); hres=0x00000000 vartype.c:3928: Test failed: expected 2147483647ul 4294951488ul (2147483647,4294951488), got (2147483647,4294951936); hres=0x00000000 vartype.c:3938: Test failed: expected 2147483648ul 15808 (2147483648,15808), got (2147483648,15360); hres=0x00000000 vartype.c:3939: Test failed: expected 2147483647ul 4294951488ul (2147483647,4294951488), got (2147483647,4294951936); hres=0x00000000 vartype.c:3954: Test failed: expected 2147483647ul 4294951488ul (2147483647,4294951488), got (2147483647,4294951936); hres=0x00000000 vartype.c:3955: Test failed: expected DISP_E_OVERFLOW, got hres=0x00000000 vartype.c:3970: Test failed: expected 2147483647ul 4294951488ul (2147483647,4294951488), got (2147483647,4294951936); hres=0x00000000 vartype.c:3971: Test failed: expected DISP_E_OVERFLOW, got hres=0x00000000
full log attached.
https://bugs.winehq.org/show_bug.cgi?id=36134
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|oleaut32/tests/vartype show |oleaut32/tests/vartype.c |several warnings with |test shows several warnings |valgrind |with valgrind
https://bugs.winehq.org/show_bug.cgi?id=36134
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://test.winehq.org/dat | |a/7e874aed75765f3c017673178 | |cfd64301b7ba3ed/linux_ae-fe | |dora64-heap/oleaut32:vartyp | |e.html |
https://bugs.winehq.org/show_bug.cgi?id=36134
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind