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);
http://bugs.winehq.org/show_bug.cgi?id=21041
Alexander Scott-Johns alexander.scott.johns+winebug@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexander.scott.johns+wineb | |ug@googlemail.com
--- Comment #1 from Alexander Scott-Johns alexander.scott.johns+winebug@googlemail.com 2011-01-31 13:28:12 CST --- Fixed by e81e49787c5f4313f4f34f8986e639cf5d1173e2 (wine-1.3.12-208-ge81e497).
http://bugs.winehq.org/show_bug.cgi?id=21041
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com 2011-01-31 13:52:49 CST --- Fixed.
http://bugs.winehq.org/show_bug.cgi?id=21041
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2011-02-04 13:21:29 CST --- Closing bugs fixed in 1.3.13.