RESOLVED DUPLICATE of bug 242575245125
[WPE][Debug] hits assert when loading in page in Cog
https://bugs.webkit.org/show_bug.cgi?id=245125
Summary [WPE][Debug] hits assert when loading in page in Cog
Philippe Normand
Reported 2022-09-13 01:41:11 PDT
ASSERTION FAILED: !RunLoop::isMain() /app/webkit/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp(315) : void WebKit::ThreadedCompositor::targetRefreshRateDidChange(unsigned int) [Current thread is 1 (Thread 0x7f58564af140 (LWP 12922))] (gdb) bt #0 WTFCrash() () at /app/webkit/Source/WTF/wtf/Assertions.cpp:328 #1 0x00007f5864e29866 in WTFCrashWithInfo(int, char const*, char const*, int) () at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/Assertions.h:754 #2 0x00007f5865ba8ff5 in WebKit::ThreadedCompositor::targetRefreshRateDidChange(unsigned int) (this=0x7f584c121500, rate=60000) at /app/webkit/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:315 #3 0x00007f58664fc4f1 in WebKit::LayerTreeHost::targetRefreshRateDidChange(unsigned int) (this=0x7f584c159300, rate=60000) at /app/webkit/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp:254 #4 0x00007f58664f9f83 in WebKit::DrawingAreaCoordinatedGraphics::targetRefreshRateDidChange(unsigned int) (this=0x7f584c108110, rate=60000) at /app/webkit/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:469 #5 0x00007f586546c237 in IPC::callMemberFunctionImpl<WebKit::DrawingArea, void (WebKit::DrawingArea::*)(unsigned int), std::tuple<unsigned int>, 0ul>(WebKit::DrawingArea*, void (WebKit::DrawingArea::*)(unsigned int), std::tuple<unsigned int>&&, std::integer_sequence<unsigned long, 0ul>) (object=0x7f584c108110, function=&virtual table offset 288, args=...) at /app/webkit/Source/WebKit/Platform/IPC/HandleMessage.h:131 #6 0x00007f586546bc80 in IPC::callMemberFunction<WebKit::DrawingArea, void (WebKit::DrawingArea::*)(unsigned int), std::tuple<unsigned int>, std::integer_sequence<unsigned long, 0ul> >(std::tuple<unsigned int>&&, WebKit::DrawingArea*, void (WebKit::DrawingArea::*)(unsigned int)) (args=..., object=0x7f584c108110, function=&virtual table offset 288) at /app/webkit/Source/WebKit/Platform/IPC/HandleMessage.h:137 #7 0x00007f586546b9f5 in IPC::handleMessage<Messages::DrawingArea::TargetRefreshRateDidChange, WebKit::DrawingArea, void (WebKit::DrawingArea::*)(unsigned int)>(IPC::Connection&, IPC::Decoder&, WebKit::DrawingArea*, void (WebKit::DrawingArea::*)(unsigned int)) (connection=..., decoder=..., object=0x7f584c108110, function=&virtual table offset 288) at /app/webkit/Source/WebKit/Platform/IPC/HandleMessage.h:259 #8 0x00007f586546b59a in WebKit::DrawingArea::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (this=0x7f584c108110, connection=..., decoder=...) at /app/webkit/WebKitBuild/Debug/DerivedSources/WebKit/DrawingAreaMessageReceiver.cpp:82 #9 0x00007f5865a9afec in IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) (this=0x7f584c0307f8, connection=..., decoder=...) at /app/webkit/Source/WebKit/Platform/IPC/MessageReceiverMap.cpp:129 #10 0x00007f58661a7681 in WebKit::WebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (this=0x7f584c0307c0, connection=..., decoder=...) at /app/webkit/Source/WebKit/WebProcess/WebProcess.cpp:915 #11 0x00007f5865a72c04 in IPC::Connection::dispatchMessage(IPC::Decoder&) (this=0x7f584c0581d0, decoder=...) at /app/webkit/Source/WebKit/Platform/IPC/Connection.cpp:1105 #12 0x00007f5865a72e9b in IPC::Connection::dispatchMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >) (this=0x7f584c0581d0, message=std::unique_ptr<IPC::Decoder> = {...}) at /app/webkit/Source/WebKit/Platform/IPC/Connection.cpp:1150 #13 0x00007f5865a73442 in IPC::Connection::dispatchOneIncomingMessage() (this=0x7f584c0581d0) at /app/webkit/Source/WebKit/Platform/IPC/Connection.cpp:1219 #14 0x00007f5865a728ba in operator()() (__closure=0x7f584c05c1c8) at /app/webkit/Source/WebKit/Platform/IPC/Connection.cpp:1068 #15 0x00007f5865a7a176 in WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::unique_ptr<IPC::Decoder>)::<lambda()>, void>::call(void) (this=0x7f584c05c1c0) at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/Function.h:53 #16 0x00007f5864ea8661 in WTF::Function<void ()>::operator()() const (this=0x7fff89c84a50) at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/Function.h:82 #17 0x00007f58685933af in WTF::RunLoop::performWork() (this=0x7f584c0140c0) at /app/webkit/Source/WTF/wtf/RunLoop.cpp:133 #18 0x00007f5868646800 in operator()(gpointer) const (__closure=0x0, userData=0x7f584c0140c0) at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:80 #19 0x00007f5868646824 in _FUN(gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:82 #20 0x00007f5868646793 in operator()(GSource*, GSourceFunc, gpointer) const (__closure=0x0, source=0x56053c992060, callback=0x7f5868646807 <_FUN(gpointer)>, userData=0x7f584c0140c0) at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:53 #21 0x00007f58686467e1 in _FUN(GSource*, GSourceFunc, gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:56 #22 0x00007f585b108294 in g_main_dispatch (context=0x56053c990eb0) at ../glib/gmain.c:3381 #23 g_main_context_dispatch (context=0x56053c990eb0) at ../glib/gmain.c:4099 #24 0x00007f585b108638 in g_main_context_iterate (context=0x56053c990eb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175 #25 0x00007f585b108943 in g_main_loop_run (loop=0x56053c96abd0) at ../glib/gmain.c:4373 #26 0x00007f5868646e4c in WTF::RunLoop::run() () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:108 #27 0x00007f58665242ff in WebKit::AuxiliaryProcessMainBase<WebKit::WebProcess, true>::run(int, char**) (this=0x7fff89c84d00, argc=3, argv=0x7fff89c84ea8) at /app/webkit/Source/WebKit/Shared/AuxiliaryProcessMain.h:71 #28 0x00007f586651f6d5 in WebKit::AuxiliaryProcessMain<WebKit::WebProcessMainWPE>(int, char**) (argc=3, argv=0x7fff89c84ea8) at /app/webkit/Source/WebKit/Shared/AuxiliaryProcessMain.h:97 #29 0x00007f58665123d9 in WebKit::WebProcessMain(int, char**) (argc=3, argv=0x7fff89c84ea8) at /app/webkit/Source/WebKit/WebProcess/wpe/WebProcessMainWPE.cpp:75 #30 0x000056053b60e919 in main(int, char**) (argc=3, argv=0x7fff89c84ea8) at /app/webkit/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp:31
Attachments
Philippe Normand
Comment 1 2022-09-13 02:49:40 PDT
*** This bug has been marked as a duplicate of bug 242575 ***
Note You need to log in before you can comment on or make changes to this bug.