NEW 202064
Flaky crash in AudioSourceProviderAVFObjC::~AudioSourceProviderAVFObjC on webaudio/silent-audio-interrupted-in-background.html
https://bugs.webkit.org/show_bug.cgi?id=202064
Summary Flaky crash in AudioSourceProviderAVFObjC::~AudioSourceProviderAVFObjC on web...
WebKit Commit Bot
Reported Saturday, September 21, 2019 12:58:10 AM UTC
This is an automatically generated bug from the commit-queue. webaudio/silent-audio-interrupted-in-background.html has been flaky on the commit-queue. webaudio/silent-audio-interrupted-in-background.html was authored by cdumez@apple.com. https://trac.webkit.org/browser/trunk/LayoutTests/webaudio/silent-audio-interrupted-in-background.html The commit-queue just saw webaudio/silent-audio-interrupted-in-background.html flake (DumpRenderTree crashed) while processing attachment 379228 [details] on bug 202040. Bot: webkit-cq-01 Port: <class 'webkitpy.common.config.ports.MacPort'> Platform: Mac OS X 10.13.6 The bots will update this with information from each new failure. If you believe this bug to be fixed or invalid, feel free to close. The bots will re-open if the flake re-occurs. If you would like to track this test fix with another bug, please close this bug as a duplicate. The bots will follow the duplicate chain when making future comments.
Attachments
Archive of layout-test-results from webkit-cq-01 (3.28 MB, application/zip)
2019-09-20 16:58 PDT, WebKit Commit Bot
no flags
Archive of layout-test-results from webkit-cq-01 (3.85 MB, application/zip)
2019-11-07 12:31 PST, WebKit Commit Bot
no flags
Patch (2.34 KB, patch)
2019-12-20 14:30 PST, Jer Noble
no flags
Patch (3.74 KB, patch)
2019-12-20 15:00 PST, Jer Noble
ap: review+
ap: commit-queue-
WebKit Commit Bot
Comment 1 Saturday, September 21, 2019 12:58:12 AM UTC
Created attachment 379286 [details] Archive of layout-test-results from webkit-cq-01
Alexey Proskuryakov
Comment 2 Monday, September 23, 2019 6:34:02 PM UTC
This rare crash is tracked as rdar://problem/49602546 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.apple.WebCore 0x0000000114206760 WebCore::AudioSourceProviderAVFObjC::~AudioSourceProviderAVFObjC() + 192 (AudioSourceProviderAVFObjC.mm:92) 1 com.apple.WebCore 0x00000001142069fe WebCore::AudioSourceProviderAVFObjC::~AudioSourceProviderAVFObjC() + 14 (ThreadSafeRefCounted.h:37) 2 com.apple.WebCore 0x00000001142c4171 WebCore::MediaPlayerPrivateAVFoundationObjC::~MediaPlayerPrivateAVFoundationObjC() + 1825 (utility:896) 3 com.apple.WebCore 0x00000001142c496e WebCore::MediaPlayerPrivateAVFoundationObjC::~MediaPlayerPrivateAVFoundationObjC() + 14 (MediaPlayerPrivate.h:36) 4 com.apple.WebCore 0x0000000115503c9d WebCore::MediaPlayer::~MediaPlayer() + 253 (Timer.h:109) 5 com.apple.WebCore 0x0000000115503cfe WebCore::MediaPlayer::~MediaPlayer() + 14 (MediaPlayer.h:248) 6 com.apple.WebCore 0x00000001150d6ead WebCore::HTMLMediaElement::clearMediaPlayer() + 477 (Node.h:354) 7 com.apple.WebCore 0x00000001150d77e9 WebCore::HTMLMediaElement::stop() + 137 (memory:2567) 8 com.apple.WebCore 0x0000000114f648bd WTF::Detail::CallableWrapper<WebCore::ScriptExecutionContext::stopActiveDOMObjects()::$_6, WebCore::ScriptExecutionContext::ShouldContinue, WebCore::ActiveDOMObject&>::call(WebCore::ActiveDOMObject&) + 13 (Function.h:52) 9 com.apple.WebCore 0x0000000114f5ed35 WebCore::ScriptExecutionContext::forEachActiveDOMObject(WTF::Function<WebCore::ScriptExecutionContext::ShouldContinue (WebCore::ActiveDOMObject&)> const&) const + 485 (ScriptExecutionContext.cpp:271) 10 com.apple.WebCore 0x0000000114f5eef5 WebCore::ScriptExecutionContext::stopActiveDOMObjects() + 69 (memory:2285) 11 com.apple.WebCore 0x0000000114ec7559 WebCore::Document::prepareForDestruction() + 809 (DocumentEventQueue.cpp:134) 12 com.apple.WebCore 0x00000001153b8d11 WebCore::Frame::setView(WTF::RefPtr<WebCore::FrameView, WTF::DumbPtrTraits<WebCore::FrameView> >&&) + 177 (Frame.cpp:234) 13 com.apple.WebKitLegacy 0x0000000112f81340 WebFrameLoaderClient::transitionToCommittedForNewPage() + 448 (utility:896)
WebKit Commit Bot
Comment 3 Thursday, November 7, 2019 8:30:58 PM UTC
The commit-queue just saw webaudio/silent-audio-interrupted-in-background.html flake (DumpRenderTree crashed) while processing attachment 382798 [details] on bug 203836. Bot: webkit-cq-01 Port: <class 'webkitpy.common.config.ports.MacPort'> Platform: Mac OS X 10.13.6
WebKit Commit Bot
Comment 4 Thursday, November 7, 2019 8:31:00 PM UTC
Created attachment 383067 [details] Archive of layout-test-results from webkit-cq-01
Truitt Savell
Comment 5 Friday, December 20, 2019 8:41:21 PM UTC
I marked this as a flakey crash in https://trac.webkit.org/changeset/253836/webkit
Jer Noble
Comment 6 Friday, December 20, 2019 10:30:00 PM UTC
Alexey Proskuryakov
Comment 7 Friday, December 20, 2019 10:49:26 PM UTC
Comment on attachment 386255 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=386255&action=review > Source/WebCore/ChangeLog:3 > + Flaky crash in AudioSourceProviderAVFObjC::~AudioSourceProviderAVFObjC on webaudio/silent-audio-interrupted-in-background.html Thank you for the fix! Can you update TestExpectations in the same patch?
Jer Noble
Comment 8 Friday, December 20, 2019 10:58:23 PM UTC
(In reply to Alexey Proskuryakov from comment #7) > Comment on attachment 386255 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=386255&action=review > > > Source/WebCore/ChangeLog:3 > > + Flaky crash in AudioSourceProviderAVFObjC::~AudioSourceProviderAVFObjC on webaudio/silent-audio-interrupted-in-background.html > > Thank you for the fix! Can you update TestExpectations in the same patch? Sure thing.
Jer Noble
Comment 9 Friday, December 20, 2019 11:00:25 PM UTC
Alexey Proskuryakov
Comment 10 Saturday, December 21, 2019 1:03:02 AM UTC
Comment on attachment 386263 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=386263&action=review The fix looks right to me, TestExpectations need a bit more polish. > LayoutTests/platform/mac-wk2/TestExpectations:-679 > -webkit.org/b/172201 webaudio/silent-audio-interrupted-in-background.html [ Pass Timeout ] This is not the [ Pass Crash ] expectation that Truitt added in https://trac.webkit.org/changeset/253836/webkit
Note You need to log in before you can comment on or make changes to this bug.