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

EXC_BAD_ACCESS using release_cdm.json for WV #186

Closed
kareljuricka opened this issue Nov 3, 2020 · 2 comments
Closed

EXC_BAD_ACCESS using release_cdm.json for WV #186

kareljuricka opened this issue Nov 3, 2020 · 2 comments
Labels
status: archived Archived and locked; will not be updated

Comments

@kareljuricka
Copy link
Contributor

kareljuricka commented Nov 3, 2020

Issue description

The player crashes with:
JS Main Thread (10): EXC_BAD_ACCESS (code=1, address=0x208008984)
when using using release_cdm.json instead of dev_cdm.json.

Reproduction steps

  1. Configure shaka player embedded build with:
    ../configure --ios --cpu arm64 --eme-impl ~/prebuilt_cdm_ios_widevine/shaka_plugin/release_cdm.json

  2. Use ~/prebuilt_cdm_ios_widevine/lib/release/arm64_ios/widevine_cdm_secured_ios.framework in project

  3. Load wv content

  4. App crash

Manifest

Any wv content, eg.:
https://storage.googleapis.com/shaka-demo-assets/angel-one-widevine-hls/hls.m3u8
https://storage.googleapis.com/shaka-demo-assets/angel-one-widevine/dash.mpd

with wv server:
https://cwip-shaka-proxy.appspot.com/no_auth

Log

crash-log.txt

Version of Shaka Player Embedded

dccd0bb

Version of CDM

15.2.4

Device(s) and version(s) of iOS being used

iPhone 11 Pro with iOS 14.0

Additional info

Found something similar in #64 but this issue is solved

If using ~/prebuilt_cdm_ios_widevine/shaka_plugin/dev_cdm.json, demo content plays without problem

@TheModMaker
Copy link
Contributor

As mentioned in the README of the CDM, you can't use the release CDM with a debugger. You can either not attach the debugger in Xcode, or launch the app manually without Xcode.

@kareljuricka
Copy link
Contributor Author

Sorry I missed this, thank for quick answer.

Btw. I also trying to figured out this older issue #175. I added more info recently with updated reproduction step to make it always happens. It cause app crash so till fix we can't use shaka embedded for production purposes. You didn't tag issue as Bug so I'm not sure if you recieved updated info so just for sure I wrote it here. Thanks

@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Sep 27, 2021
@shaka-project shaka-project locked and limited conversation to collaborators Sep 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

No branches or pull requests

3 participants