Bug 255001 - REGRESSION(262547@main): Multiple layout tests crash when decoding a null ShareableBitmapHandle
Summary: REGRESSION(262547@main): Multiple layout tests crash when decoding a null Sha...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
: 255009 255025 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-04-04 12:26 PDT by Said Abou-Hallawa
Modified: 2023-04-05 03:49 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2023-04-04 12:26:29 PDT
The change 262547@main adds the assertion `ASSERT(!m_size.isEmpty());` in all the ShareableBitmapConfiguration constructors. However one of them is called when decoding a null ShareableBitmapHandle in UIProcess which has m_size.isEmpty() true. The corresponding ShareableBitmapConfiguration was created with the default constructor in WebProcess.
Comment 1 Radar WebKit Bug Importer 2023-04-04 12:45:03 PDT
<rdar://problem/107625511>
Comment 2 Said Abou-Hallawa 2023-04-04 12:53:40 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12389
Comment 3 Simon Fraser (smfr) 2023-04-04 15:15:04 PDT
*** Bug 255009 has been marked as a duplicate of this bug. ***
Comment 4 EWS 2023-04-04 16:57:49 PDT
Committed 262599@main (05a6289e70ae): <https://commits.webkit.org/262599@main>

Reviewed commits have been landed. Closing PR #12389 and removing active labels.
Comment 5 Vitaly Dyackhov 2023-04-05 03:49:17 PDT
*** Bug 255025 has been marked as a duplicate of this bug. ***