[Bug]: App crashes when trying to play a book #1133

Closed
opened 2026-04-24 23:50:28 +02:00 by adam · 4 comments
Owner

Originally created by @twiclo on GitHub (Jan 23, 2025).

What was the Problem?

Cover art is failing to load on my new phone. It's replaced with the logo and text that says "Invalid Cover". When I try to play a file it crashes. This all worked just fine on my last phone.

Steps to Reproduce the Issue

Open app, play a file.

What was Expected?

Playback

Phone Model

Unihertz Jelly Star

Phone OS

LineageOS version '20-20241118-UNOFFICIAL-arm64_bvN'

Audiobookshelf App Version

Android App - 0.9.78

Installation Source

Other (List in "Additional Notes")

Additional Notes

Here is the LineageOS rom I'm running: https://github.com/phhusson/treble_experimentations
Installation source: Github releases

Here are all the logs I can get from the event. Including first launching the app:

{"timestamp":"2025-01-23 09:17:26.236","source":"ApiCacheManager.js:47","message":"[ApiCacheManager] count: 4 size: 79543","levelName":"DEBUG","level":1}
{"timestamp":"2025-01-23 09:17:26.236","source":"ApiCacheManager.js:50","message":"[ApiCacheManager] Cache hit: {\"user\":\"twiclo\",\"url\":\"/libraries\"}","levelName":"DEBUG","level":1}
{"timestamp":"2025-01-23 09:17:26.282","source":"ApiCacheManager.js:47","message":"[ApiCacheManager] count: 4 size: 79543","levelName":"DEBUG","level":1}
{"timestamp":"2025-01-23 09:17:26.283","source":"ApiCacheManager.js:50","message":"[ApiCacheManager] Cache hit: {\"user\":\"twiclo\",\"url\":\"/libraries/b2699d46-1844-4a2f-aede-9355542e1b9d?include=filterdata\"}","levelName":"DEBUG","level":1}
{"timestamp":"2025-01-23 09:17:26.343","source":"SocketAuthority.js:118","message":"[SocketAuthority] Socket Connected FVCwyP2wYH0y6UZ-AAIA","levelName":"INFO","level":2}
{"timestamp":"2025-01-23 09:17:26.374","source":"SocketAuthority.js:210","message":"[SocketAuthority] User Online twiclo","levelName":"DEBUG","level":1}
{"timestamp":"2025-01-23 09:17:26.379","source":"ApiCacheManager.js:47","message":"[ApiCacheManager] count: 4 size: 79543","levelName":"DEBUG","level":1}
{"timestamp":"2025-01-23 09:17:26.379","source":"ApiCacheManager.js:50","message":"[ApiCacheManager] Cache hit: {\"user\":\"twiclo\",\"url\":\"/libraries/b2699d46-1844-4a2f-aede-9355542e1b9d/personalized?minified=1&include=rssfeed,numEpisodesIncomplete\"}","levelName":"DEBUG","level":1}
{"timestamp":"2025-01-23 09:17:33.094","source":"SocketAuthority.js:141","message":"[SocketAuthority] User Offline twiclo","levelName":"DEBUG","level":1}
{"timestamp":"2025-01-23 09:17:33.096","source":"SocketAuthority.js:145","message":"[SocketAuthority] Socket FVCwyP2wYH0y6UZ-AAIA disconnected from client \"twiclo\" after 6753ms (Reason: transport close)","levelName":"INFO","level":2}
Originally created by @twiclo on GitHub (Jan 23, 2025). ### What was the Problem? Cover art is failing to load on my new phone. It's replaced with the logo and text that says "Invalid Cover". When I try to play a file it crashes. This all worked just fine on my last phone. ### Steps to Reproduce the Issue Open app, play a file. ### What was Expected? Playback ### Phone Model Unihertz Jelly Star ### Phone OS LineageOS version '20-20241118-UNOFFICIAL-arm64_bvN' ### Audiobookshelf App Version Android App - 0.9.78 ### Installation Source Other (List in "Additional Notes") ### Additional Notes Here is the LineageOS rom I'm running: https://github.com/phhusson/treble_experimentations Installation source: Github releases Here are all the logs I can get from the event. Including first launching the app: ``` {"timestamp":"2025-01-23 09:17:26.236","source":"ApiCacheManager.js:47","message":"[ApiCacheManager] count: 4 size: 79543","levelName":"DEBUG","level":1} {"timestamp":"2025-01-23 09:17:26.236","source":"ApiCacheManager.js:50","message":"[ApiCacheManager] Cache hit: {\"user\":\"twiclo\",\"url\":\"/libraries\"}","levelName":"DEBUG","level":1} {"timestamp":"2025-01-23 09:17:26.282","source":"ApiCacheManager.js:47","message":"[ApiCacheManager] count: 4 size: 79543","levelName":"DEBUG","level":1} {"timestamp":"2025-01-23 09:17:26.283","source":"ApiCacheManager.js:50","message":"[ApiCacheManager] Cache hit: {\"user\":\"twiclo\",\"url\":\"/libraries/b2699d46-1844-4a2f-aede-9355542e1b9d?include=filterdata\"}","levelName":"DEBUG","level":1} {"timestamp":"2025-01-23 09:17:26.343","source":"SocketAuthority.js:118","message":"[SocketAuthority] Socket Connected FVCwyP2wYH0y6UZ-AAIA","levelName":"INFO","level":2} {"timestamp":"2025-01-23 09:17:26.374","source":"SocketAuthority.js:210","message":"[SocketAuthority] User Online twiclo","levelName":"DEBUG","level":1} {"timestamp":"2025-01-23 09:17:26.379","source":"ApiCacheManager.js:47","message":"[ApiCacheManager] count: 4 size: 79543","levelName":"DEBUG","level":1} {"timestamp":"2025-01-23 09:17:26.379","source":"ApiCacheManager.js:50","message":"[ApiCacheManager] Cache hit: {\"user\":\"twiclo\",\"url\":\"/libraries/b2699d46-1844-4a2f-aede-9355542e1b9d/personalized?minified=1&include=rssfeed,numEpisodesIncomplete\"}","levelName":"DEBUG","level":1} {"timestamp":"2025-01-23 09:17:33.094","source":"SocketAuthority.js:141","message":"[SocketAuthority] User Offline twiclo","levelName":"DEBUG","level":1} {"timestamp":"2025-01-23 09:17:33.096","source":"SocketAuthority.js:145","message":"[SocketAuthority] Socket FVCwyP2wYH0y6UZ-AAIA disconnected from client \"twiclo\" after 6753ms (Reason: transport close)","levelName":"INFO","level":2} ```
adam added the bug label 2026-04-24 23:50:28 +02:00
adam closed this issue 2026-04-24 23:50:30 +02:00
Author
Owner

@Vito0912 commented on GitHub (Jan 23, 2025):

The image loading issue is likely because you are using an outdated server version. Your server must be version 2.17.0 or higher to work with the new version.

As for the crashing during play, I assume you are referring to downloaded content. Ensure that the file is downloaded correctly and with a stable internet connection. Typically, the app crashes if there was an issue during the download.

@Vito0912 commented on GitHub (Jan 23, 2025): The image loading issue is likely because you are using an outdated server version. Your server must be version 2.17.0 or higher to work with the new version. As for the crashing during play, I assume you are referring to downloaded content. Ensure that the file is downloaded correctly and with a stable internet connection. Typically, the app crashes if there was an issue during the download.
Author
Owner

@twiclo commented on GitHub (Jan 23, 2025):

I think you're right about the server version. I haven't had the time to move off CentOS 8. Doing that soon.
I deleted the local file and streaming worked fine. When I hit download again the app crashed. I opened it back up and started the download. The downloaded file still crashes when trying to play. What else can I test to ensure it was downloaded correctly?

@twiclo commented on GitHub (Jan 23, 2025): I think you're right about the server version. I haven't had the time to move off CentOS 8. Doing that soon. I deleted the local file and streaming worked fine. When I hit download again the app crashed. I opened it back up and started the download. The downloaded file still crashes when trying to play. What else can I test to ensure it was downloaded correctly?
Author
Owner

@JTCorrin commented on GitHub (Jan 24, 2025):

I'd had this issue along with the cover missing issue. Updated my server and redownloaded files and on second attempt all seems to have worked. Thanks

@JTCorrin commented on GitHub (Jan 24, 2025): I'd had this issue along with the cover missing issue. Updated my server and redownloaded files and on second attempt all seems to have worked. Thanks
Author
Owner

@github-actions[bot] commented on GitHub (Jan 27, 2025):

Fixed in v0.9.79-beta.

@github-actions[bot] commented on GitHub (Jan 27, 2025): Fixed in [v0.9.79-beta](https://github.com/advplyr/audiobookshelf-app/releases/tag/v0.9.79-beta).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#1133