[Webkit-unassigned] [Bug 272329] New: [WPE][WebXR] Assertion fails `gl.checkFramebufferStatus(GL::FRAMEBUFFER) == GL::FRAMEBUFFER_COMPLETE` in `WebXROpaqueFramebuffer::blitShared()`

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 8 06:54:17 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=272329

            Bug ID: 272329
           Summary: [WPE][WebXR] Assertion fails
                    `gl.checkFramebufferStatus(GL::FRAMEBUFFER) ==
                    GL::FRAMEBUFFER_COMPLETE` in
                    `WebXROpaqueFramebuffer::blitShared()`
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebXR
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: vitaly at igalia.com

Many tests in `http/wpt/webxr` and `imported/w3c/web-platform-tests/webxr` hit this assertion.

Stack trace:
```
STDERR: ASSERTION FAILED: gl.checkFramebufferStatus(GL::FRAMEBUFFER) == GL::FRAMEBUFFER_COMPLETE
STDERR: /app/webkit/Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.cpp(283) : void WebCore::WebXROpaqueFramebuffer::blitShared(WebCore::GraphicsContextGL&)
STDERR: 1   0x7faad4658f18 WTFCrash
STDERR: 2   0x7faad09abff0 WTF::isIntegralOrPointerType()
STDERR: 3   0x7faad6d2c2e3 WebCore::WebXROpaqueFramebuffer::blitShared(WebCore::GraphicsContextGL&)
STDERR: 4   0x7faad6d2be3b WebCore::WebXROpaqueFramebuffer::endFrame()
STDERR: 5   0x7faad6d4c56e WebCore::WebXRWebGLLayer::endFrame()
STDERR: 6   0x7faad6d31142 operator()
STDERR: 7   0x7faad6d48d82 call
STDERR: 8   0x7faad12cfef5 WTF::Function<void ()>::operator()() const
STDERR: 9   0x7faad6d25132 WebCore::ActiveDOMObject::queueTaskKeepingObjectAlive<WebCore::WebXRSession>(WebCore::WebXRSession&, WebCore::TaskSource, WTF::Function<void ()>&&)::{lambda()#1}::operator()() const
STDERR: 10  0x7faad6d29c1e WTF::Detail::CallableWrapper<WebCore::ActiveDOMObject::queueTaskKeepingObjectAlive<WebCore::WebXRSession>(WebCore::WebXRSession&, WebCore::TaskSource, WTF::Function<void ()>&&)::{lambda()#1}, void>::call()
STDERR: 11  0x7faad12cfef5 WTF::Function<void ()>::operator()() const
STDERR: 12  0x7faad78de9ea WebCore::EventLoopFunctionDispatchTask::execute()
STDERR: 13  0x7faad78ddadb WebCore::EventLoop::run(std::optional<WTF::ApproximateTime>)
STDERR: 14  0x7faad7a69bd9 WebCore::WindowEventLoop::didReachTimeToRun()
STDERR: 15  0x7faad7a8107e void std::__invoke_impl<void, void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&>(std::__invoke_memfun_deref, void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&)
STDERR: 16  0x7faad7a80fe9 std::__invoke_result<void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&>::type std::__invoke<void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&>(void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&)
STDERR: 17  0x7faad7a80f5f void std::_Bind<void (WebCore::WindowEventLoop::*(WebCore::WindowEventLoop*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>)
STDERR: 18  0x7faad7a80ef1 void std::_Bind<void (WebCore::WindowEventLoop::*(WebCore::WindowEventLoop*))()>::operator()<, void>()
STDERR: 19  0x7faad7a80d4c WTF::Detail::CallableWrapper<std::_Bind<void (WebCore::WindowEventLoop::*(WebCore::WindowEventLoop*))()>, void>::call()
STDERR: 20  0x7faad12cfef5 WTF::Function<void ()>::operator()() const
STDERR: 21  0x7faad13b4870 WebCore::Timer::fired()
STDERR: 22  0x7faad883d7c8 WebCore::ThreadTimers::sharedTimerFiredInternal()
STDERR: 23  0x7faad883d0a5 operator()
STDERR: 24  0x7faad884711a call
STDERR: 25  0x7faad12cfef5 WTF::Function<void ()>::operator()() const
STDERR: 26  0x7faad87e9458 WebCore::MainThreadSharedTimer::fired()
STDERR: 27  0x7faad87f1ffe void std::__invoke_impl<void, void (WebCore::MainThreadSharedTimer::*&)(), WebCore::MainThreadSharedTimer*&>(std::__invoke_memfun_deref, void (WebCore::MainThreadSharedTimer::*&)(), WebCore::MainThreadSharedTimer*&)
STDERR: 28  0x7faad87f1f77 std::__invoke_result<void (WebCore::MainThreadSharedTimer::*&)(), WebCore::MainThreadSharedTimer*&>::type std::__invoke<void (WebCore::MainThreadSharedTimer::*&)(), WebCore::MainThreadSharedTimer*&>(void (WebCore::MainThreadSharedTimer::*&)(), WebCore::MainThreadSharedTimer*&)
STDERR: 29  0x7faad87f1eed void std::_Bind<void (WebCore::MainThreadSharedTimer::*(WebCore::MainThreadSharedTimer*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>)
STDERR: 30  0x7faad87f1e7f void std::_Bind<void (WebCore::MainThreadSharedTimer::*(WebCore::MainThreadSharedTimer*))()>::operator()<, void>()
STDERR: 31  0x7faad87f1e48 WTF::Detail::CallableWrapper<std::_Bind<void (WebCore::M
```

-- 
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/20240408/a3f0bfa1/attachment-0001.htm>


More information about the webkit-unassigned mailing list