[Webkit-unassigned] [Bug 266711] [WPE][Debug] ASSERTION FAILED: m_wrapper

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 12 05:58:38 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=266711

--- Comment #6 from Vitaly Dyackhov <vitaly at igalia.com> ---
Another failing with similar symptoms but a slightly different stack trace is `fast/editing/create-link-inline-style-change-crash-001.html`:

```
#0  WTFCrash() () at /app/webkit/Source/WTF/wtf/Assertions.cpp:333
#1  0x00007f857935ee10 in WTFCrashWithInfo(int, char const*, char const*, int) () at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Assertions.h:778
#2  0x00007f857fbca5d7 in WebCore::JSEventListener::ensureJSFunction(WebCore::ScriptExecutionContext&) const (this=0x7f855d6f0cc0, scriptExecutionContext=...) at /app/webkit/Source/WebCore/bindings/js/JSEventListener.h:164
#3  0x00007f857fbc87dd in WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&, WebCore::Event&) (this=0x7f855d6f0cc0, scriptExecutionContext=..., event=...) at /app/webkit/Source/WebCore/bindings/js/JSEventListener.cpp:142
#4  0x00007f85804fa562 in WebCore::EventTarget::innerInvokeEventListeners(WebCore::Event&, WTF::Vector<WTF::RefPtr<WebCore::RegisteredEventListener, WTF::RawPtrTraits<WebCore::RegisteredEventListener>, WTF::DefaultRefDerefTraits<WebCore::RegisteredEventListener> >, 1ul, WTF::CrashOnOverflow, 2ul, WTF::FastMalloc>, WebCore::EventTarget::EventInvokePhase) (this=0x7f845607f4f0, event=..., listeners=..., phase=WebCore::EventTarget::EventInvokePhase::Bubbling) at /app/webkit/Source/WebCore/dom/EventTarget.cpp:366
#5  0x00007f85804f9fc3 in WebCore::EventTarget::fireEventListeners(WebCore::Event&, WebCore::EventTarget::EventInvokePhase) (this=0x7f845607f4f0, event=..., phase=WebCore::EventTarget::EventInvokePhase::Bubbling) at /app/webkit/Source/WebCore/dom/EventTarget.cpp:297
#6  0x00007f85804dcbe5 in WebCore::EventContext::handleLocalEvents(WebCore::Event&, WebCore::EventTarget::EventInvokePhase) const (this=0x7fff20ccd410, event=..., phase=WebCore::EventTarget::EventInvokePhase::Bubbling) at /app/webkit/Source/WebCore/dom/EventContext.cpp:97
#7  0x00007f85804dd19f in WebCore::dispatchEventInDOM(WebCore::Event&, WebCore::EventPath const&) (event=..., path=...) at /app/webkit/Source/WebCore/dom/EventDispatcher.cpp:109
#8  0x00007f85804ddd15 in WebCore::EventDispatcher::dispatchEvent(WebCore::Node&, WebCore::Event&) (node=..., event=...) at /app/webkit/Source/WebCore/dom/EventDispatcher.cpp:228
#9  0x00007f858059c24b in WebCore::Node::dispatchEvent(WebCore::Event&) (this=0x7f845607f4f0, event=...) at /app/webkit/Source/WebCore/dom/Node.cpp:2502
#10 0x00007f858097ac3d in operator()() const (__closure=0x7f855d30b208) at /app/webkit/Source/WebCore/html/HTMLMediaElement.cpp:5035
#11 0x00007f858099fd44 in WTF::Detail::CallableWrapper<WebCore::HTMLMediaElement::layoutSizeChanged()::<lambda()>, void>::call(void) (this=0x7f855d30b200) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:53
#12 0x00007f8579d6904b in WTF::Function<void ()>::operator()() const (this=0x7f855daae498) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:82
#13 0x00007f85809a526a in WebCore::ActiveDOMObject::queueTaskKeepingObjectAlive<WebCore::HTMLMediaElement>(WebCore::HTMLMediaElement&, WebCore::TaskSource, WTF::Function<void ()>&&)::{lambda()#1}::operator()() const (__closure=0x7f855daae488) at /app/webkit/Source/WebCore/dom/ActiveDOMObject.h:112
#14 0x00007f85809da186 in WTF::Detail::CallableWrapper<WebCore::ActiveDOMObject::queueTaskKeepingObjectAlive<WebCore::HTMLMediaElement>(WebCore::HTMLMediaElement&, WebCore::TaskSource, WTF::Function<void ()>&&)::{lambda()#1}, void>::call() (this=0x7f855daae480) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:53
#15 0x00007f8579d6904b in WTF::Function<void ()>::operator()() const (this=0x7f855d9c2870) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:82
#16 0x00007f85804e4640 in WebCore::EventLoopFunctionDispatchTask::execute() (this=0x7f855d9c2850) at /app/webkit/Source/WebCore/dom/EventLoop.cpp:469
#17 0x00007f85804e00b9 in WebCore::EventLoop::run(std::optional<WTF::ApproximateTime>) (this=0x7f855d144210, deadline=std::optional<WTF::ApproximateTime> = {...}) at /app/webkit/Source/WebCore/dom/EventLoop.cpp:327
#18 0x00007f85806bec27 in WebCore::WindowEventLoop::didReachTimeToRun() (this=0x7f855d144210) at /app/webkit/Source/WebCore/dom/WindowEventLoop.cpp:193
#19 0x00007f85806d60c8 in std::__invoke_impl<void, void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&>(std::__invoke_memfun_deref, void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&) (__f=@0x7f855d0a2a88: (void (WebCore::WindowEventLoop::*)(WebCore::WindowEventLoop * const)) 0x7f85806beb8e <WebCore::WindowEventLoop::didReachTimeToRun()>, __t=@0x7f855d0a2a98: 0x7f855d144210) at /usr/include/c++/13.2.0/bits/invoke.h:74
#20 0x00007f85806d6033 in std::__invoke<void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&>(void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&) (__fn=@0x7f855d0a2a88: (void (WebCore::WindowEventLoop::*)(WebCore::WindowEventLoop * const)) 0x7f85806beb8e <WebCore::WindowEventLoop::didReachTimeToRun()>) at /usr/include/c++/13.2.0/bits/invoke.h:96
#21 0x00007f85806d5fa9 in std::_Bind<void (WebCore::WindowEventLoop::*(WebCore::WindowEventLoop*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x7f855d0a2a88, __args=...) at /usr/include/c++/13.2.0/functional:506
#22 0x00007f85806d5f3b in std::_Bind<void (WebCore::WindowEventLoop::*(WebCore::WindowEventLoop*))()>::operator()<, void>() (this=0x7f855d0a2a88) at /usr/include/c++/13.2.0/functional:591
#23 0x00007f85806d5f04 in WTF::Detail::CallableWrapper<std::_Bind<void (WebCore::WindowEventLoop::*(WebCore::WindowEventLoop*))()>, void>::call() (this=0x7f855d0a2a80) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:53
#24 0x00007f8579d6904b in WTF::Function<void ()>::operator()() const (this=0x7f855d144338) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:82
#25 0x00007f8579e78cb0 in WebCore::Timer::fired() (this=0x7f855d1442f8) at /app/webkit/WebKitBuild/WPE/Debug/WebCore/PrivateHeaders/WebCore/Timer.h:150
#26 0x00007f8581636a3e in WebCore::ThreadTimers::sharedTimerFiredInternal() (this=0x7f855d0f0c60) at /app/webkit/Source/WebCore/platform/ThreadTimers.cpp:125
#27 0x00007f858163631b in operator()() const (__closure=0x7f855d000e78) at /app/webkit/Source/WebCore/platform/ThreadTimers.cpp:65
#28 0x00007f8581638b48 in WTF::Detail::CallableWrapper<WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::<lambda()>, void>::call(void) (this=0x7f855d000e70) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:53
#29 0x00007f8579d6904b in WTF::Function<void ()>::operator()() const (this=0x7f8583c6fa88 <WebCore::MainThreadSharedTimer::singleton()::instance+8>) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:82
#30 0x00007f85815e3d62 in WebCore::MainThreadSharedTimer::fired() (this=0x7f8583c6fa80 <WebCore::MainThreadSharedTimer::singleton()::instance>) at /app/webkit/Source/WebCore/platform/MainThreadSharedTimer.cpp:83
#31 0x00007f85815edada in std::__invoke_impl<void, void (WebCore::MainThreadSharedTimer::*&)(), WebCore::MainThreadSharedTimer*&>(std::__invoke_memfun_deref, void (WebCore::MainThreadSharedTimer::*&)(), WebCore::MainThreadSharedTimer*&) (__f=@0x7f855d0edde8: (void (WebCore::MainThreadSharedTimer::*)(WebCore::MainThreadSharedTimer * const)) 0x7f85815e3cda <WebCore::MainThreadSharedTimer::fired()>, __t=@0x7f855d0eddf8: 0x7f8583c6fa80 <WebCore::MainThreadSharedTimer::singleton()::instance>) at /usr/include/c++/13.2.0/bits/invoke.h:74
#32 0x00007f85815eda53 in std::__invoke<void (WebCore::MainThreadSharedTimer::*&)(), WebCore::MainThreadSharedTimer*&>(void (WebCore::MainThreadSharedTimer::*&)(), WebCore::MainThreadSharedTimer*&) (__fn=@0x7f855d0edde8: (void (WebCore::MainThreadSharedTimer::*)(WebCore::MainThreadSharedTimer * const)) 0x7f85815e3cda <WebCore::MainThreadSharedTimer::fired()>) at /usr/include/c++/13.2.0/bits/invoke.h:96
#33 0x00007f85815ed9c9 in std::_Bind<void (WebCore::MainThreadSharedTimer::*(WebCore::MainThreadSharedTimer*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x7f855d0edde8, __args=...) at /usr/include/c++/13.2.0/functional:506
#34 0x00007f85815ed95b in std::_Bind<void (WebCore::MainThreadSharedTimer::*(WebCore::MainThreadSharedTimer*))()>::operator()<, void>() (this=0x7f855d0edde8) at /usr/include/c++/13.2.0/functional:591
#35 0x00007f85815ed924 in WTF::Detail::CallableWrapper<std::_Bind<void (WebCore::MainThreadSharedTimer::*(WebCore::MainThreadSharedTimer*))()>, void>::call() (this=0x7f855d0edde0) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:53
#36 0x00007f8579d6904b in WTF::Function<void ()>::operator()() const (this=0x7f8583c6fab8 <WebCore::MainThreadSharedTimer::singleton()::instance+56>) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Function.h:82
#37 0x00007f8579e78dbe in WTF::RunLoop::Timer::fired() (this=0x7f8583c6fa90 <WebCore::MainThreadSharedTimer::singleton()::instance+16>) at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/RunLoop.h:193
#38 0x00007f857d2c8501 in operator()(gpointer) const (__closure=0x0, userData=0x7f8583c6fa90 <WebCore::MainThreadSharedTimer::singleton()::instance+16>) at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:177
#39 0x00007f857d2c8541 in _FUN(gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:181
#40 0x00007f857d2c7a4b in operator()(GSource*, GSourceFunc, gpointer) const (__closure=0x0, source=0x561c07bea7a0, callback=0x7f857d2c8524 <_FUN(gpointer)>, userData=0x7f8583c6fa90 <WebCore::MainThreadSharedTimer::singleton()::instance+16>) at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:53
#41 0x00007f857d2c7a99 in _FUN(GSource*, GSourceFunc, gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:56
#42 0x00007f856e796d36 in g_main_dispatch (context=0x561c07887120) at ../glib/gmain.c:3460
#43 g_main_context_dispatch (context=0x561c07887120) at ../glib/gmain.c:4200
#44 0x00007f856e7f42b8 in g_main_context_iterate.isra.0 (context=0x561c07887120, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/gmain.c:4276
#45 0x00007f856e7963ff in g_main_loop_run (loop=0x561c07887260) at ../glib/gmain.c:4479
#46 0x00007f857d2c810c in WTF::RunLoop::run() () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:108
#47 0x00007f857ad4434b in WebKit::AuxiliaryProcessMainBase<WebKit::WebProcess, true>::run(int, char**) (this=0x7fff20cce080, argc=4, argv=0x7fff20cce248) at /app/webkit/Source/WebKit/Shared/AuxiliaryProcessMain.h:72
#48 0x00007f857ad3fe83 in WebKit::AuxiliaryProcessMain<WebKit::WebProcessMainWPE>(int, char**) (argc=4, argv=0x7fff20cce248) at /app/webkit/Source/WebKit/Shared/AuxiliaryProcessMain.h:98
#49 0x00007f857ad362c5 in WebKit::WebProcessMain(int, char**) (argc=4, argv=0x7fff20cce248) at /app/webkit/Source/WebKit/WebProcess/wpe/WebProcessMainWPE.cpp:75
#50 0x0000561c05cc68e9 in main(int, char**) (argc=4, argv=0x7fff20cce248) at /app/webkit/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp:31
```

Note `WebCore::HTMLMediaElement::layoutSizeChanged()` in the stack trace. It's weird because the test doesn't create any `HTMLMediaElement`. This might be some leftover task from previous tests running by the same instance of WKTR.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240112/978d0511/attachment-0001.htm>


More information about the webkit-unassigned mailing list