[Webkit-unassigned] [Bug 280329] New: [GTK][Debug] ASSERT in AcceleratedSurfaceDMABuf::SwapChain::nextTarget()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 25 02:47:47 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=280329
Bug ID: 280329
Summary: [GTK][Debug] ASSERT in
AcceleratedSurfaceDMABuf::SwapChain::nextTarget()
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: philn at igalia.com
CC: bugs-noreply at webkitgtk.org
When running media tests here, for instance webrtc/vp9-profile2.html ... ASSERT(m_lockedTargets.size() < s_maximumBuffers); is hit.
(gdb) bt
#0 0x00007fa6119f1b59 in WTFCrash () at /var/home/phil/WebKit/Source/WTF/wtf/Assertions.cpp:363
#1 0x00007fa61afececb in WTFCrashWithInfo () at WTF/Headers/wtf/Assertions.h:901
#2 0x00007fa61d0cce51 in WebKit::AcceleratedSurfaceDMABuf::SwapChain::nextTarget (this=0x7fa5fc0c8168) at /var/home/phil/WebKit/Source/WebKit/WebProcess/WebPage/dmabuf/AcceleratedSurfaceDMABuf.cpp:509
#3 0x00007fa61d0cd79d in WebKit::AcceleratedSurfaceDMABuf::willRenderFrame (this=0x7fa5fc0c8110) at /var/home/phil/WebKit/Source/WebKit/WebProcess/WebPage/dmabuf/AcceleratedSurfaceDMABuf.cpp:630
#4 0x00007fa61d0de313 in WebKit::LayerTreeHost::willRenderFrame (this=0x7fa5fc0603a0) at /var/home/phil/WebKit/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp:418
#5 0x00007fa61c25d87f in WebKit::ThreadedCompositor::renderLayerTree (this=0x7fa5fc021500) at /var/home/phil/WebKit/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:281
#6 0x00007fa61c25fe68 in WebKit::ThreadedCompositor::ThreadedCompositor(WebKit::ThreadedCompositor::Client&, unsigned int, WebCore::IntSize const&, float, bool, WebKit::ThreadedCompositor::DamagePropagation)::$_0::operator()() const (this=0x7fa5fc0011c8) at /var/home/phil/WebKit/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:81
#7 0x00007fa61c25fe49 in WTF::Detail::CallableWrapper<WebKit::ThreadedCompositor::ThreadedCompositor(WebKit::ThreadedCompositor::Client&, unsigned int, WebCore::IntSize const&, float, bool, WebKit::ThreadedCompositor::DamagePropagation)::$_0, void>::call (this=0x7fa5fc0011c0) at WTF/Headers/wtf/Function.h:53
#8 0x00007fa61bb3b047 in WTF::Function<void()>::operator() (this=0x7fa5fc03cc08) at WTF/Headers/wtf/Function.h:82
#9 0x00007fa61c25c258 in WebKit::CompositingRunLoop::updateTimerFired (this=0x7fa5fc03cbd0) at /var/home/phil/WebKit/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp:182
#10 0x00007fa61c269449 in std::__invoke_impl<void, void (WebKit::CompositingRunLoop::*&)(), WebKit::CompositingRunLoop*&>
(__f=@0x7fa5fc10ecc8: (void (WebKit::CompositingRunLoop::*)(WebKit::CompositingRunLoop * const)) 0x7fa61c25c1e0 <WebKit::CompositingRunLoop::updateTimerFired()>, __t=@0x7fa5fc10ecd8: 0x7fa5fc03cbd0)
at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/bits/invoke.h:74
#11 0x00007fa61c26938d in std::__invoke<void (WebKit::CompositingRunLoop::*&)(), WebKit::CompositingRunLoop*&>
(__fn=@0x7fa5fc10ecc8: (void (WebKit::CompositingRunLoop::*)(WebKit::CompositingRunLoop * const)) 0x7fa61c25c1e0 <WebKit::CompositingRunLoop::updateTimerFired()>, __args=@0x7fa5fc10ecd8: 0x7fa5fc03cbd0)
at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/bits/invoke.h:96
#12 0x00007fa61c26935d in std::_Bind<void (WebKit::CompositingRunLoop::*(WebKit::CompositingRunLoop*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x7fa5fc10ecc8, __args=...)
at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/functional:513
#13 0x00007fa61c269316 in std::_Bind<void (WebKit::CompositingRunLoop::*(WebKit::CompositingRunLoop*))()>::operator()<, void>() (this=0x7fa5fc10ecc8)
at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/functional:598
#14 0x00007fa61c269299 in WTF::Detail::CallableWrapper<std::_Bind<void (WebKit::CompositingRunLoop::*(WebKit::CompositingRunLoop*))()>, void>::call() (this=0x7fa5fc10ecc0) at WTF/Headers/wtf/Function.h:53
#15 0x00007fa61bb3b047 in WTF::Function<void()>::operator() (this=0x7fa5fc03cc00) at WTF/Headers/wtf/Function.h:82
#16 0x00007fa61bc5d559 in WTF::RunLoop::Timer::fired (this=0x7fa5fc03cbd8) at WTF/Headers/wtf/RunLoop.h:195
#17 0x00007fa611d9770a in WTF::RunLoop::TimerBase::TimerBase(WTF::Ref<WTF::RunLoop, WTF::RawPtrTraits<WTF::RunLoop>, WTF::DefaultRefDerefTraits<WTF::RunLoop> >&&)::$_0::operator()(void*) const
(this=0x7fa56d5ff4c7, userData=0x7fa5fc03cbd8) at /var/home/phil/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:177
#18 0x00007fa611d976b9 in WTF::RunLoop::TimerBase::TimerBase(WTF::Ref<WTF::RunLoop, WTF::RawPtrTraits<WTF::RunLoop>, WTF::DefaultRefDerefTraits<WTF::RunLoop> >&&)::$_0::__invoke(void*) (userData=0x7fa5fc03cbd8)
at /var/home/phil/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:169
#19 0x00007fa611d96d79 in WTF::RunLoop::$_0::operator()
(this=0x7fa56d5ff537, source=0x1685b60, callback=0x7fa611d976a0 <WTF::RunLoop::TimerBase::TimerBase(WTF::Ref<WTF::RunLoop, WTF::RawPtrTraits<WTF::RunLoop>, WTF::DefaultRefDerefTraits<WTF::RunLoop> >&&)::$_0::__invoke(void*)>, userData=0x7fa5fc03cbd8) at /var/home/phil/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:53
#20 0x00007fa611d955c9 in WTF::RunLoop::$_0::__invoke
(source=0x1685b60, callback=0x7fa611d976a0 <WTF::RunLoop::TimerBase::TimerBase(WTF::Ref<WTF::RunLoop, WTF::RawPtrTraits<WTF::RunLoop>, WTF::DefaultRefDerefTraits<WTF::RunLoop> >&&)::$_0::__invoke(void*)>, userData=0x7fa5fc03cbd8) at /var/home/phil/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:45
#21 0x00007fa60b6b9e8c in g_main_dispatch (context=0x7fa528000b70) at ../glib/gmain.c:3344
#22 g_main_context_dispatch_unlocked (context=0x7fa528000b70) at ../glib/gmain.c:4152
#23 0x00007fa60b71bc98 in g_main_context_iterate_unlocked.isra.0 (context=0x7fa528000b70, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/gmain.c:4217
#24 0x00007fa60b6bff37 in g_main_loop_run (loop=0x7fa528000db0) at ../glib/gmain.c:4419
#25 0x00007fa611d95fb4 in WTF::RunLoop::run () at /var/home/phil/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:108
#26 0x00007fa611bffa24 in WTF::RunLoop::create(WTF::ASCIILiteral, WTF::ThreadType, WTF::Thread::QOS)::$_0::operator()() const (this=0x7fa5fc10eca8) at /var/home/phil/WebKit/Source/WTF/wtf/RunLoop.cpp:114
#27 0x00007fa611bff9e9 in WTF::Detail::CallableWrapper<WTF::RunLoop::create(WTF::ASCIILiteral, WTF::ThreadType, WTF::Thread::QOS)::$_0, void>::call (this=0x7fa5fc10eca0)
at /var/home/phil/WebKit/Source/WTF/wtf/Function.h:53
#28 0x00007fa610150357 in WTF::Function<void()>::operator() (this=0x7fa56d5ff790) at WTF/Headers/wtf/Function.h:82
#29 0x00007fa611cd7ce9 in WTF::Thread::entryPoint (newThreadContext=0x7fa5fc00dc80) at /var/home/phil/WebKit/Source/WTF/wtf/Threading.cpp:266
#30 0x00007fa611da4465 in WTF::wtfThreadEntryPoint (context=0x7fa5fc00dc80) at /var/home/phil/WebKit/Source/WTF/wtf/posix/ThreadingPOSIX.cpp:239
#31 0x00007fa60b0856d7 in start_thread (arg=<optimized out>) at pthread_create.c:447
#32 0x00007fa60b10960c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
(gdb) f 2
#2 0x00007fa61d0cce51 in WebKit::AcceleratedSurfaceDMABuf::SwapChain::nextTarget (this=0x7fa5fc0c8168) at /var/home/phil/WebKit/Source/WebKit/WebProcess/WebPage/dmabuf/AcceleratedSurfaceDMABuf.cpp:509
509 ASSERT(m_lockedTargets.size() < s_maximumBuffers);
(gdb) p m_lockedTargets
$1 = WTF::Vector of length 3, capacity 3 = {std::unique_ptr<WebKit::AcceleratedSurfaceDMABuf::RenderTarget> = {get() = 0x7fa5fc4c80c0}, std::unique_ptr<WebKit::AcceleratedSurfaceDMABuf::RenderTarget> = {
get() = 0x7fa5fc1a9710}, std::unique_ptr<WebKit::AcceleratedSurfaceDMABuf::RenderTarget> = {get() = 0x7fa5fc1a95f0}}
(gdb)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240925/57474c00/attachment-0001.htm>
More information about the webkit-unassigned
mailing list