Closed stintel closed 1 year ago
Does this issue also happen in the first beta's or did it start in the third?
Does this issue also happen in the first beta's or did it start in the third?
First of all, thanks for the quick response!
I've only recently started experimenting with AOSP and Jellyfin for Android TV. 0.15.0-beta.3 was the version available at that time. I've just tested 0.15.0-beta.1, and the same thing happens there.
Version 0.14.5 does not have this problem, but crashes as soon as I try to play some video. In this case, no crash log is uploaded to the server. Checking logcat also shows a bunch of OutOfMemoryError. Let me know if it's useful to get a logcat snippet from this version, or any other things that can be useful.
In 0.15 we've migrated more code to use our new SDK which is rewritten from scratch. So that's probably why the issue starts in the first 0.15 beta.
If I understand the exception in the issue description correctly, it appears that the app only gets 16mb of memory to work with. This is far too little. I have no clue as to why that happens, we even specify in the Android manifest that we need a large heap.
If I understand the exception in the issue description correctly, it appears that the app only gets 16mb of memory to work with. This is far too little. I have no clue as to why that happens, we even specify in the Android manifest that we need a large heap.
Very new to Android development but I drew a similar conclusion. I'll do some more digging, maybe try earlier AOSP builds to see in which version this starts happening. It's working fine on the "official" Khadas Android TV build, but that's using Android 9, which is ancient and full of unpatched security bugs, hence my attempt at AOSP.
Update: same problem with AOSP 12. AOSP 11 doesn't seem to support the VIM3. It does support the VIM3L, and I have one of those as well, but didn't manage to install my AOSP 11 build on it yet. To be continued ...
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.
Describe the bug
This happens with 0.15.0-beta.4 debug build. Also happened with 0.15.0-beta.3 release build.
Memory info before starting Jellyfin:
Logs
44c46cb4fd64565ba2c75471a9c5a40.log
client: Jellyfin for Android TV client_version: 0.15.0-beta.4 client_repository: https://github.com/jellyfin/jellyfin-androidtv type: crash_report format: markdown
Logs
Stack Trace:
Logcat:
App information
App version:
0.15.0-beta.4
(150004
) Package name:org.jellyfin.androidtv.debug
Build:Build config:
Device information
Android version:
13
Device brand:Android
Device product:yukawa
Device model:ATV on yukawa
Crash information
Start time:
2022-12-11T14:41:12.200+00:00
Crash time:2022-12-11T14:42:11.878+00:00
Application version
0.15.0-beta.4
Where did you install the app from?
Sideloaded APK
Device information
Khadas VIM3
Android version
AOSP 13
Jellyfin server version
10.8.8