Bug 281285
Summary: | WebCoreDecompressionSession: ASSERTION FAILED: m_promise | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
Component: | Media | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Jean-Yves Avenard [:jya]
```
stderr:
2024-10-10 22:51:28.156 WebKitTestRunner[71375:4615436] +[IMKClient subclass]: chose IMKClient_Modern
IOSurfaceClientSetSurfaceNotify failed e00002e2
IOSurfaceClientSetSurfaceNotify failed e00002e2
ASSERTION FAILED: m_promise
/Users/jyavenard/Work/webkit/OpenSource/WebKitBuild/Debug/usr/local/include/wtf/NativePromise.h(1369) : bool WTF::NativePromiseProducer<WTF::RetainPtr<opaqueCMSampleBuffer *>, int>::isNothing() const [ResolveValueT = WTF::RetainPtr<opaqueCMSampleBuffer *>, RejectValueT = int, options = 0]
1 0x302c5e598 WTF::NativePromiseProducer<WTF::RetainPtr<opaqueCMSampleBuffer*>, int, 0u>::isNothing() const
2 0x302c5e3e0 void WTF::NativePromiseProducer<WTF::RetainPtr<opaqueCMSampleBuffer*>, int, 0u>::resolve<WTF::RetainPtr<opaqueCMSampleBuffer*>, std::__1::enable_if<true, void>>(WTF::RetainPtr<opaqueCMSampleBuffer*>&&, WTF::Logger::LogSiteIdentifier const&) const
3 0x302c66930 WebCore::WebCoreDecompressionSession::decodeSample(opaqueCMSampleBuffer*, bool)::$_3::operator()(int, unsigned int, __CVBuffer*, CMTime, CMTime)::'lambda'()::operator()() const
4 0x302c66638 WTF::Detail::CallableWrapper<WebCore::WebCoreDecompressionSession::decodeSample(opaqueCMSampleBuffer*, bool)::$_3::operator()(int, unsigned int, __CVBuffer*, CMTime, CMTime)::'lambda'(), void>::call()
5 0x12c7b520c WTF::Function<void ()>::operator()() const
6 0x12c981fbc WTF::(anonymous namespace)::DispatchWorkItem::operator()()
7 0x12c980ce4 void WTF::dispatchWorkItem<WTF::(anonymous namespace)::DispatchWorkItem>(void*)
8 0x189498658 _dispatch_client_callout
9 0x18949fc60 _dispatch_lane_serial_drain
10 0x1894a0768 _dispatch_lane_invoke
11 0x1894ab7e8 _dispatch_root_queue_drain_deferred_wlh
12 0x1894ab034 _dispatch_workloop_worker_thread
13 0x1896473a0 _pthread_wqthread
14 0x1896460b8 start_wqthread
com.apple.WebKit.GPU.Development terminated (pid 71377) for reason: crash
LEAK: 1 WebPageProxy
```
this occurs because VTDecompressionSessionDecodeFrameWithOutputHandler can call the output handler several times when decoding VP8.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/137735570>
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/35030
EWS
Committed 285016@main (125f2aee6007): <https://commits.webkit.org/285016@main>
Reviewed commits have been landed. Closing PR #35030 and removing active labels.
EWS
Committed 283286.285@safari-7620-branch (3c1034431a02): <https://commits.webkit.org/283286.285@safari-7620-branch>
Reviewed commits have been landed. Closing PR #2028 and removing active labels.