Bug 237819 - [WinCairo][WebGL] Crash in WebKit::WCContentBuffer::platformLayerWillBeDestroyed()
Summary: [WinCairo][WebGL] Crash in WebKit::WCContentBuffer::platformLayerWillBeDestro...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Fujii Hironori
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-03-13 22:22 PDT by Fujii Hironori
Modified: 2022-03-16 13:47 PDT (History)
2 users (show)

See Also:


Attachments
crash log (67.72 KB, text/plain)
2022-03-15 18:20 PDT, Fujii Hironori
no flags Details
Patch (3.24 KB, patch)
2022-03-15 22:16 PDT, Fujii Hironori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 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]
Comment 1 Fujii Hironori 2022-03-15 18:20:56 PDT
Created attachment 454782 [details]
crash log

WinCairo WTR is randomly crashing for webgl tests.
Comment 2 Fujii Hironori 2022-03-15 22:16:23 PDT
Created attachment 454799 [details]
Patch
Comment 3 EWS 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].
Comment 4 Radar WebKit Bug Importer 2022-03-16 13:47:17 PDT
<rdar://problem/90390105>