WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
305909
[GTK][WPE] Crash on exit in PlatformDisplay::terminateEGLDisplay
https://bugs.webkit.org/show_bug.cgi?id=305909
Summary
[GTK][WPE] Crash on exit in PlatformDisplay::terminateEGLDisplay
Narcis Oliveras Fontàs
Reported
2026-01-20 23:41:45 PST
Created
attachment 478085
[details]
test case for the bug Commit e9642e7d006924ec5ac962c726dc27175a718c89 Stack trace : WARNING: ASAN interferes with JSC signal handlers; useWasmFastMemory and useWasmFaultSignalHandler will be disabled. ERROR: Failed to make thread real time: GDBus.Error:org.freedesktop.DBus.Error.Failed: No such file or directory /home/lav/Escriptori/lastwebkit/WebKit/Source/WTF/wtf/linux/RealTimeThreads.cpp(224) : void WTF::RealTimeThreads::realTimeKitMakeThreadRealTime(uint64_t, uint64_t, uint32_t) WARNING: ASAN interferes with JSC signal handlers; useWasmFastMemory and useWasmFaultSignalHandler will be disabled. WARNING: ASAN interferes with JSC signal handlers; useWasmFastMemory and useWasmFaultSignalHandler will be disabled. MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:802: FINISHME: support YUV colorspace with DRM format modifiers MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:834: FINISHME: support more multi-planar formats with DRM modifiers ** (process:2): WARNING **: 13:54:01.599: Unable to get session D-Bus address: Failed to execute child process ?dbus-launch? (No such file or directory) ** (process:2): WARNING **: 13:54:01.677: Unable to get session D-Bus address: Failed to execute child process ?dbus-launch? (No such file or directory) [ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112) WARNING: ASAN interferes with JSC signal handlers; useWasmFastMemory and useWasmFaultSignalHandler will be disabled. ================================================================= ==3072339==ERROR: AddressSanitizer: heap-use-after-free on address 0x506000040bf0 at pc 0x739ebbb57c4d bp 0x739e107c8180 sp 0x739e107c8170 READ of size 8 at 0x506000040bf0 thread T10 (xtGL work queue) #0 0x739ebbb57c4c in WTF::RefPtr<WTF::ThreadSafeWeakPtrControlBlock, WTF::RawPtrTraits<WTF::ThreadSafeWeakPtrControlBlock>, WTF::ThreadSafeWeakPtrControlBlockRefDerefTraits>::operator bool() const /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/RefPtr.h:84 #1 0x739ecc42ef2f in WTF::ThreadSafeWeakPtr<WebCore::GLDisplay, WTF::NoTaggingTraits<WebCore::GLDisplay> >::get() const /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/ThreadSafeWeakPtr.h:431 #2 0x739ecc42d2cf in WebCore::GLContext::unmakeContextCurrent() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/egl/GLContext.cpp:427 #3 0x739ecc42e76f in WebCore::GLContext::ScopedGLContextCurrent::~ScopedGLContextCurrent() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/egl/GLContext.cpp:570 #4 0x739ecc41098f in WebCore::PlatformDisplay::angleSharingGLContext() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/angle/PlatformDisplayANGLE.cpp:106 #5 0x739ebfd03d41 in WebCore::GraphicsContextGLTextureMapperANGLE::platformInitializeContext() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp:320 #6 0x739ebfc47ce2 in WebCore::GraphicsContextGLANGLE::initialize() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp:192 #7 0x739ecc5daf4b in WebCore::GraphicsContextGLTextureMapperGBM::create(WebCore::GraphicsContextGLAttributes&&, WTF::RefPtr<WebCore::GraphicsLayerContentsDisplayDelegate, WTF::RawPtrTraits<WebCore::GraphicsLayerContentsDisplayDelegate>, WTF::DefaultRefDerefTraits<WebCore::GraphicsLayerContentsDisplayDelegate> >&&) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/gbm/GraphicsContextGLTextureMapperGBM.cpp:62 #8 0x739ebbbf0928 in WebKit::RemoteGraphicsContextGLGBM::platformWorkQueueInitialize(WebCore::GraphicsContextGLAttributes&&) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLGBM.cpp:58 #9 0x739ebbb04595 in WebKit::RemoteGraphicsContextGL::workQueueInitialize(WebCore::GraphicsContextGLAttributes&&) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.cpp:127 #10 0x739ebbb03f1c in operator() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.cpp:112 #11 0x739ebbb83267 in call /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:59 #12 0x739eb9a98896 in WTF::Function<void ()>::operator()() const /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:103 #13 0x739ebca96c86 in IPC::StreamConnectionWorkQueue::processStreams() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Platform/IPC/StreamConnectionWorkQueue.cpp:155 #14 0x739ebca964fc in operator() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Platform/IPC/StreamConnectionWorkQueue.cpp:120 #15 0x739ebcabaffd in call /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:59 #16 0x739e8764fb8a in WTF::Function<void ()>::operator()() const /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:103 #17 0x739e8b681667 in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) /home/lav/Escriptori/lastwebkit/WebKit/Source/WTF/wtf/Threading.cpp:260 #18 0x739e8b87a72f in wtfThreadEntryPoint /home/lav/Escriptori/lastwebkit/WebKit/Source/WTF/wtf/posix/ThreadingPOSIX.cpp:245 #19 0x739ede05ea41 in asan_thread_start ../../../../src/libsanitizer/asan/asan_interceptors.cpp:234 #20 0x739e7949caa3 in start_thread nptl/pthread_create.c:447 #21 0x739e79529c6b in clone3 ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 0x506000040bf0 is located 16 bytes inside of 64-byte region [0x506000040be0,0x506000040c20) freed by thread T0 here: #0 0x739ede0fc4d8 in free ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:52 #1 0x739e8b88ccef in bmalloc::SystemHeap::free(void*) /home/lav/Escriptori/lastwebkit/WebKit/Source/bmalloc/bmalloc/SystemHeap.cpp:191 #2 0x739e8b88d927 in pas_system_heap_free /home/lav/Escriptori/lastwebkit/WebKit/Source/bmalloc/bmalloc/SystemHeap.cpp:341 #3 0x739e8b91eb2f in pas_try_deallocate_not_small_exclusive_segregated /home/lav/Escriptori/lastwebkit/WebKit/Source/bmalloc/libpas/src/libpas/pas_deallocate.h:109 #4 0x739e8b948f1d in bmalloc_heap_config_specialized_try_deallocate_not_small_exclusive_segregated /home/lav/Escriptori/lastwebkit/WebKit/Source/bmalloc/libpas/src/libpas/bmalloc_heap_config.c:43 #5 0x739e8b39331e in pas_try_deallocate_impl /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/bmalloc/Headers/bmalloc/pas_deallocate.h:176 #6 0x739e8b393518 in pas_try_deallocate /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/bmalloc/Headers/bmalloc/pas_deallocate.h:217 #7 0x739e8b393685 in pas_deallocate /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/bmalloc/Headers/bmalloc/pas_deallocate.h:223 #8 0x739e8b39e260 in bmalloc_deallocate_inline /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/bmalloc/Headers/bmalloc/bmalloc_heap_inlines.h:406 #9 0x739e8b39f143 in bmalloc::api::free(void*, bmalloc::HeapKind) /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/bmalloc/Headers/bmalloc/bmalloc.h:222 #10 0x739e8b39f143 in WTF::fastFree(void*) /home/lav/Escriptori/lastwebkit/WebKit/Source/WTF/wtf/FastMalloc.cpp:596 #11 0x739ebf55892e in WebCore::GLContext::operator delete(void*) /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WebCore/PrivateHeaders/WebCore/GLContext.h:58 #12 0x739ebf58c1f9 in std::default_delete<WebCore::GLContext>::operator()(WebCore::GLContext*) const /usr/include/c++/13/bits/unique_ptr.h:99 #13 0x739ebf58ca45 in std::__uniq_ptr_impl<WebCore::GLContext, std::default_delete<WebCore::GLContext> >::reset(WebCore::GLContext*) /usr/include/c++/13/bits/unique_ptr.h:211 #14 0x739ebf58d1de in std::unique_ptr<WebCore::GLContext, std::default_delete<WebCore::GLContext> >::reset(WebCore::GLContext*) /usr/include/c++/13/bits/unique_ptr.h:509 #15 0x739ebf57e63a in std::unique_ptr<WebCore::GLContext, std::default_delete<WebCore::GLContext> >::operator=(decltype(nullptr)) /usr/include/c++/13/bits/unique_ptr.h:442 #16 0x739ecc3e55d9 in WebCore::PlatformDisplay::clearGLContexts() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/PlatformDisplay.cpp:135 #17 0x739ecc3e569e in WebCore::PlatformDisplay::terminateEGLDisplay() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/PlatformDisplay.cpp:159 #18 0x739ecc3e4e5c in operator() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/PlatformDisplay.cpp:107 #19 0x739ecc3e4e86 in _FUN /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/PlatformDisplay.cpp:109 #20 0x739e79447a75 in __run_exit_handlers stdlib/exit.c:108 #21 0x739e79447bbd in __GI_exit stdlib/exit.c:138 #22 0x739e7942a1d0 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:74 #23 0x739e7942a28a in __libc_start_main_impl ../csu/libc-start.c:360 #24 0x64dac2727204 in _start (/home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/bin/WebKitGPUProcess+0x6204) (BuildId: bdd3f0a83e4bbbaac9486be93cc3e742845dc1a3) previously allocated by thread T10 (xtGL work queue) here: #0 0x739ede0fd9c7 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x739e8b88cb60 in bmalloc::SystemHeap::malloc(unsigned long, bmalloc::FailureAction) /home/lav/Escriptori/lastwebkit/WebKit/Source/bmalloc/bmalloc/SystemHeap.cpp:170 #2 0x739e8b88d4ca in pas_system_heap_malloc /home/lav/Escriptori/lastwebkit/WebKit/Source/bmalloc/bmalloc/SystemHeap.cpp:296 #3 0x739e8b8e71c4 in pas_system_heap_allocate /home/lav/Escriptori/lastwebkit/WebKit/Source/bmalloc/libpas/src/libpas/pas_system_heap.h:145 #4 0x739e8b8eb08c in pas_try_allocate_intrinsic_impl_casual_case /home/lav/Escriptori/lastwebkit/WebKit/Source/bmalloc/libpas/src/libpas/pas_try_allocate_intrinsic.h:116 #5 0x739e8b8f348e in bmalloc_allocate_impl_casual_case /home/lav/Escriptori/lastwebkit/WebKit/Source/bmalloc/libpas/src/libpas/bmalloc_heap_inlines.h:245 #6 0x739e8b8fb2c8 in bmalloc_allocate_casual /home/lav/Escriptori/lastwebkit/WebKit/Source/bmalloc/libpas/src/libpas/bmalloc_heap.c:73 #7 0x739e8b39dfd5 in bmalloc_allocate_inline /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/bmalloc/Headers/bmalloc/bmalloc_heap_inlines.h:321 #8 0x739e8b39e49b in bmalloc::api::malloc(unsigned long, bmalloc::CompactAllocationMode, bmalloc::HeapKind) /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/bmalloc/Headers/bmalloc/bmalloc.h:81 #9 0x739e8b39e49b in WTF::fastMalloc(unsigned long) /home/lav/Escriptori/lastwebkit/WebKit/Source/WTF/wtf/FastMalloc.cpp:538 #10 0x739ecc428992 in WebCore::GLContext::operator new(unsigned long) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/egl/GLContext.h:58 #11 0x739ecc42ecc2 in std::__detail::_MakeUniq<WebCore::GLContext>::__single_object std::make_unique<WebCore::GLContext, WebCore::GLDisplay&, void*&, void*, void*&>(WebCore::GLDisplay&, void*&, void*&&, void*&) /usr/include/c++/13/bits/unique_ptr.h:1070 #12 0x739ecc42a9fd in decltype(auto) WTF::makeUnique<WebCore::GLContext, WebCore::GLDisplay&, void*&, void*, void*&>(WebCore::GLDisplay&, void*&, void*&&, void*&) /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/StdLibExtras.h:869 #13 0x739ecc42af74 in WebCore::GLContext::createSurfacelessContext(WebCore::GLDisplay&, WebCore::GLContext::Target, void*) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/egl/GLContext.cpp:203 #14 0x739ecc42b700 in WebCore::GLContext::createOffscreenContext(WebCore::GLDisplay&, WebCore::GLContext::Target, void*) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/egl/GLContext.cpp:234 #15 0x739ecc42bea6 in WebCore::GLContext::create(WebCore::GLDisplay&, WebCore::GLContext::Target, WebCore::GLContext*, unsigned long) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/egl/GLContext.cpp:273 #16 0x739ecc42c266 in WebCore::GLContext::createSharing(WebCore::PlatformDisplay&) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/egl/GLContext.cpp:310 #17 0x739ecc3e54ed in WebCore::PlatformDisplay::sharingGLContext() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/PlatformDisplay.cpp:123 #18 0x739ecc4101ef in WebCore::PlatformDisplay::angleSharingGLContext() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/angle/PlatformDisplayANGLE.cpp:76 #19 0x739ebfd03d41 in WebCore::GraphicsContextGLTextureMapperANGLE::platformInitializeContext() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp:320 #20 0x739ebfc47ce2 in WebCore::GraphicsContextGLANGLE::initialize() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp:192 #21 0x739ecc5daf4b in WebCore::GraphicsContextGLTextureMapperGBM::create(WebCore::GraphicsContextGLAttributes&&, WTF::RefPtr<WebCore::GraphicsLayerContentsDisplayDelegate, WTF::RawPtrTraits<WebCore::GraphicsLayerContentsDisplayDelegate>, WTF::DefaultRefDerefTraits<WebCore::GraphicsLayerContentsDisplayDelegate> >&&) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebCore/platform/graphics/gbm/GraphicsContextGLTextureMapperGBM.cpp:62 #22 0x739ebbbf0928 in WebKit::RemoteGraphicsContextGLGBM::platformWorkQueueInitialize(WebCore::GraphicsContextGLAttributes&&) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLGBM.cpp:58 #23 0x739ebbb04595 in WebKit::RemoteGraphicsContextGL::workQueueInitialize(WebCore::GraphicsContextGLAttributes&&) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.cpp:127 #24 0x739ebbb03f1c in operator() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.cpp:112 #25 0x739ebbb83267 in call /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:59 #26 0x739eb9a98896 in WTF::Function<void ()>::operator()() const /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:103 #27 0x739ebca96c86 in IPC::StreamConnectionWorkQueue::processStreams() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Platform/IPC/StreamConnectionWorkQueue.cpp:155 #28 0x739ebca964fc in operator() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Platform/IPC/StreamConnectionWorkQueue.cpp:120 #29 0x739ebcabaffd in call /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:59 #30 0x739e8764fb8a in WTF::Function<void ()>::operator()() const /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:103 Thread T10 (xtGL work queue) created by T0 here: #0 0x739ede0f51f9 in pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cpp:245 #1 0x739e8b87aa4d in WTF::Thread::establishHandle(WTF::Thread::NewThreadContext&, std::optional<unsigned long>, WTF::Thread::QOS, WTF::Thread::SchedulingPolicy) /home/lav/Escriptori/lastwebkit/WebKit/Source/WTF/wtf/posix/ThreadingPOSIX.cpp:319 #2 0x739e8b6819d5 in WTF::Thread::create(WTF::ASCIILiteral, WTF::Function<void ()>&&, WTF::ThreadType, WTF::Thread::QOS, WTF::Thread::SchedulingPolicy) /home/lav/Escriptori/lastwebkit/WebKit/Source/WTF/wtf/Threading.cpp:273 #3 0x739ebca9688c in IPC::StreamConnectionWorkQueue::startProcessingThread() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Platform/IPC/StreamConnectionWorkQueue.cpp:136 #4 0x739ebca95a79 in IPC::StreamConnectionWorkQueue::dispatch(WTF::Function<void ()>&&) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Platform/IPC/StreamConnectionWorkQueue.cpp:58 #5 0x739ebbb0414a in WebKit::RemoteGraphicsContextGL::initialize(WebCore::GraphicsContextGLAttributes&&) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.cpp:111 #6 0x739ebbbf131b in WebKit::RemoteGraphicsContextGL::create(WebKit::GPUConnectionToWebProcess&, WebCore::GraphicsContextGLAttributes&&, WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebKit::RemoteRenderingBackend&, WTF::Ref<IPC::StreamServerConnection, WTF::RawPtrTraits<IPC::StreamServerConnection>, WTF::DefaultRefDerefTraits<IPC::StreamServerConnection> >&&) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLGBM.cpp:84 #7 0x739ebba82b9e in operator() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/GPUProcess/GPUConnectionToWebProcess.cpp:787 #8 0x739ebbac84f7 in translate<const WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<long unsigned int>, long unsigned int>&, WTF::KeyValuePair<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<long unsigned int>, long unsigned int>, IPC::ScopedActiveMessageReceiveQueue<WebKit::RemoteGraphicsContextGL> >, WebKit::GPUConnectionToWebProcess::createGraphicsContextGL(WebKit::RemoteGraphicsContextGLIdentifier, WebCore::GraphicsContextGLAttributes, WebKit::RemoteRenderingBackendIdentifier, IPC::StreamServerConnection::Handle&&)::<lambda()> > /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/HashMap.h:283 #9 0x739ebbab8808 in add<WTF::HashMapEnsureTranslator<WTF::HashMap<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<long unsigned int>, long unsigned int>, IPC::ScopedActiveMessageReceiveQueue<WebKit::RemoteGraphicsContextGL> >::KeyValuePairTraits, WTF::DefaultHash<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<long unsigned int>, long unsigned int> > >, (WTF::ShouldValidateKey)1, const WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<long unsigned int>, long unsigned int>&, WebKit::GPUConnectionToWebProcess::createGraphicsContextGL(WebKit::RemoteGraphicsContextGLIdentifier, WebCore::GraphicsContextGLAttributes, WebKit::RemoteRenderingBackendIdentifier, IPC::StreamServerConnection::Handle&&)::<lambda()> > /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/HashTable.h:935 #10 0x739ebbaa5c98 in inlineEnsure<const WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<long unsigned int>, long unsigned int>&, WebKit::GPUConnectionToWebProcess::createGraphicsContextGL(WebKit::RemoteGraphicsContextGLIdentifier, WebCore::GraphicsContextGLAttributes, WebKit::RemoteRenderingBackendIdentifier, IPC::StreamServerConnection::Handle&&)::<lambda()> > /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/HashMap.h:456 #11 0x739ebba96448 in ensure<WebKit::GPUConnectionToWebProcess::createGraphicsContextGL(WebKit::RemoteGraphicsContextGLIdentifier, WebCore::GraphicsContextGLAttributes, WebKit::RemoteRenderingBackendIdentifier, IPC::StreamServerConnection::Handle&&)::<lambda()> > /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/HashMap.h:518 #12 0x739ebba8373b in WebKit::GPUConnectionToWebProcess::createGraphicsContextGL(WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/GPUProcess/GPUConnectionToWebProcess.cpp:788 #13 0x739eb9d041c6 in auto IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle> >(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>&&)::{lambda((auto:1&&)...)#1}::operator()<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>(WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>&&, WebCore::GraphicsContextGLAttributes&&, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>&&, IPC::StreamServerConnectionHandle&&) const /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Platform/IPC/HandleMessage.h:138 #14 0x739eb9d11cb3 in void std::__invoke_impl<void, IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle> >(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>&&)::{lambda((auto:1&&)...)#1}, WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>(std::__invoke_other, IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle> >(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>&&)::{lambda((auto:1&&)...)#1}&&, WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>&&, WebCore::GraphicsContextGLAttributes&&, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>&&, IPC::StreamServerConnectionHandle&&) /usr/include/c++/13/bits/invoke.h:61 #15 0x739eb9d0a556 in std::__invoke_result<IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle> >(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>&&)::{lambda((auto:1&&)...)#1}, WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>::type std::__invoke<IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle> >(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>&&)::{lambda((auto:1&&)...)#1}, WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>(IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle> >(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>&&)::{lambda((auto:1&&)...)#1}&&, WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>&&, WebCore::GraphicsContextGLAttributes&&, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>&&, IPC::StreamServerConnectionHandle&&) /usr/include/c++/13/bits/invoke.h:96 #16 0x739eb9d0426d in decltype(auto) std::__apply_impl<IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle> >(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>&&)::{lambda((auto:1&&)...)#1}, std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>, 0ul, 1ul, 2ul, 3ul>(IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle> >(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>&&)::{lambda((auto:1&&)...)#1}&&, std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>&&, std::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>) /usr/include/c++/13/tuple:2302 #17 0x739eb9d042b6 in decltype(auto) std::apply<IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle> >(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>&&)::{lambda((auto:1&&)...)#1}, std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle> >(IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle> >(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>&&)::{lambda((auto:1&&)...)#1}&&, std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>&&) /usr/include/c++/13/tuple:2313 #18 0x739eb9d0442b in void IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle> >(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&), std::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle>&&) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Platform/IPC/HandleMessage.h:135 #19 0x739eb9d00358 in void IPC::handleMessage<Messages::GPUConnectionToWebProcess::CreateGraphicsContextGL, IPC::Connection, WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&)>(IPC::Connection&, IPC::Decoder&, WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteGraphicsContextGLIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, WebCore::GraphicsContextGLAttributes, WTF::ObjectIdentifierGeneric<WebKit::RemoteRenderingBackendIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits<unsigned long>, unsigned long>, IPC::StreamServerConnectionHandle&&)) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Platform/IPC/HandleMessage.h:455 #20 0x739eb9cfd9ee in WebKit::GPUConnectionToWebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/DerivedSources/WebKit/GPUConnectionToWebProcessMessageReceiver.cpp:99 #21 0x739ebca03d1f in IPC::Connection::dispatchMessage(IPC::Decoder&) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Platform/IPC/Connection.cpp:1410 #22 0x739ebca0436a in IPC::Connection::dispatchMessage(WTF::UniqueRef<IPC::Decoder>) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Platform/IPC/Connection.cpp:1468 #23 0x739ebc9f28ea in IPC::Connection::SyncMessageState::ConnectionAndIncomingMessage::dispatch() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Platform/IPC/Connection.cpp:140 #24 0x739ebc9f5519 in IPC::Connection::SyncMessageState::dispatchMessagesAndResetDidScheduleDispatchMessagesForConnection(IPC::Connection&) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Platform/IPC/Connection.cpp:295 #25 0x739ebca053eb in IPC::Connection::dispatchSyncStateMessages() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Platform/IPC/Connection.cpp:1549 #26 0x739ebc9f38c7 in operator() /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Platform/IPC/Connection.cpp:219 #27 0x739ebca627c5 in call /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:59 #28 0x739e8764fb8a in WTF::Function<void ()>::operator()() const /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:103 #29 0x739e8b4957f5 in WTF::RunLoop::performWork() /home/lav/Escriptori/lastwebkit/WebKit/Source/WTF/wtf/RunLoop.cpp:145 #30 0x739e8b850143 in operator() /home/lav/Escriptori/lastwebkit/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:152 #31 0x739e8b85016b in _FUN /home/lav/Escriptori/lastwebkit/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:154 #32 0x739e8b84fd91 in operator() /home/lav/Escriptori/lastwebkit/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:115 #33 0x739e8b84fe76 in _FUN /home/lav/Escriptori/lastwebkit/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:118 #34 0x739e8e56d40d (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x5d40d) (BuildId: 94bfd21331c311d3199726de93a2656d07c22b33) #35 0x739e8e56d67f in g_main_context_dispatch (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x5d67f) (BuildId: 94bfd21331c311d3199726de93a2656d07c22b33) #36 0x739e8b851074 in WTF::RunLoop::runGLibMainLoopIteration(WTF::RunLoop::MayBlock) /home/lav/Escriptori/lastwebkit/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:190 #37 0x739e8b851139 in WTF::RunLoop::runGLibMainLoop() /home/lav/Escriptori/lastwebkit/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:199 #38 0x739e8b8512a7 in WTF::RunLoop::run() /home/lav/Escriptori/lastwebkit/WebKit/Source/WTF/wtf/glib/RunLoopGLib.cpp:212 #39 0x739ebbb510a8 in WebKit::AuxiliaryProcessMainBase<WebKit::GPUProcess, true>::run(int, char**) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Shared/AuxiliaryProcessMain.h:77 #40 0x739ebbb3ad5d in int WebKit::AuxiliaryProcessMain<WebKit::GPUProcessMainGLib>(int, char**) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/Shared/AuxiliaryProcessMain.h:103 #41 0x739ebbaf467e in WebKit::GPUProcessMain(int, char**) /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/GPUProcess/glib/GPUProcessMainGLib.cpp:56 #42 0x64dac27272ec in main /home/lav/Escriptori/lastwebkit/WebKit/Source/WebKit/GPUProcess/EntryPoint/unix/GPUProcessMain.cpp:31 #43 0x739e7942a1c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #44 0x739e7942a28a in __libc_start_main_impl ../csu/libc-start.c:360 #45 0x64dac2727204 in _start (/home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/bin/WebKitGPUProcess+0x6204) (BuildId: bdd3f0a83e4bbbaac9486be93cc3e742845dc1a3) SUMMARY: AddressSanitizer: heap-use-after-free /home/lav/Escriptori/lastwebkit/WebKit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/RefPtr.h:84 in WTF::RefPtr<WTF::ThreadSafeWeakPtrControlBlock, WTF::RawPtrTraits<WTF::ThreadSafeWeakPtrControlBlock>, WTF::ThreadSafeWeakPtrControlBlockRefDerefTraits>::operator bool() const Shadow bytes around the buggy address: 0x506000040900: 00 00 00 00 fa fa fa fa fd fd fd fd fd fd fd fd 0x506000040980: fa fa fa fa fd fd fd fd fd fd fd fd fa fa fa fa 0x506000040a00: 00 00 00 00 00 00 04 fc fa fa fa fa fd fd fd fd 0x506000040a80: fd fd fd fa fa fa fa fa 00 00 00 00 00 00 00 00 0x506000040b00: fa fa fa fa 00 00 00 00 00 00 00 00 fa fa fa fa =>0x506000040b80: 00 00 00 00 00 00 00 00 fa fa fa fa fd fd[fd]fd 0x506000040c00: fd fd fd fd fa fa fa fa fd fd fd fd fd fd fd fd 0x506000040c80: fa fa fa fa fd fd fd fd fd fd fd fd fa fa fa fa 0x506000040d00: fd fd fd fd fd fd fd fa fa fa fa fa fd fd fd fd 0x506000040d80: fd fd fd fa fa fa fa fa 00 00 00 00 00 00 00 00 0x506000040e00: fa fa fa fa 00 00 00 00 00 00 00 00 fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==3072339==ABORTING
Attachments
test case for the bug
(1.91 MB, text/html)
2026-01-20 23:41 PST
,
Narcis Oliveras Fontàs
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-01-20 23:41:55 PST
<
rdar://problem/168564545
>
Michael Catanzaro
Comment 2
2026-09-22 14:45:01 PDT
Two possible solutions here: * Easy solution: use NeverDestroyed to leak the singleton instance of the PlatformDisplay, so it can remain a singleton. Destroying singletons is already prohibited in cross-platform code, and this is why. We should stop doing so in the Linux-specific code as well. * Harder solution: convert PlatformDisplay to no longer be a singleton. It would have to be owned in one place per process. But PlatformDisplay is used all over the place, so this might be hard.
Bug #315577
has fundamentally the same problem and possible solutions.
Nikolas Zimmermann
Comment 3
2026-09-23 14:38:45 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/74728
EWS
Comment 4
2026-09-24 03:31:28 PDT
Committed
321775@main
(e0b1fddaa468): <
https://commits.webkit.org/321775@main
> Reviewed commits have been landed. Closing PR #74728 and removing active labels.
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