[Webkit-unassigned] [Bug 168516] [GTK] UI process crash in WebCore::PasteboardHelper::fillSelectionData

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 11 12:46:43 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=168516

--- Comment #7 from Michael Catanzaro <mcatanzaro at igalia.com> ---
I think, if this were a debug build, we would be hitting this assert:

    // This can happen when attempting to call finish drag from webkitWebViewBaseDragDataGet()
    // for a obsolete DnD operation that got previously cancelled in startDrag().
    if (m_dragContext.get() != context)
        return;

    ASSERT(m_draggingSelectionData);
    PasteboardHelper::singleton().fillSelectionData(*m_draggingSelectionData, info, selectionData);

in DragAndDropHandler::fillDragData. That is, m_dragContext.get() == context, yet the drag methods are called out of order for whatever reason. I guess either DragAndDropHandler::fillDragData is being called before DragAndDropHandler::startDrag, or it's being called after DragAndDropHandler::finishDrag. That is weird.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171211/3cabdfc1/attachment.html>


More information about the webkit-unassigned mailing list