WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
224184
[CoordinatedGraphics] ASSERTION FAILED: m_compositorThread == &Thread::current()
https://bugs.webkit.org/show_bug.cgi?id=224184
Summary
[CoordinatedGraphics] ASSERTION FAILED: m_compositorThread == &Thread::current()
Alicia Boya García
Reported
2021-04-05 07:48:45 PDT
Created
attachment 425150
[details]
Backtrace I hit this crash in the GTK minibrowser when going back from results.webkit.org/ to the LayoutTests results page. It's hard to reproduce. ASSERTION FAILED: m_compositorThread == &Thread::current() ../../Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxy.cpp(65) : void WebCore::TextureMapperPlatformLayerProxy::activateOnCompositingThread(WebCore::TextureMapperPlatformLayerProxy::Compositor*, WebCore::TextureMapperLayer*) Thread 1 (Thread 0x7f3dc2d87700 (LWP 30763)): #0 WTFCrash() () at ../../Source/WTF/wtf/Assertions.cpp:305 #1 0x00007f3e52881ba1 in CRASH_WITH_INFO(...) () at WTF/Headers/wtf/Assertions.h:718 #2 0x00007f3e53e9a2bb in WebCore::TextureMapperPlatformLayerProxy::activateOnCompositingThread(WebCore::TextureMapperPlatformLayerProxy::Compositor*, WebCore::TextureMapperLayer*) (this=0x7f3de92ca750, compositor=0x7f3deb47d000, targetLayer=0x7f3e03e8d800) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxy.cpp:65 #3 0x00007f3e5332d07c in WebKit::CoordinatedGraphicsScene::updateSceneState() (this=0x7f3deb47d000) at ../../Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:386 #4 0x00007f3e5332b621 in WebKit::CoordinatedGraphicsScene::paintToCurrentGLContext(WebCore::TransformationMatrix const&, WebCore::FloatRect const&, unsigned int) (this=0x7f3deb47d000, matrix=..., clipRect=..., PaintFlags=0) at ../../Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:65 #5 0x00007f3e5332fa8b in WebKit::ThreadedCompositor::renderLayerTree() (this=0x7f3de9287880) at ../../Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:234 #6 0x00007f3e5332eac9 in operator()() const (__closure=0x7f3de94ef6a8) at ../../Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:58 #7 0x00007f3e53336d38 in WTF::Detail::CallableWrapper<WebKit::ThreadedCompositor::ThreadedCompositor(WebKit::ThreadedCompositor::Client&, WebKit::ThreadedDisplayRefreshMonitor::Client&, WebCore::PlatformDisplayID, const WebCore::IntSize&, float, WebCore::TextureMapper::PaintFlags)::<lambda()>, void>::call(void) (this=0x7f3de94ef6a0) at WTF/Headers/wtf/Function.h:52 #8 0x00007f3e5288514b in WTF::Function<void ()>::operator()() const (this=0x7f3de9234588) at WTF/Headers/wtf/Function.h:83 #9 0x00007f3e5332e9f9 in WebKit::CompositingRunLoop::updateTimerFired() (this=0x7f3de9234550) at ../../Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp:188 #10 0x00007f3e5334ec09 in std::__invoke_impl<void, void (WebKit::CompositingRunLoop::*&)(), WebKit::CompositingRunLoop*&>(std::__invoke_memfun_deref, void (WebKit::CompositingRunLoop::*&)(), WebKit::CompositingRunLoop*&) (__f=@0x7f3ce477d828: (void (WebKit::CompositingRunLoop::*)(class WebKit::CompositingRunLoop * const)) 0x7f3e5332e982 <WebKit::CompositingRunLoop::updateTimerFired()>, __t=@0x7f3ce477d838: 0x7f3de9234550) at /usr/include/c++/10.2.0/bits/invoke.h:73 #11 0x00007f3e5334eaff in std::__invoke<void (WebKit::CompositingRunLoop::*&)(), WebKit::CompositingRunLoop*&>(void (WebKit::CompositingRunLoop::*&)(), WebKit::CompositingRunLoop*&) (__fn=@0x7f3ce477d828: (void (WebKit::CompositingRunLoop::*)(class WebKit::CompositingRunLoop * const)) 0x7f3e5332e982 <WebKit::CompositingRunLoop::updateTimerFired()>) at /usr/include/c++/10.2.0/bits/invoke.h:95 #12 0x00007f3e5334e9fb in std::_Bind<void (WebKit::CompositingRunLoop::*(WebKit::CompositingRunLoop*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x7f3ce477d828, __args=...) at /usr/include/c++/10.2.0/functional:416 #13 0x00007f3e5334e91f in std::_Bind<void (WebKit::CompositingRunLoop::*(WebKit::CompositingRunLoop*))()>::operator()<, void>() (this=0x7f3ce477d828) at /usr/include/c++/10.2.0/functional:499 #14 0x00007f3e5334e85e in WTF::Detail::CallableWrapper<std::_Bind<void (WebKit::CompositingRunLoop::*(WebKit::CompositingRunLoop*))()>, void>::call() (this=0x7f3ce477d820) at WTF/Headers/wtf/Function.h:52 #15 0x00007f3e5288514b in WTF::Function<void ()>::operator()() const (this=0x7f3de9234580) at WTF/Headers/wtf/Function.h:83 #16 0x00007f3e5334e89e in WTF::RunLoop::Timer<WebKit::CompositingRunLoop>::fired() (this=0x7f3de9234558) at WTF/Headers/wtf/RunLoop.h:187 #17 0x00007f3e4f306489 in operator()(gpointer) const (__closure=0x0, userData=0x7f3de9234558) at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:177 #18 0x00007f3e4f3064c9 in _FUN(gpointer) () at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:181 #19 0x00007f3e4f305ae1 in operator()(GSource*, GSourceFunc, gpointer) const (__closure=0x0, source=0x55ebf7f54570, callback=0x7f3e4f3064ac <_FUN(gpointer)>, userData=0x7f3de9234558) at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:53 #20 0x00007f3e4f305b2f in _FUN(GSource*, GSourceFunc, gpointer) () at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:56 #21 0x00007f3e4b228dbf in g_main_dispatch (context=0x7f3d14001040) at ../glib/gmain.c:3337 #22 g_main_context_dispatch (context=0x7f3d14001040) at ../glib/gmain.c:4055 #23 0x00007f3e4b229168 in g_main_context_iterate (context=0x7f3d14001040, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131 #24 0x00007f3e4b229483 in g_main_loop_run (loop=0x7f3d14000ec0) at ../glib/gmain.c:4329 #25 0x00007f3e4f3060ec in WTF::RunLoop::run() () at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:108 #26 0x00007f3e5332e123 in operator()() const (__closure=0x7f3de9497ae8) at ../../Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp:49 #27 0x00007f3e53336e38 in WTF::Detail::CallableWrapper<WebKit::createRunLoop()::<lambda()>, void>::call(void) (this=0x7f3de9497ae0) at WTF/Headers/wtf/Function.h:52 #28 0x00007f3e4e2d91f7 in WTF::Function<void ()>::operator()() const (this=0x7f3dc2d86c30) at WTF/Headers/wtf/Function.h:83 #29 0x00007f3e4f269bd5 in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) (newThreadContext=0x7f3de92345a0) at ../../Source/WTF/wtf/Threading.cpp:181 #30 0x00007f3e4f3110df in WTF::wtfThreadEntryPoint(void*) (context=0x7f3de92345a0) at ../../Source/WTF/wtf/posix/ThreadingPOSIX.cpp:241 #31 0x00007f3e4b1b74d2 in start_thread (arg=<optimized out>) at pthread_create.c:477 #32 0x00007f3e4aca5323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Attachments
Backtrace
(80.06 KB, text/plain)
2021-04-05 07:48 PDT
,
Alicia Boya García
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
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