Bug 229765

Summary: [ Catalina Debug EWS ] ASSERTION FAILED: m_wrapper ./bindings/js/JSEventListener.h(128) : JSC::JSObject *WebCore::JSEventListener::ensureJSFunction(WebCore::ScriptExecutionContext &) const
Product: WebKit Reporter: ayumi_kojima
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, cdumez, darin, eric.carlson, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac (Intel)   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=229462
https://bugs.webkit.org/show_bug.cgi?id=230442

Description ayumi_kojima 2021-09-01 11:59:23 PDT
media/track/track-disabled-addcue.html

Is flaky crashing on macOS-Catalina-Debug-WK1-Tests-EWS.

This was fixed at r281727, but it is still appearing on EWS as a flaky test. Since the bug is already closed, I am creating a new bug.

Crash log:

ASSERTION FAILED: m_wrapper
./bindings/js/JSEventListener.h(128) : JSC::JSObject *WebCore::JSEventListener::ensureJSFunction(WebCore::ScriptExecutionContext &) const
1   0x10a28b319 WTFCrash
2   0x12f9cbaeb WTFCrashWithInfo(int, char const*, char const*, int)
3   0x13232578f WebCore::JSEventListener::ensureJSFunction(WebCore::ScriptExecutionContext&) const
4   0x132324ae4 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&, WebCore::Event&)
5   0x132b2fbb7 WebCore::EventTarget::innerInvokeEventListeners(WebCore::Event&, WTF::Vector<WTF::RefPtr<WebCore::RegisteredEventListener, WTF::RawPtrTraits<WebCore::RegisteredEventListener>, WTF::DefaultRefDerefTraits<WebCore::RegisteredEventListener> >, 1ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>, WebCore::EventTarget::EventInvokePhase)
6   0x132b2f614 WebCore::EventTarget::fireEventListeners(WebCore::Event&, WebCore::EventTarget::EventInvokePhase)
7   0x132b0307a WebCore::EventContext::handleLocalEvents(WebCore::Event&, WebCore::EventTarget::EventInvokePhase) const
8   0x132b260e5 WebCore::dispatchEventInDOM(WebCore::Event&, WebCore::EventPath const&)
9   0x132b25952 WebCore::EventDispatcher::dispatchEvent(WebCore::Node&, WebCore::Event&)
10  0x132bc388d WebCore::Node::dispatchEvent(WebCore::Event&)
11  0x1330beef7 WebCore::HTMLTrackElement::didCompleteLoad(WebCore::HTMLTrackElement::LoadStatus)
12  0x133335d75 WebCore::LoadableTextTrack::scheduleLoad(WTF::URL const&)::$_0::operator()()
13  0x133335bee WTF::Detail::CallableWrapper<WebCore::LoadableTextTrack::scheduleLoad(WTF::URL const&)::$_0, void>::call()
14  0x12f9e42d2 WTF::Function<void ()>::operator()() const
15  0x1330ccd35 WebCore::HTMLTrackElement::scheduleTask(WTF::Function<void ()>&&)::$_3::operator()()
16  0x1330ccc6e WTF::Detail::CallableWrapper<WebCore::HTMLTrackElement::scheduleTask(WTF::Function<void ()>&&)::$_3, void>::call()
17  0x12f9e42d2 WTF::Function<void ()>::operator()() const
18  0x1330cc48e void WebCore::ActiveDOMObject::queueTaskKeepingObjectAlive<WebCore::HTMLTrackElement>(WebCore::HTMLTrackElement&, WebCore::TaskSource, WTF::Function<void ()>&&)::'lambda'()::operator()() const
19  0x1330cc0de WTF::Detail::CallableWrapper<void WebCore::ActiveDOMObject::queueTaskKeepingObjectAlive<WebCore::HTMLTrackElement>(WebCore::HTMLTrackElement&, WebCore::TaskSource, WTF::Function<void ()>&&)::'lambda'(), void>::call()
20  0x12f9e42d2 WTF::Function<void ()>::operator()() const
21  0x132b3387e WebCore::EventLoopFunctionDispatchTask::execute()
22  0x132b29045 WebCore::EventLoop::run()
23  0x132cc9aec WebCore::WindowEventLoop::didReachTimeToRun()
24  0x132cccf57 decltype(*(std::__1::forward<WebCore::WindowEventLoop*&>(fp0)).*fp()) std::__1::__invoke<void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&, void>(void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&)
25  0x132ccced0 std::__1::__bind_return<void (WebCore::WindowEventLoop::*)(), std::__1::tuple<WebCore::WindowEventLoop*>, std::__1::tuple<>, __is_valid_bind_return<void (WebCore::WindowEventLoop::*)(), std::__1::tuple<WebCore::WindowEventLoop*>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (WebCore::WindowEventLoop::*)(), std::__1::tuple<WebCore::WindowEventLoop*>, 0ul, std::__1::tuple<> >(void (WebCore::WindowEventLoop::*&)(), std::__1::tuple<WebCore::WindowEventLoop*>&, std::__1::__tuple_indices<0ul>, std::__1::tuple<>&&)
26  0x132ccce89 std::__1::__bind_return<void (WebCore::WindowEventLoop::*)(), std::__1::tuple<WebCore::WindowEventLoop*>, std::__1::tuple<>, __is_valid_bind_return<void (WebCore::WindowEventLoop::*)(), std::__1::tuple<WebCore::WindowEventLoop*>, std::__1::tuple<> >::value>::type std::__1::__bind<void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*>::operator()<>()
27  0x132ccce0e WTF::Detail::CallableWrapper<std::__1::__bind<void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*>, void>::call()
28  0x12f9e42d2 WTF::Function<void ()>::operator()() const
29  0x12fa24a7e WebCore::Timer::fired()
30  0x133c5bec4 WebCore::ThreadTimers::sharedTimerFiredInternal()
31  0x133c66961 WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::$_0::operator()() const
Comment 1 Radar WebKit Bug Importer 2021-09-01 11:59:53 PDT
<rdar://problem/82639578>
Comment 2 ayumi_kojima 2021-09-01 12:03:34 PDT
Updated test expectations: https://trac.webkit.org/changeset/281866/webkit