Closed okycelt closed 4 years ago
Could you get a stack trace with debug symbols? It also says it is due to a deadlock, could you get stack traces for other threads too? The important ones would be the "Thread 1" and the "JS Main Thread", but other threads may be involved too.
Here's the backtrace of all threads: 134_bt_all.txt
Issue description
Calling
ShakaPlayer.getUiInfo(block: (ShakaPlayerUiInfo) -> Void)
some time duringViewController
's life cycle leads to a crash after dismissing thatViewController
. Originally, we thought it's related to calling that method within aTimer
's block, but it's enough to call it e.g. inviewDidAppear()
. This is what we're seeing in the logs:ShakaPlayer.getUiInfo()
, we don't get any crashShakaPlayer
exactly the same way as in the sample app, but we're getting the crash either way (The only difference is that our app is written in Swift, not Objective-C)Reproduction steps
ViewController
with playerShakaPlayer.getUiInfo(block: (ShakaPlayerUiInfo) -> Void)
ViewController
Version of Shaka Player Embedded
6b8337553f045005d5d6908725c680de84d62f9e (at this moment latest master) a8acedfa8152e341d97a2d3829c182b3e80c407a
Device(s) and version(s) of iOS being used
iPhone XR with iOS 13.4.1 Simulator with iOS 13.4