[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 12:30:54 PST 2021


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

--- Comment #5 from Cameron McCormack (:heycam) <heycam at apple.com> ---
(In reply to Ali Juma from comment #4)
> 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.

Oh actually this is the ShareableBitmap::create call that takes a shared memory handle, so there's no allocation failure here.  But there are still paths where we can return null (mapping the shared memory failing, or numBytes is too big, or the shared memory size not matching the number of bytes we expect).

-- 
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/49311e4e/attachment.htm>


More information about the webkit-unassigned mailing list