http://bugs.winehq.org/show_bug.cgi?id=21041
Summary: Mismatched GlobalLock/HeapFree in X11DRV_CLIPBOARD_ExportString? Product: Wine Version: 1.1.34 Platform: PC URL: http://build.chromium.org/buildbot/waterfall.fyi/build ers/Chromium%20Linux%20Wine%20(valgrind)/builds/57/ste ps/wine%20valgrind%20test:%20unit_tests/logs/stdio OS/Version: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com CC: ulrich@codeweavers.com, thestig@google.com
http://build.chromium.org/buildbot/waterfall.fyi/builders/Chromium%20Linux%2... shows:
[ RUN ] FocusManagerTest.ViewFocusCallbacks ... Invalid free() / delete / delete[] at RtlFreeHeap (heap.c:255) by X11DRV_CLIPBOARD_ExportString (clipboard.c:1548) by X11DRV_HandleSelectionRequest (clipboard.c:3353) by X11DRV_SelectionRequest (clipboard.c:3397) by process_events (event.c:317) by X11DRV_MsgWaitForMultipleObjectsEx (event.c:408) by GetQueueStatus (input.c:296) Address 0x7f07ec88 is 8 bytes inside a block of size 18 alloc'd at RtlAllocateHeap (heap.c:247) by HeapAlloc (heap.c:276) by GlobalAlloc (heap.c:395) by X11DRV_CLIPBOARD_RenderFormat (clipboard.c:1023) by X11DRV_CLIPBOARD_ExportString (clipboard.c:1666) by X11DRV_HandleSelectionRequest (clipboard.c:3353) by X11DRV_SelectionRequest (clipboard.c:3397) by process_events (event.c:317) by X11DRV_MsgWaitForMultipleObjectsEx (event.c:408) by GetQueueStatus (input.c:296)
Looks like a mismatch to me?
1529 text = GlobalLock(lpData->hData32); ... 1548 HeapFree(GetProcessHeap(), 0, text);