Bug 254277
| Summary: | [ macOS Debug ] ASSERTION FAILED: !hasPendingFlush() on 2x imported/w3c/web-platform-tests/html/canvas/offscreen/ tests, flakily | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Bri Harris <bharris9> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | mattwoodrow, mmaxfield, sabouhallawa, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Bri Harris
The follow 2 imported/w3c/web-platform-tests/html/canvas/offscreen/ tests:
imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside3.worker.html
imported/w3c/web-platform-tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.double.worker.html
are flaky crashes on macOS Debug running on Intel only.
HISTORY:
https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcanvas%2Foffscreen%2Ffill-and-stroke-styles%2F2d.gradient.radial.inside3.worker.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcanvas%2Foffscreen%2Fpath-objects%2F2d.path.roundrect.2.radii.2.double.worker.html
CRASH LOG / STDERR TEXT:
ASSERTION FAILED: !hasPendingFlush()
/Volumes/Data/worker/Apple-Ventura-Debug-Build/build/Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.cpp(334) : void WebKit::RemoteImageBufferProxy::prepareForBackingStoreChange()
1 0x563cade79 WTFCrash
2 0x54d40682b WTFCrashWithInfo(int, char const*, char const*, int)
3 0x54f6952e0 WebKit::RemoteImageBufferProxy::prepareForBackingStoreChange()
4 0x54f6970d4 WebKit::RemoteImageBufferProxy::sinkIntoSerializedImageBuffer()
5 0x528601731 WebCore::ImageBuffer::sinkIntoSerializedImageBuffer(WTF::RefPtr<WebCore::ImageBuffer, WTF::RawPtrTraits<WebCore::ImageBuffer>, WTF::DefaultRefDerefTraits<WebCore::ImageBuffer> >&&)
6 0x5277174a3 WebCore::OffscreenCanvas::commitToPlaceholderCanvas()
7 0x527729304 WebCore::OffscreenCanvas::scheduleCommitToPlaceholderCanvas()::$_2::operator()(WebCore::ScriptExecutionContext&) const
8 0x527729251 WTF::Detail::CallableWrapper<WebCore::OffscreenCanvas::scheduleCommitToPlaceholderCanvas()::$_2, void, WebCore::ScriptExecutionContext&>::call(WebCore::ScriptExecutionContext&)
9 0x5263592a7 WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const
10 0x526349d7d WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&)
11 0x5296b53cd WebCore::WorkerDedicatedRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*)
12 0x5296b48a1 WebCore::WorkerDedicatedRunLoop::runInMode(WebCore::WorkerOrWorkletGlobalScope*, WebCore::ModePredicate const&)
13 0x5296b2e95 WebCore::WorkerDedicatedRunLoop::run(WebCore::WorkerOrWorkletGlobalScope*)
14 0x5296b2e34 WebCore::WorkerOrWorkletThread::runEventLoop()
15 0x5296b3213 WebCore::WorkerOrWorkletThread::workerOrWorkletThread()
16 0x5296de8c8 WebCore::WorkerThread::createThread()::$_17::operator()() const
17 0x5296de869 WTF::Detail::CallableWrapper<WebCore::WorkerThread::createThread()::$_17, void>::call()
18 0x563cde082 WTF::Function<void ()>::operator()() const
19 0x563dd4d18 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)
20 0x563de2255 WTF::wtfThreadEntryPoint(void*)
21 0x7ff805e1f259 _pthread_start
22 0x7ff805e1ac7b thread_start
com.apple.WebKit.WebContent.Development terminated (pid 33280) for reason: crash
LEAK: 1 WebPageProxy
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Bri Harris
I was able to replicate this crash on Ventura ToT running on Intel as follows:
run-webkit-tests imported/w3c/web-platform-tests/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.radial.inside3.worker.html imported/w3c/web-platform-tests/html/canvas/offscreen/path-objects/2d.path.roundrect.2.radii.2.double.worker.html
Radar WebKit Bug Importer
<rdar://problem/107063975>