Bug 185591 - [EME][Crash][Debug] The WPT test clearkey-mp4-playback-retrieve-persistent-license.https.html crashes
Summary: [EME][Crash][Debug] The WPT test clearkey-mp4-playback-retrieve-persistent-li...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-13 15:26 PDT by Yacine Bandou
Modified: 2019-01-25 03:16 PST (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 Yacine Bandou 2018-05-13 15:26:07 PDT
In Debug conf case, the following WPT encrypted-media test "clearkey-mp4-playback-retrieve-persistent-license.https.html"  craches.
Here is the call stack :

 STDERR: ASSERTION FAILED: !m_valueOrException
STDERR: ../../Source/WebCore/bindings/js/DOMPromiseProxy.h(221) : void WebCore::DOMPromiseProxy<WebCore::IDLVoid>::resolve()
STDERR: 1   0x7fa422332ae5 WTFCrash
STDERR: 2   0x7fa420bb115d WebCore::DOMPromiseProxy<WebCore::IDLVoid>::resolve()
STDERR: 3   0x7fa420ba9ccc WebCore::MediaKeySession::sessionClosed()

The test crashes in the function
DOMPromiseProxy<IDLType>::resolve    -->   Source/WebCore/bindings/js/DOMPromiseProxy.h: 154

which is called by  MediaKeySession::sessionClosed() -->  Source/WebCore/Modules/encryptedmedia/MediaKeySession.cpp: 683
Comment 1 Yacine Bandou 2018-05-13 16:03:48 PDT
Here is a similar bug:
Bug 175899 - ASSERTION FAILED: !m_valueOrException under FontFaceSet::completedLoading loading a Serious Eats page
Comment 2 Charlie Turner 2019-01-25 03:16:46 PST
No longer getting this crash.