WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
257384
[WPE] Cog crashes when loading webkit://gpu
https://bugs.webkit.org/show_bug.cgi?id=257384
Summary
[WPE] Cog crashes when loading webkit://gpu
Philippe Normand
Reported
2023-05-26 10:43:38 PDT
With gtk4 backend. The bt is not very useful but I suppose the crash also happens in Debug... Cog-Core-Message: 18:35:43.232: <webkit://gpu> Load started. Cannot create EGL context: invalid display (last error: EGL_SUCCESS) (gdb) bt #0 0x00007f53be9ea5f4 in WebCore::GLContext::makeContextCurrent() () at /var/home/phil/WebKit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #1 0x00007f53bba85693 in WebKit::WebKitProtocolHandler::handleGPU(_WebKitURISchemeRequest*) () at /var/home/phil/WebKit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #2 0x00007f53bba84b61 in WebKit::WebKitProtocolHandler::handleRequest(_WebKitURISchemeRequest*) () at /var/home/phil/WebKit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #3 0x00007f53bbaa0154 in WebKitURISchemeHandler::platformStartTask(WebKit::WebPageProxy&, WebKit::WebURLSchemeTask&) () at /var/home/phil/WebKit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #4 0x00007f53bba2b3ec in WebKit::WebURLSchemeHandler::startTask(WebKit::WebPageProxy&, WebKit::WebProcessProxy&, WTF::ObjectIdentifierGeneric<WebCore::PageIdentifierType, WTF::ObjectIdentifie rMainThreadAccessTraits>, WebKit::URLSchemeTaskParameters&&, WTF::CompletionHandler<void (WebCore::ResourceResponse const&, WebCore::ResourceError const&, WTF::Vector<unsigned char, 0ul, WTF:: CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&) () at /var/home/phil/WebKit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #5 0x00007f53bb9ea2e8 in WebKit::WebPageProxy::startURLSchemeTaskShared(WTF::Ref<WebKit::WebProcessProxy, WTF::RawPtrTraits<WebKit::WebProcessProxy> >&&, WTF::ObjectIdentifierGeneric<WebCore: :PageIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WebKit::URLSchemeTaskParameters&&) () at /var/home/phil/WebKit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #6 0x00007f53bb9ea17a in WebKit::WebPageProxy::startURLSchemeTask(WebKit::URLSchemeTaskParameters&&) () at /var/home/phil/WebKit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #7 0x00007f53bb652577 in WebKit::WebPageProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) () at /var/home/phil/WebKit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #8 0x00007f53bb91b883 in IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) () at /var/home/phil/WebKit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #9 0x00007f53bba240bd in non-virtual thunk to WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) () at /var/home/phil/WebKit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #10 0x00007f53bb914459 in IPC::Connection::dispatchMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >) () at /var/home/phil/WebKit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #11 0x00007f53bb9149d9 in IPC::Connection::dispatchIncomingMessages() () at /var/home/phil/WebKit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #12 0x00007f53bcff797b in WTF::RunLoop::performWork() () at /var/home/phil/WebKit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #13 0x00007f53bd058c16 in WTF::RunLoop::RunLoop()::$_0::__invoke(void*) () at /var/home/phil/WebKit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #14 0x00007f53bd05817a in WTF::RunLoop::$_0::__invoke(_GSource*, int (*)(void*), void*) () at /var/home/phil/WebKit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #15 0x00007f53bab11f58 in g_main_dispatch (context=0x25c9600) at ../glib/gmain.c:3460 #16 g_main_context_dispatch (context=0x25c9600) at ../glib/gmain.c:4200 #17 0x00007f53bab71cd8 in g_main_context_iterate.isra.0 (context=0x25c9600, block=1, dispatch=1, self=<optimized out>) at ../glib/gmain.c:4276 #18 0x00007f53bab13233 in g_main_context_iteration (context=context@entry=0x25c9600, may_block=may_block@entry=1) at ../glib/gmain.c:4343 #19 0x00007f53ba9c5f3d in g_application_run (application=0x25c8a20, argc=<optimized out>, argv=0x7ffef57c1e28) at ../gio/gapplication.c:2573 #20 0x0000000000404cf9 in main ()
Attachments
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2023-05-26 11:11:54 PDT
#0 WebCore::GLContext::makeContextCurrent (this=0x0) at /var/home/phil/WebKit/Source/WebCore/platform/graphics/egl/GLContext.cpp:573 573 ASSERT(m_context); [Current thread is 1 (Thread 0x7f326dfc14c0 (LWP 595734))] (gdb) bt #0 WebCore::GLContext::makeContextCurrent() (this=0x0) at /var/home/phil/WebKit/Source/WebCore/platform/graphics/egl/GLContext.cpp:573 #1 0x00007f327e99fb57 in WebCore::GLContext::ScopedGLContext::ScopedGLContext(std::unique_ptr<WebCore::GLContext, std::default_delete<WebCore::GLContext> >&&) (this=0x7ffe3a1a1848, context=...) at /var/home/phil/WebKit/Source/WebCore/platform/graphics/egl/GLContext.cpp:652 #2 0x00007f3277ee9114 in WebKit::WebKitProtocolHandler::handleGPU(_WebKitURISchemeRequest*) (this=0x7f3264000650, request=0x39e8f30) at /var/home/phil/WebKit/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp:337
Philippe Normand
Comment 2
2023-06-24 09:42:04 PDT
This was fixed somehow.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug