http://bugs.winehq.org/show_bug.cgi?id=20553
Summary: Invalid read in LISTVIEW_NCDestroy in chromium unit_tests.exe in TableViewTest.Sort? Product: Wine Version: 1.1.32 Platform: PC OS/Version: Linux Status: UNCONFIRMED Keywords: download Severity: normal Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Valgrinding the chrome unit tests yields the warning
Invalid read of size 4 at is_valid (imagelist.c:85) by ImageList_Destroy (imagelist.c:695) by LISTVIEW_NCDestroy (listview.c:9676) by LISTVIEW_WindowProc (listview.c:11017) by ??? (library.h:159) by call_window_proc (winproc.c:469) by CallWindowProcW (winproc.c:2321) by views::TableView::TableWndProc (table_view.cc:744) by ??? (library.h:159) by call_window_proc (winproc.c:469) by WINPROC_call_window (winproc.c:2214) by call_window_proc (message.c:1635) Address 0x7f052de8 is not stack'd, malloc'd or (recently) free'd
Line 9676 is ImageList_Destroy(infoPtr->himlSmall); Is himlSmall not properly initialized?
To repeat:
mkdir demo cd demo wget -c http://kegel.com/wine/chromium/chromium-tests.tar.bz2 tar -xjvf chromium-tests.tar.bz2 valgrind --trace-children=yes wine src/chrome/Debug/unit_tests.exe --gtest_filter=TableViewTest.Sort
(That download is a doozy, sorry...)
It's possible this is a chromium bug, but we've been running purify on the chromium tests for a while, and they're probably fairly clean.