Bug 244683 - Test addition(253931@main): [ macOS wk1 Debug ] media/track/track-description-cue.html consistently hits ASSERTION FAILED: !m_currentSpeechUtterance
Summary: Test addition(253931@main): [ macOS wk1 Debug ] media/track/track-description...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Karl Rackler
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-01 11:41 PDT by Karl Rackler
Modified: 2022-09-16 09:29 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Rackler 2022-09-01 11:41:52 PDT
Description:
media/track/track-description-cue.html

The test has been consistently crashing since being added at 253931@main.

REPRODUCTION STEPS
I can reproduce this on <commit> but cannot reproduce it on <commit> or earlier.

Command: 
run-webkit-tests --debug -1 --exit-after-n-failures 1 --exit-after-n-crashes-or-timeouts 1 --iterations 50 -f --no-retry media/track/track-description-cue.html

Result: 
Regressions: Unexpected crashes (1)
  media/track/track-description-cue.html [ Crash ]

History:
https://results.webkit.org/?suite=layout-tests&test=media%2Ftrack%2Ftrack-description-cue.html&platform=mac&style=debug&flavor=wk1

Crash Log:
No crash log found for DumpRenderTree:97643.

stdout:

stderr:
2022-09-01 05:45:36.075 DumpRenderTree[97643:18510017] nil host used in call to allowsSpecificHTTPSCertificateForHost
2022-09-01 05:45:36.075 DumpRenderTree[97643:18510017] nil host used in call to allowsAnyHTTPSCertificateForHost:
2022-09-01 05:45:36.185 DumpRenderTree[97643:18510017] nil host used in call to allowsSpecificHTTPSCertificateForHost
2022-09-01 05:45:36.185 DumpRenderTree[97643:18510017] nil host used in call to allowsAnyHTTPSCertificateForHost:
2022-09-01 05:45:36.186 DumpRenderTree[97643:18510017] nil host used in call to allowsSpecificHTTPSCertificateForHost
2022-09-01 05:45:36.186 DumpRenderTree[97643:18510017] nil host used in call to allowsAnyHTTPSCertificateForHost:
2022-09-01 05:45:36.187 DumpRenderTree[97643:18510017] nil host used in call to allowsSpecificHTTPSCertificateForHost
2022-09-01 05:45:36.187 DumpRenderTree[97643:18510017] nil host used in call to allowsAnyHTTPSCertificateForHost:
2022-09-01 05:45:36.979 DumpRenderTree[97643:18510017] nil host used in call to allowsSpecificHTTPSCertificateForHost
2022-09-01 05:45:36.979 DumpRenderTree[97643:18510017] nil host used in call to allowsAnyHTTPSCertificateForHost:
ASSERTION FAILED: !m_currentSpeechUtterance
Modules/speech/SpeechSynthesis.cpp(175) : void WebCore::SpeechSynthesis::cancel()
1   0x121d8a069 WTFCrash
2   0x13175bdab WTFCrashWithInfo(int, char const*, char const*, int)
3   0x1342c523b WebCore::SpeechSynthesis::cancel()
4   0x1355a646e WebCore::HTMLMediaElement::setSpeechSynthesisState(WebCore::HTMLMediaElement::SpeechSynthesisState)
5   0x1355a6ab9 WebCore::HTMLMediaElement::cancelSpeakingCueText()
6   0x1355aed41 WebCore::HTMLMediaElement::seekTask()
7   0x1355d6f89 decltype(*(static_cast<WebCore::HTMLMediaElement*&>(fp0)).*fp()) std::__1::__invoke<void (WebCore::HTMLMediaElement::*&)(), WebCore::HTMLMediaElement*&, void>(void (WebCore::HTMLMediaElement::*&)(), WebCore::HTMLMediaElement*&)
8   0x1355d6f0d std::__1::__bind_return<void (WebCore::HTMLMediaElement::*)(), std::__1::tuple<WebCore::HTMLMediaElement*>, std::__1::tuple<>, __is_valid_bind_return<void (WebCore::HTMLMediaElement::*)(), std::__1::tuple<WebCore::HTMLMediaElement*>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (WebCore::HTMLMediaElement::*)(), std::__1::tuple<WebCore::HTMLMediaElement*>, 0ul, std::__1::tuple<> >(void (WebCore::HTMLMediaElement::*&)(), std::__1::tuple<WebCore::HTMLMediaElement*>&, std::__1::__tuple_indices<0ul>, std::__1::tuple<>&&)
9   0x1355df610 std::__1::__bind_return<void (WebCore::HTMLMediaElement::*)(), std::__1::tuple<WebCore::HTMLMediaElement*>, std::__1::tuple<>, __is_valid_bind_return<void (WebCore::HTMLMediaElement::*)(), std::__1::tuple<WebCore::HTMLMediaElement*>, std::__1::tuple<> >::value>::type std::__1::__bind<void (WebCore::HTMLMediaElement::*)(), WebCore::HTMLMediaElement*>::operator()<>()
10  0x1355df5a9 WTF::Detail::CallableWrapper<std::__1::__bind<void (WebCore::HTMLMediaElement::*)(), WebCore::HTMLMediaElement*>, void>::call()
11  0x13177b282 WTF::Function<void ()>::operator()() const
12  0x1347978a1 WTF::CancellableTask::operator()()
13  0x1355dee69 void WebCore::ActiveDOMObject::queueCancellableTaskKeepingObjectAlive<WebCore::HTMLMediaElement>(WebCore::HTMLMediaElement&, WebCore::TaskSource, WTF::TaskCancellationGroup&, WTF::Function<void ()>&&)::'lambda'()::operator()()
14  0x1355ded89 WTF::Detail::CallableWrapper<void WebCore::ActiveDOMObject::queueCancellableTaskKeepingObjectAlive<WebCore::HTMLMediaElement>(WebCore::HTMLMediaElement&, WebCore::TaskSource, WTF::TaskCancellationGroup&, WTF::Function<void ()>&&)::'lambda'(), void>::call()
15  0x13177b282 WTF::Function<void ()>::operator()() const
16  0x13511e649 WebCore::EventLoopFunctionDispatchTask::execute()
17  0x13510f6e0 WebCore::EventLoop::run()
18  0x1352a68f6 WebCore::WindowEventLoop::didReachTimeToRun()
19  0x1352aa699 decltype(*(static_cast<WebCore::WindowEventLoop*&>(fp0)).*fp()) std::__1::__invoke<void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&, void>(void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*&)
20  0x1352aa61d 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<>&&)
21  0x1352aa5d0 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()<>()
22  0x1352aa569 WTF::Detail::CallableWrapper<std::__1::__bind<void (WebCore::WindowEventLoop::*&)(), WebCore::WindowEventLoop*>, void>::call()
23  0x13177b282 WTF::Function<void ()>::operator()() const
24  0x131831f59 WebCore::Timer::fired()
25  0x1362760d6 WebCore::ThreadTimers::sharedTimerFiredInternal()
26  0x136282a31 WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::$_0::operator()() const
27  0x1362829c9 WTF::Detail::CallableWrapper<WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::$_0, void>::call()
28  0x13177b282 WTF::Function<void ()>::operator()() const
29  0x136219751 WebCore::MainThreadSharedTimer::fired()
30  0x13630c2f6 WebCore::timerFired(__CFRunLoopTimer*, void*)
31  0x7ff80935b899 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
Comment 1 Radar WebKit Bug Importer 2022-09-01 11:42:18 PDT
<rdar://problem/99449962>
Comment 2 Karl Rackler 2022-09-01 11:46:29 PDT
I have marked this test as a consistent crash while this issue is investigated.
Comment 3 EWS 2022-09-01 11:54:28 PDT
Test gardening commit 254058@main (9e3695074d02): <https://commits.webkit.org/254058@main>

Reviewed commits have been landed. Closing PR #3924 and removing active labels.
Comment 4 Alexey Proskuryakov 2022-09-04 12:33:46 PDT
This is not just a new test, this is new code hitting an assertion. As such, it's something to revert if not fixed right away.
Comment 5 Eric Carlson 2022-09-06 12:35:30 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4064
Comment 6 Karl Rackler 2022-09-07 08:34:30 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4099
Comment 7 EWS 2022-09-07 10:47:21 PDT
Committed 254241@main (3bd99112f8a9): <https://commits.webkit.org/254241@main>

Reviewed commits have been landed. Closing PR #4099 and removing active labels.
Comment 8 Karl Rackler 2022-09-16 09:28:40 PDT
Verified after revert 253931@main and re-land with fix at 254266@main, the test is now consistently passing.