Bug 263977 - REGRESSION (269939@main): [ macOS iOS17 Debug ]ASSERTION FAILED: m_compositingResultsNeedUpdating in imported/w3c/web-platform-tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.resize.html result of constant crash
Summary: REGRESSION (269939@main): [ macOS iOS17 Debug ]ASSERTION FAILED: m_compositin...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on: 263885
Blocks:
  Show dependency treegraph
 
Reported: 2023-10-31 09:46 PDT by Marta Darbinyan
Modified: 2023-11-07 05:16 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marta Darbinyan 2023-10-31 09:46:08 PDT
Description:
imported/w3c/web-platform-tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.resize.html is constantly crashing on macOS and iOS17 Debug on ToT after 269939@main change in GraphicsContextGL::m_layerComposited.


History:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcanvas%2Foffscreen%2Fmanual%2Fthe-offscreen-canvas%2Foffscreencanvas.resize.html&style=debug

Crash Log:
ASSERTION FAILED: m_compositingResultsNeedUpdating
/Volumes/Data/worker/Apple-Sonoma-Debug-Build/build/Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp(5974) : virtual void WebCore::WebGLRenderingContextBase::prepareForDisplay()
1   0x4f3218d59 WTFCrash
2   0x57dbb03ab WTFCrashWithInfo(int, char const*, char const*, int)
3   0x581ddfa6e WebCore::WebGLRenderingContextBase::prepareForDisplay()
4   0x581ddf892 WebCore::WebGLRenderingContextBase::paintRenderingResultsToCanvas()
5   0x581ceae60 WebCore::OffscreenCanvas::commitToPlaceholderCanvas()
6   0x581cf8fb4 WebCore::OffscreenCanvas::scheduleCommitToPlaceholderCanvas()::$_2::operator()(WebCore::ScriptExecutionContext&) const
7   0x581cf8f01 WTF::Detail::CallableWrapper<WebCore::OffscreenCanvas::scheduleCommitToPlaceholderCanvas()::$_2, void, WebCore::ScriptExecutionContext&>::call(WebCore::ScriptExecutionContext&)
8   0x5802ae82a WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const
9   0x580acbfbd WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&)
10  0x5816fdeb9 WebCore::Document::postTask(WebCore::ScriptExecutionContext::Task&&)::$_29::operator()()
11  0x5816fdc99 WTF::Detail::CallableWrapper<WebCore::Document::postTask(WebCore::ScriptExecutionContext::Task&&)::$_29, void>::call()
12  0x4f32457a2 WTF::Function<void ()>::operator()() const
13  0x4f32e000e WTF::RunLoop::performWork()
14  0x4f32e402e WTF::RunLoop::performWork(void*)
15  0x7ff804040337 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
16  0x7ff8040402d9 __CFRunLoopDoSource0
17  0x7ff8040400a4 __CFRunLoopDoSources0
18  0x7ff80403ed21 __CFRunLoopRun
19  0x7ff80403e372 CFRunLoopRunSpecific
20  0x7ff804fd5bd1 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
21  0x7ff805057a8b -[NSRunLoop(NSRunLoop) run]
22  0x7ff803c8d203 _xpc_objc_main
23  0x7ff803c99677 _xpc_main
24  0x7ff803c8ce26 _xpc_copy_xpcservice_dictionary
25  0x51ecd944d WebKit::XPCServiceMain(int, char const**)
26  0x520ce630b WKXPCServiceMain
27  0x103d6bf32 main
28  0x7ff803bdc3a6 start
com.apple.WebKit.WebContent.Development terminated (pid 671) for reason: crash
LEAK: 1 WebPageProxy

Link: https://build.webkit.org/results/Apple-Sonoma-Debug-WK2-Tests/269962@main%20(233)/imported/w3c/web-platform-tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.resize-crash-log.txt
Comment 1 Radar WebKit Bug Importer 2023-10-31 09:46:56 PDT
<rdar://problem/117746791>
Comment 2 EWS 2023-10-31 10:19:13 PDT
Test gardening commit 270010@main (ecd933344c12): <https://commits.webkit.org/270010@main>

Reviewed commits have been landed. Closing PR #19780 and removing active labels.
Comment 3 Kimmo Kinnunen 2023-11-01 11:19:23 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19845
Comment 4 EWS 2023-11-01 23:56:29 PDT
Test gardening commit 270102@main (d4bd8fde0752): <https://commits.webkit.org/270102@main>

Reviewed commits have been landed. Closing PR #19845 and removing active labels.