RESOLVED FIXED 264880
[GTK] Crash in AcceleratedSurfaceDMABuf::RenderTargetEGLImage::create()
https://bugs.webkit.org/show_bug.cgi?id=264880
Summary [GTK] Crash in AcceleratedSurfaceDMABuf::RenderTargetEGLImage::create()
Oriol Brufau
Reported 2023-11-15 08:43:09 PST
I get a crash when using ./Tools/Scripts/run-minibrowser --gtk ``` 1 0x7f9d0655bb99 WTFCrash 2 0x7f9d0968d8f6 WebKit::AcceleratedSurfaceDMABuf::RenderTargetEGLImage::create(unsigned long, WebCore::IntSize const&, WebKit::DMABufRendererBufferFormat const&) 3 0x7f9d0968e786 WebKit::AcceleratedSurfaceDMABuf::SwapChain::nextTarget() 4 0x7f9d0968e7ed WebKit::AcceleratedSurfaceDMABuf::willRenderFrame() 5 0x7f9d091a44ad WebKit::ThreadedCompositor::renderLayerTree() 6 0x7f9d06609adc WTF::RunLoop::TimerBase::TimerBase(WTF::RunLoop&)::{lambda(void*)#1}::_FUN(void*) 7 0x7f9d0660a4af WTF::RunLoop::{lambda(_GSource*, int (*)(void*), void*)#1}::_FUN(_GSource*, int (*)(void*), void*) 8 0x7f9d0236a527 g_main_context_dispatch 9 0x7f9d023c7888 g_main_context_iterate.constprop.0 10 0x7f9d02369d7f g_main_loop_run 11 0x7f9d0660a5e0 WTF::RunLoop::run() 12 0x7f9d06595596 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) 13 0x7f9d0660de89 WTF::wtfThreadEntryPoint(void*) 14 0x7f9d01d6325a start_thread 15 0x7f9d01debfc4 clone ``` The code reads dmabufFormat.modifiers[0] but dmabufFormat.modifiers is empty.
Attachments
Output of webkit://gpu (6.44 KB, application/json)
2023-11-16 11:09 PST, Oriol Brufau
no flags
Oriol Brufau
Comment 1 2023-11-15 08:50:31 PST
Carlos Garcia Campos
Comment 2 2023-11-16 00:25:47 PST
Could you provide the output of webkit://gpu ?
Oriol Brufau
Comment 3 2023-11-16 11:09:02 PST
Created attachment 468627 [details] Output of webkit://gpu
EWS
Comment 4 2023-11-16 22:53:14 PST
Committed 270866@main (803d9c8905c3): <https://commits.webkit.org/270866@main> Reviewed commits have been landed. Closing PR #20543 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.