-
Notifications
You must be signed in to change notification settings - Fork 155
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
Avatars randomly not loading #3354
Comments
Happens here too since the v0.5.1 merge (v0.5.0 was fine). Re frebib's logs:
IIRC that basically happens when our custom fetcher (here: |
Thanks for reporting. On my side:
We are checking what has been changed between those 2 versions. |
OK, I can now reproduce on a debug build. I have added more log and the method
We can have a retry mechanism application side, but this is maybe something we want to handle SDK side. WDYT @Hywan ? |
… try to access a locked DB. Error from the SDK can be `database is locked` See #3354
Are avatars read all from the same process? or could it be that multiple processes are reading avatars on Android? |
@bnjbvr same process, but multiple threads. FTR #3366 does not include the fix anymore, but the issue will be fixed in the SDK in matrix-org/matrix-rust-sdk#3928 |
Steps to reproduce
The easiest reliable reproducer I have found for this issue is
People
filterOutcome
What did you expect?
Avatars to load reliably, even if not immediately. It's not always the same avatar, and it doesn't always happen. Once they've loaded once, they seem to stay loaded until the app is killed.
What happened instead?
They never loaded until navigating away and back or scrolling them out and back into view.
I also notice lots of instances of this error in the logs, which seems related
I also see it for rooms occasionally too
Your phone model
Pixel 8 Pro
Operating system version
Android 14
Application version and app store
https://github.com/frebib/element-x-android/commits/c7989af09b6e9c22747e05be0d4a530e0165a733
Homeserver
nerdhouse.io
Will you send logs?
Yes
Are you willing to provide a PR?
No
The text was updated successfully, but these errors were encountered: