immich
immich copied to clipboard
Android app crashed when viewing shared album
The bug
I have a shared album (800ish images) where its around 50/50 my photos and that of the other shared account. When I view that album on my phone it works the first seconds scrolling etc. Then it start getting slower and laggier till it just freezes the whole app and eventually crashes. It does even do it when I just open the album and dont do anything. It will crash/close the app after 20 seconds orso.
Note: checked the mobile version just now. And I see that my tailscale even crashed.
I've seen some troubles when I was on holiday and the album wasnt that big. But I didnt really pay attention to it after coming back from holiday and the album is filled.
The OS that Immich Server is running on
dsm 7
Version of Immich Server
v1.106.1
Version of Immich Mobile App
v1.106.1 build.142
Platform with the issue
- [ ] Server
- [ ] Web
- [X] Mobile
Your docker-compose.yml content
Compose should not matter as it's not related I think. its really basic one. I saw also the breaking changes and applied them correctly for v1.106.1
Your .env content
Env. should not matter as it's not related I think. its really basic one.
Reproduction steps
1. Create album with 400 images
2. Share with other account
3. Let that account also add 400 images.
4. access album from main account on android app and use it.
5. After 20/30 seconds it stops. Maybe more beefier mobile takes longer. not sure.
Relevant log output
Last log detail i could find on finest before crash:
connect attempt will timout after 20000
Additional information
I scrolled through the webapp and the album. It just works there.
Using Pixel 7
You don't need the finest log, debug log, or normal log should work. Can you try to reproduce then export the log and include it here
Here you go: Immich_log_2024-06-11T17_20_39.938345.log
Timestamp 17:18 is when I cleared the log and after that entered the album. 17:20 is after crashing and opening the application again.
Is it something you can recreate Alex or somebody else? I cant test on a different way, so I do not know if its related to myself or if its an actual bug.
I will get to this one eventually
Update from my side to add to the issue: I moved the thumbnails folder to a ssd. Retrieval & loading of thumbnails is better. The app seems to handle it better now, but crashes after a while. It seems it cant handle the blurry images before thumbnail loads. Because having the thumbnails loaded seems to make the experience smooth again.
I think that #11113 is a duplicate of this bug.
The basic issue is that the app is killed by the OOM killer, in my case, it happens every time for one phone and never for another, and on the phone where it happens, using adb logcat it shows that OOM kills a ton of apps, not just immich. Even the launcher dies and is restarted by the OS.
The thumbnails should be loaded, not entire full resolution pictures or videos, they should be tiny, not OOM worthy...
I'll try to get logs of it on my side, both from immich itself and from adb logcat.
This has been solved in the new timeline.