[WKView _setDragImage:at:linkDrag:] contains a call to super that performs a drag. It's possible for this call to super to end up dealloc'ing self, and then WebKit will crash on the line of code that runs after the call to [super dragImage::::::]. This is in Radar as 9355199
Created attachment 96492 [details] Patch to retain self during this method
Comment on attachment 96492 [details] Patch to retain self during this method View in context: https://bugs.webkit.org/attachment.cgi?id=96492&action=review > Source/WebKit2/UIProcess/API/mac/WKView.mm:2342 > + RetainPtr<WKView> protect(self); Itβs better to use a noun for the name of the local variable. Say, protector, instead of protect.
Will change to "protector". I used "protect" in mimicry of another function in this file. I'll change that one too while I'm in here.
Fixed in <http://trac.webkit.org/changeset/88401>.