A media packaging and development framework for VOD and Live DASH and HLS applications, supporting Common Encryption for Widevine and other DRM Systems.
Extra steps to reproduce the problem?
(1) Setup a local web server to receive the manifest updates, and configure the webserver to respond with an error code (403 for example) on each request.
(2) Run repeatedly until shaka hangs, it appears this issue is timing sensitive.
What is the expected result?
Shaka exits unsuccessfully
What happens instead?
Shaka hangs.
Input file is probably not important here, but for reference it was generated via:
Problem was originally discovered on shaka 2.6.1, attaching abbreviated verbose logs from that run (with some additional locally added logs). Issue is verified to reproduce on shaka main, but could not get the log verbosity to work well enough to extract logs there.
System info
Operating System: Ubuntu 20.04.6 LTS (Focal Fossa) Shaka Packager Version: main, sha: 76eb2c1575-release
Issue and steps to reproduce the problem
Packager Command:
Extra steps to reproduce the problem? (1) Setup a local web server to receive the manifest updates, and configure the webserver to respond with an error code (403 for example) on each request. (2) Run repeatedly until shaka hangs, it appears this issue is timing sensitive.
What is the expected result? Shaka exits unsuccessfully
What happens instead? Shaka hangs.
Input file is probably not important here, but for reference it was generated via:
Problem was originally discovered on shaka 2.6.1, attaching abbreviated verbose logs from that run (with some additional locally added logs). Issue is verified to reproduce on shaka main, but could not get the log verbosity to work well enough to extract logs there.
shaka_hangs_abbrev.log
From the logs it can be seen that,
HttpFile::Flush()
is entered but not exited:There are no logs from
HttpFile::CurlReadCallback()
and the main process has finished: