-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
D02: assertion '!have_spinlock()' #2437
Comments
Looks like a protective pattern after |
Strange coincidence |
Agree with the relation to #2414 |
@jenswi-linaro not the AES stuff apparently, I've changed the values in the static tables and the lock count is still overwritten by the same |
hw_get_random_byte() may be called from a context where mutexes are not allowed. Use a spinlock instead. Fixes: OP-TEE#2437 Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Weird. I can reproduce the crash only if CPU#3 or CPU#11 are enabled (D02 has a total of 16 Cortex-A57 cores). With any of them enabled, |
I'm not quite remember... Does |
Re-opening because #2440 is not a fix for this. |
This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time. |
I get assertion failures with af8149d on D02 Aarch32. CFG_TEE_CORE_LOG_LEVEL=2. Not reproducible with
-O0
, always fail on!have_spinlock()
but with various stack traces.Looks like memory corruption, judging by the value of
locked_count
inhave_spinlock()
.The text was updated successfully, but these errors were encountered: