Freezes during stream init after switching to PSA API's #150
Labels
No labels
bug
dependencies
duplicate
enhancement
hacktoberfest-accepted
invalid
question
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-moonlight-stream/moonlight-common-c#150
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sorry, I can see how my last comment was incorrect and useless. I'll try again.
I've provided a full backtrace here: https://gist.github.com/trexx/834fd4006067e2b1cbadda0cbc86aed8 and the blocked thread is 26.
blocked thread 26
It seems my Shield didn't have enough entropy in its pool and because the device is /dev/random, it'll will block. This seems to be the default for mbedtls and I am not sure whether it maybe worth changing the device to /dev/urandom instead.
This seems to be visible now because psa_crypto_init is called when initialising the RTSP stream and that'll seed a DRBG.