[GH-ISSUE #424] Crashing on startup on Linux Mint #231

Closed
opened 2026-03-02 23:45:43 +03:00 by kerem · 4 comments
Owner

Originally created by @vitorcsantos on GitHub (Apr 22, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/424

Hello, I have been using the application with no problems on my Windows machine, but when I tried running it on Linux just now, it encountered a problem and hangs on a blank terminal after launch. It launched "properly" once, with the message about setting up the Spotify connect properly, but it became unresponsive. I closed it and relaunched, and now it hangs/crashes 100% of the time. Looking into the logs, I found this excerpt on the backtrace (that Github doesn't let me upload so I'll copy and paste what I believe is the relevant part:

Got a panic: PanicInfo { payload: Any { .. }, message: Some( byte index 31 is not a char boundary; it is inside '殻' (bytes 30..33) of GHOST IN THE SHELL Series -攻殻機動隊シリーズ- • Spotify, ), location: Location { file: "/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.26.2/src/text/line.rs", line: 477, col: 59, }, can_unwind: true, force_no_backtrace: false, }

From what it looks like, the japanese characters in one of my saved playlists caused it to break. Attached below is the log file from that same execution, hopefully it is helpful in finding the solution.
spotify-player-24-04-22-09-06.log

  • OS: Linux Mint Cinnamon
  • Application version: v0.18.0
Originally created by @vitorcsantos on GitHub (Apr 22, 2024). Original GitHub issue: https://github.com/aome510/spotify-player/issues/424 Hello, I have been using the application with no problems on my Windows machine, but when I tried running it on Linux just now, it encountered a problem and hangs on a blank terminal after launch. It launched "properly" once, with the message about setting up the Spotify connect properly, but it became unresponsive. I closed it and relaunched, and now it hangs/crashes 100% of the time. Looking into the logs, I found this excerpt on the backtrace (that Github doesn't let me upload so I'll copy and paste what I believe is the relevant part: `Got a panic: PanicInfo { payload: Any { .. }, message: Some( byte index 31 is not a char boundary; it is inside '殻' (bytes 30..33) of `GHOST IN THE SHELL Series -攻殻機動隊シリーズ- • Spotify`, ), location: Location { file: "/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.26.2/src/text/line.rs", line: 477, col: 59, }, can_unwind: true, force_no_backtrace: false, }` From what it looks like, the japanese characters in one of my saved playlists caused it to break. Attached below is the log file from that same execution, hopefully it is helpful in finding the solution. [spotify-player-24-04-22-09-06.log](https://github.com/aome510/spotify-player/files/15062690/spotify-player-24-04-22-09-06.log) - OS: Linux Mint Cinnamon - Application version: v0.18.0
kerem 2026-03-02 23:45:43 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@aome510 commented on GitHub (Apr 22, 2024):

https://github.com/ratatui-org/ratatui/issues/1032

This issue seems to only happen for ratatui 0.26.2, which is recently upgraded. Does it work with spotify_player v0.17.2?

<!-- gh-comment-id:2069470467 --> @aome510 commented on GitHub (Apr 22, 2024): https://github.com/ratatui-org/ratatui/issues/1032 This issue seems to only happen for `ratatui 0.26.2`, which is recently upgraded. Does it work with `spotify_player v0.17.2`?
Author
Owner

@vitorcsantos commented on GitHub (Apr 22, 2024):

Yup, trying on v0.17.2 got it working correctly again, no issues in loading or playing that playlist. Now I noticed you updated 0.18 just yesterday, I think my Windows version might also be on 0.17.2 and didn't show that same error. I'm going to try downloading the latest and see if it also breaks there.
Edit: yup, Windows version 0.18.0 also hangs on load, going to stick with version 0.17.2 for the time being.

<!-- gh-comment-id:2070187653 --> @vitorcsantos commented on GitHub (Apr 22, 2024): Yup, trying on v0.17.2 got it working correctly again, no issues in loading or playing that playlist. Now I noticed you updated 0.18 just yesterday, I think my Windows version might also be on 0.17.2 and didn't show that same error. I'm going to try downloading the latest and see if it also breaks there. Edit: yup, Windows version 0.18.0 also hangs on load, going to stick with version 0.17.2 for the time being.
Author
Owner

@aome510 commented on GitHub (Apr 26, 2024):

Should be fixed in v0.18.1

<!-- gh-comment-id:2080125173 --> @aome510 commented on GitHub (Apr 26, 2024): Should be fixed in [`v0.18.1`](https://github.com/aome510/spotify-player/releases/tag/v0.18.1)
Author
Owner

@joshka commented on GitHub (Apr 29, 2024):

The Ratatui bug for this is https://github.com/ratatui-org/ratatui/issues/1032

<!-- gh-comment-id:2083708470 --> @joshka commented on GitHub (Apr 29, 2024): The Ratatui bug for this is https://github.com/ratatui-org/ratatui/issues/1032
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#231
No description provided.