| Summary: | ASSERTION FAILED: Component at index 1 is 1.000000 and is greater than the allowed maximum 1.000000 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Robert Jenner <jenner> | ||||||
| Component: | New Bugs | Assignee: | Devin Rousso <hi> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | darin, hi, sam, webkit-bot-watchers-bugzilla, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Robert Jenner
2021-05-21 16:07:40 PDT
Was able to reproduce the Assertion/crash on BigSur Debug ToT with the following test: run-api-tests TestWebKitAPI.SampledPageTopColor.MainDocumentChange Full crashlog from my results is attached below. Created attachment 429358 [details]
Full Crashlog for API
Attaching full crashing for API.
Created attachment 429387 [details]
Patch
Comment on attachment 429387 [details]
Patch
Sam should review this.
Comment on attachment 429387 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=429387&action=review > Source/WebCore/platform/graphics/cg/ColorCG.cpp:86 > - return convertColor<SRGBA<uint8_t>>(SRGBA<float> { r, g, b, a }); > + return convertColor<SRGBA<uint8_t>>(makeFromComponentsClamping<SRGBA<float>>(r, g, b, a )); This is a good short term fix for the tests, but I need to fix this function to do something actually reasonable here. I'll tackle that in https://bugs.webkit.org/show_bug.cgi?id=226141. Committed r277919 (238052@main): <https://commits.webkit.org/238052@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 429387 [details]. |