| Summary: | ASSERTION FAILED: isMainThread() in WTF::Optional<IntSize> &WebCore::surfaceMaximumSize() | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ryan Haddad <ryanhaddad> | ||||||||
| Component: | New Bugs | Assignee: | Tim Horton <thorton> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | rniwa, thorton, webkit-bot-watchers-bugzilla, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=219484 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Ryan Haddad
2020-12-03 08:35:24 PST
Started with https://trac.webkit.org/changeset/270392/webkit Oh dear! Created attachment 415336 [details]
Patch
Comment on attachment 415336 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=415336&action=review > Source/WebCore/platform/graphics/cocoa/IOSurface.mm:259 > + if (size.isEmpty()) { I know that this is racy (might have gotten written from elsewhere), but I don't think it matters at all. Comment on attachment 415336 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=415336&action=review > Source/WebCore/platform/graphics/cocoa/IOSurface.mm:253 > - surfaceMaximumSize() = size; > + surfaceMaximumSize().store(size); Can we assert that new size is not empty? > Source/WebCore/platform/graphics/cocoa/IOSurface.mm:260 > + auto computedSize = computeMaximumSurfaceSize(); We should consider asserting that this won't happen when GPU process is enabled and we're in the web content process using ProcessPrivilege. Created attachment 415341 [details]
Patch
Created attachment 415344 [details]
Patch
Patch 415341 does not build Committed r270410: <https://trac.webkit.org/changeset/270410> All reviewed patches have been landed. Closing bug and clearing flags on attachment 415344 [details]. |