RESOLVED FIXED 237819
[WinCairo][WebGL] Crash in WebKit::WCContentBuffer::platformLayerWillBeDestroyed()
https://bugs.webkit.org/show_bug.cgi?id=237819
Summary [WinCairo][WebGL] Crash in WebKit::WCContentBuffer::platformLayerWillBeDestro...
Fujii Hironori
Reported 2022-03-13 22:22:31 PDT
1. Start WinCairo WK2 MiniBrowser 2. Go to https://webglsamples.org/lots-o-objects/lots-o-objects-draw-elements.html 3. Toggle the "alpha" switch sevaral times 4. Crash Callstack: > 0000026ae91a24c0() Unknown > WebKit2.dll!WebKit::WCContentBuffer::platformLayerWillBeDestroyed() Line 78 C++ > WebKit2.dll!WebCore::TextureMapperGCGLPlatformLayer::~TextureMapperGCGLPlatformLayer() Line 44 C++ > [External Code] > WebKit2.dll!WebCore::GraphicsContextGLANGLE::~GraphicsContextGLANGLE() Line 342 C++ > WebKit2.dll!WebCore::GraphicsContextGLTextureMapper::~GraphicsContextGLTextureMapper() Line 83 C++ > [External Code] > WebKit2.dll!WTF::RefCounted<WebCore::GraphicsContextGL,std::default_delete<WebCore::GraphicsContextGL>>::deref() Line 191 C++ > WebKit2.dll!WTF::DefaultRefDerefTraits<WebCore::GraphicsContextGLTextureMapper>::derefIfNotNull(WebCore::GraphicsContextGLTextureMapper * ptr) Line 43 C++ > WebKit2.dll!WTF::RefPtr<WebCore::GraphicsContextGLTextureMapper,WTF::RawPtrTraits<WebCore::GraphicsContextGLTextureMapper>,WTF::DefaultRefDerefTraits<WebCore::GraphicsContextGLTextureMapper>>::operator=(void * __formal) Line 161 C++ > WebKit2.dll!WebKit::RemoteGraphicsContextGL::workQueueUninitialize() Line 133 C++ > WebKit2.dll!`WebKit::RemoteGraphicsContextGL::stopListeningForIPC'::`2'::<lambda_1>::operator()() Line 101 C++ > WebKit2.dll!WTF::Detail::CallableWrapper<`WebKit::RemoteGraphicsContextGL::stopListeningForIPC'::`2'::<lambda_1>,void>::call() Line 53 C++ > WebKit2.dll!WTF::Function<void __cdecl(void)>::operator()() Line 83 C++ > WebKit2.dll!IPC::StreamConnectionWorkQueue::processStreams() Line 131 C++ > WebKit2.dll!`IPC::StreamConnectionWorkQueue::startProcessingThread'::`2'::<lambda_1>::operator()() Line 108 C++ > WebKit2.dll!WTF::Detail::CallableWrapper<`IPC::StreamConnectionWorkQueue::startProcessingThread'::`2'::<lambda_1>,void>::call() Line 53 C++ > WTF.dll!WTF::Function<void __cdecl(void)>::operator()() Line 83 C++ > WTF.dll!WTF::Thread::entryPoint(WTF::Thread::NewThreadContext * newThreadContext) Line 236 C++ > WTF.dll!WTF::wtfThreadEntryPoint(void * data) Line 151 C++ > [External Code]
Attachments
crash log (67.72 KB, text/plain)
2022-03-15 18:20 PDT, Fujii Hironori
no flags
Patch (3.24 KB, patch)
2022-03-15 22:16 PDT, Fujii Hironori
no flags
Fujii Hironori
Comment 1 2022-03-15 18:20:56 PDT
Created attachment 454782 [details] crash log WinCairo WTR is randomly crashing for webgl tests.
Fujii Hironori
Comment 2 2022-03-15 22:16:23 PDT
EWS
Comment 3 2022-03-16 13:46:54 PDT
Committed r291362 (248494@main): <https://commits.webkit.org/248494@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 454799 [details].
Radar WebKit Bug Importer
Comment 4 2022-03-16 13:47:17 PDT
Note You need to log in before you can comment on or make changes to this bug.