Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Crashes when releasing a persistent license #240

Open
nakamura-work opened this issue Jul 25, 2022 · 0 comments
Open

Crashes when releasing a persistent license #240

nakamura-work opened this issue Jul 25, 2022 · 0 comments

Comments

@nakamura-work
Copy link

Overview

Releasing a persistent license causes a crash due to an assertion inside the widevine cdm plugin.

Build environment

  • macOS Big Sur (11.5.1)
  • shaka-player-embedded/master
  • shaka-player-embedded/master/sample_xcode_project
    • Xcode 13.2.1
    • commit 180462a with patches
  • Widevine CDM 15.2.4
    • commit/df86ca975b8c03da33771736fa81078b22d0507b

Execution environment

iPhone 13 mini (iOS 15.5)

Steps to reproduce

  1. build "ShakaPlayerEmbedded"
  2. place both of .framework on //sample_xcode_project
  3. add widevine_cdm_secured_ios.framework to project
  4. apply the attached patches
  5. run the app
  6. long press "shaka-proxy / angel-one" and select "Download"
  7. wait for download completion
  8. long press "shaka-proxy / angel-one" and select "Remove"

As a result, the app crashes with a failed assertion as follows:

Assertion failed: (got_server_certificate_), function Update, file /<cdm_dir>/shaka_plugin/widevine_implementation.cc, line 357.

Supplements

  • Explicitly specifying 'serverCertificate' before instantiating Storage (via Player) escapes the crash.
  • I commented out the assertion as a test, and then the deletion process completed.

crash-on-remove-license.txt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant