http://bugs.winehq.org/show_bug.cgi?id=20601
Summary: "make test" under valgrind shows serious warnings in 16 tests Product: Wine Version: 1.1.32 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
The following tests show invalid write or invalid free errors when run under valgrind: comctl32_imagelist d3d8_device d3d8_visual d3d9_d3d9ex d3d9_device d3d9_visual d3dx9_36_core ddraw_d3d ddrawex_surface ddraw_visual kernel32_change msctf_inputprocessor mshtml_dom shdocvw_webbrowser shell32_shlexec user32_dialog
For instance, http://kegel.com/wine/valgrind/logs/2009-11-05-09.09/vg-comctl32_imagelist.t... shows Invalid write of size 1 at memcpy (mc_replace_strmem.c:482) by GetDIBits (dib.c:954) by _write_bitmap (imagelist.c:2728) by ImageList_Write (imagelist.c:2804) by check_iml_data (imagelist.c:932) by test_imagelist_storage (imagelist.c:955) by func_imagelist (imagelist.c:1268) by run_test (test.h:535) by main (test.h:585) Address 0x7f071068 is not stack'd, malloc'd or (recently) free'd
and http://kegel.com/wine/valgrind/logs/2009-11-05-09.09/vg-user32_dialog.txt shows Invalid write of size 4 at DIALOG_CreateIndirect (dialog.c:701) by DialogBoxParamA (dialog.c:840) by test_DialogBoxParamA (dialog.c:960) by func_dialog (dialog.c:1157) by run_test (test.h:535) by main (test.h:585) Address 0x7f040428 is not stack'd, malloc'd or (recently) free'd
I suppose we should open individual bugs about each of these. Anybody up for that?
http://bugs.winehq.org/show_bug.cgi?id=20601
--- Comment #1 from Henri Verbeet hverbeet@gmail.com 2009-11-08 14:17:12 --- For the crashes in the D3D tests like d3d9_visual, I'm not sure if the bug is in Wine, Valgrind or the driver, but I have some doubts about it being in Wine. My first guess would be Valgrind getting confused by the driver's mprotect() tricks.
http://bugs.winehq.org/show_bug.cgi?id=20601
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #2 from Dan Kegel dank@kegel.com 2009-12-01 19:08:18 --- I've been filing individual bugs for these, e.g. bug 20895. Closing metabug.
*** This bug has been marked as a duplicate of bug 20895 ***
http://bugs.winehq.org/show_bug.cgi?id=20601
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2009-12-01 23:56:13 --- Closing duplicate.