[Webkit-unassigned] [Bug 233217] [iOS 15] Nullptr crashes in ShareableBitmap::createGraphicsContext, mostly on twitter.com

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 17 07:23:34 PST 2021


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

--- Comment #4 from Ali Juma <ajuma at chromium.org> ---
(In reply to Cameron McCormack (:heycam) from comment #3)
> It's possible ShareableBitmap::create returned null due to either numBytes
> overflowing  (though that would require something like a 32k x 32k image) or
> the ShareableBitmapMalloc::tryMalloc call failing.  Either way,
> PageClientImpl::startDrag should probably defend against
> ShareableBitmap::create returning null.

Thanks for having a look. A large fraction of the crash reports are happening when free memory is low, so it's probably the ShareableBitmapMalloc::tryMalloc call failing.

-- 
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/20211117/81951a20/attachment-0001.htm>


More information about the webkit-unassigned mailing list