Bug 196972 - Flaky crashes under initMRMediaRemoteSetWantsNowPlayingNotifications in TestWebKitAPI.NowPlayingTest.* API tests
Summary: Flaky crashes under initMRMediaRemoteSetWantsNowPlayingNotifications in TestW...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jer Noble
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-04-16 10:55 PDT by Aakash Jain
Modified: 2022-02-12 18:34 PST (History)
8 users (show)

See Also:


Attachments
Crash log (51.93 KB, text/plain)
2019-04-16 11:04 PDT, Aakash Jain
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aakash Jain 2019-04-16 10:55:43 PDT
TestWebKitAPI.NowPlayingTest seems flaky. They randomly crash sometimes.

e.g.:
https://ews-build.webkit.org/#/builders/3/builds/624
https://ews-build.webkit.org/#/builders/3/builds/615


Crashed:
"TestWebKitAPI.NowPlayingTest.VideoElementWithMutedAudioUnmutedWithUserGesture"
"TestWebKitAPI.NowPlayingTest.VideoElementWithoutAudioPlayWithUserGesture"
"TestWebKitAPI.NowPlayingTest.VideoElementWithAudio"
"TestWebKitAPI.NowPlayingTest.VideoElementWithMutedAudio"
"TestWebKitAPI.NowPlayingTest.AudioElement"
"TestWebKitAPI.NowPlayingTest.VideoElementWithoutAudio"
Comment 2 Aakash Jain 2019-04-16 11:04:10 PDT
Created attachment 367546 [details]
Crash log

OS Version:            Mac OS X 10.13.2 (17C205)
Report Version:        12  
Anonymous UUID:        9D842277-F06C-401E-5357-736B3F980959


Time Awake Since Boot: 590000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000002, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Trace/BPT trap: 5
Termination Reason:    Namespace SIGNAL, Code 0x5 
Terminating Process:   exc handler [0] 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   TestWebKitAPI                       0x0000000102f21ed3 0x102eee000 + 212691
1   TestWebKitAPI                       0x00000001030c2d9f initMRMediaRemoteSetWantsNowPlayingNotifications(bool) + 80
2   TestWebKitAPI                       0x00000001030c2531 NowPlayingTest::addObserver(NowPlayingTest&) + 101 (NowPlaying.mm:167)
3   TestWebKitAPI                       0x00000001030c164b NowPlayingTest::SetUp() + 21 (NowPlaying.mm:91)

4   TestWebKitAPI                       0x0000000103297627 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 72
5   TestWebKitAPI                       0x0000000103297541 testing::Test::Run() + 105 
6   TestWebKitAPI                       0x00000001032984d2 testing::TestInfo::Run() + 220 
7   TestWebKitAPI                       0x0000000103298c53 testing::TestCase::Run() + 273 
8   TestWebKitAPI                       0x00000001032a256c testing::internal::UnitTestImpl::RunAllTests() + 694 
9   TestWebKitAPI                       0x00000001032a21a4 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) + 72
10  TestWebKitAPI                       0x00000001032a2131 testing::UnitTest::Run() + 107 
11  TestWebKitAPI                       0x00000001031b2880 TestWebKitAPI::TestsController::run(int, char**) + 120 (TestsController.cpp:86)
12  TestWebKitAPI                       0x0000000103271384 main + 344 (mainMac.mm:52)
13  libdyld.dylib                       0x00007fff504bc115 start + 1
Comment 3 Radar WebKit Bug Importer 2019-04-18 10:07:41 PDT
<rdar://problem/50019305>
Comment 4 Brent Fulgham 2022-02-12 18:34:26 PST
WebKit QA confirmed this is resolved