[GH-ISSUE #369] Crashes whenever it attempts to play an unavailable song (and no indication if the song is unavailable) #251

Closed
opened 2026-02-28 14:31:40 +03:00 by kerem · 2 comments
Owner

Originally created by @alexlyee on GitHub (Jan 22, 2023).
Original GitHub issue: https://github.com/jpochyla/psst/issues/369

Describe the bug
The app crashes whenever I try to play a song that is on my playlist but is no longer available on Spotify.

To Reproduce
Simply play any song from a playlist that is unavailable (greyed out on the Spotify app)

Expected behavior
For it to not play at all, display an error, or preferably to grey out the track to indicate that it is no longer available on Spotify.

Environment

  • OS: Windows
  • Version: latest

It might be worth mentioning that the app crashed when I updated my NVIDIA graphics drivers. Not a big deal, but perhaps worth knowing.

Originally created by @alexlyee on GitHub (Jan 22, 2023). Original GitHub issue: https://github.com/jpochyla/psst/issues/369 **Describe the bug** The app crashes whenever I try to play a song that is on my playlist but is no longer available on Spotify. **To Reproduce** Simply play any song from a playlist that is unavailable (greyed out on the Spotify app) **Expected behavior** For it to not play at all, display an error, or preferably to grey out the track to indicate that it is no longer available on Spotify. **Environment** - OS: Windows - Version: latest It might be worth mentioning that the app crashed when I updated my NVIDIA graphics drivers. Not a big deal, but perhaps worth knowing.
kerem 2026-02-28 14:31:40 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Insprill commented on GitHub (Jan 22, 2023):

Can you run psst with RUST_BACKTRACE=1 and send the output when it crashes?

<!-- gh-comment-id:1399611579 --> @Insprill commented on GitHub (Jan 22, 2023): Can you run psst with `RUST_BACKTRACE=1` and send the output when it crashes?
Author
Owner

@alexlyee commented on GitHub (Jan 22, 2023):

This time I tried to play one a bunch of times and it simply played random songs on my playlist, and then hung on one random one. The console output looked like--

[2023-01-22T21:27:07Z INFO  psst_core::player] stale load result received, ignoring
[2023-01-22T21:27:07Z ERROR psst_core::player] stopping, error while loading: Audio file not found
[2023-01-22T21:27:07Z INFO  symphonia_format_ogg::demuxer] starting new physical stream
[2023-01-22T21:27:07Z INFO  symphonia_format_ogg::demuxer] selected vorbis mapper for stream with serial=0x0
[2023-01-22T21:27:07Z INFO  psst_core::player::file] blocked at 6144
[2023-01-22T21:27:07Z INFO  psst_core::player::file] blocked at 8032057
[2023-01-22T21:27:08Z INFO  psst_core::player::file] blocked at 8064825
[2023-01-22T21:27:08Z INFO  psst_core::player::file] blocked at 8068860
[2023-01-22T21:27:08Z INFO  psst_core::player::file] blocked at 8085244
[2023-01-22T21:27:08Z INFO  psst_core::player::file] blocked at 8093436
[2023-01-22T21:27:08Z INFO  psst_core::player] stale load result received, ignoring
[2023-01-22T21:27:08Z ERROR psst_core::player] skipping, error while loading: Audio file not found
[2023-01-22T21:27:08Z INFO  symphonia_format_ogg::demuxer] starting new physical stream
[2023-01-22T21:27:08Z INFO  symphonia_format_ogg::demuxer] selected vorbis mapper for stream with serial=0x0
[2023-01-22T21:27:08Z INFO  psst_core::player::file] blocked at 5449121
[2023-01-22T21:27:08Z INFO  psst_core::player::file] blocked at 5487972
[2023-01-22T21:27:08Z INFO  psst_core::player::file] blocked at 5504356
[2023-01-22T21:27:08Z INFO  psst_core::player::file] blocked at 5512548
[2023-01-22T21:27:08Z INFO  psst_core::player] starting playback
[2023-01-22T21:27:08Z INFO  audio_thread_priority::rt_win] task 19 bumped to real time priority.

--and then hung (spinning loading sign on one song, won't let me change the song or pause loading)

I'm in an elevated powershell and ran set RUST_BACKTRACE=1 before running .\psst-gui.exe. Not sure if I'm doing something wrong now...

I can't replicate it now, it's simply skipping to the next song just fine. Would still be nice to have some indicator that it can't get the song though. I'll just chalk it up to a one-off thing. My Windows PC was on for quite a number of days, and actually crashed with a page file error code that I think is unrelated while I was using the app normally.

<!-- gh-comment-id:1399615790 --> @alexlyee commented on GitHub (Jan 22, 2023): This time I tried to play one a bunch of times and it simply played random songs on my playlist, and then hung on one random one. The console output looked like-- ```powershell [2023-01-22T21:27:07Z INFO psst_core::player] stale load result received, ignoring [2023-01-22T21:27:07Z ERROR psst_core::player] stopping, error while loading: Audio file not found [2023-01-22T21:27:07Z INFO symphonia_format_ogg::demuxer] starting new physical stream [2023-01-22T21:27:07Z INFO symphonia_format_ogg::demuxer] selected vorbis mapper for stream with serial=0x0 [2023-01-22T21:27:07Z INFO psst_core::player::file] blocked at 6144 [2023-01-22T21:27:07Z INFO psst_core::player::file] blocked at 8032057 [2023-01-22T21:27:08Z INFO psst_core::player::file] blocked at 8064825 [2023-01-22T21:27:08Z INFO psst_core::player::file] blocked at 8068860 [2023-01-22T21:27:08Z INFO psst_core::player::file] blocked at 8085244 [2023-01-22T21:27:08Z INFO psst_core::player::file] blocked at 8093436 [2023-01-22T21:27:08Z INFO psst_core::player] stale load result received, ignoring [2023-01-22T21:27:08Z ERROR psst_core::player] skipping, error while loading: Audio file not found [2023-01-22T21:27:08Z INFO symphonia_format_ogg::demuxer] starting new physical stream [2023-01-22T21:27:08Z INFO symphonia_format_ogg::demuxer] selected vorbis mapper for stream with serial=0x0 [2023-01-22T21:27:08Z INFO psst_core::player::file] blocked at 5449121 [2023-01-22T21:27:08Z INFO psst_core::player::file] blocked at 5487972 [2023-01-22T21:27:08Z INFO psst_core::player::file] blocked at 5504356 [2023-01-22T21:27:08Z INFO psst_core::player::file] blocked at 5512548 [2023-01-22T21:27:08Z INFO psst_core::player] starting playback [2023-01-22T21:27:08Z INFO audio_thread_priority::rt_win] task 19 bumped to real time priority. ``` --and then hung (spinning loading sign on one song, won't let me change the song or pause loading) I'm in an elevated powershell and ran `set RUST_BACKTRACE=1` before running `.\psst-gui.exe`. Not sure if I'm doing something wrong now... I can't replicate it now, it's simply skipping to the next song just fine. Would still be nice to have some indicator that it can't get the song though. I'll just chalk it up to a one-off thing. My Windows PC was on for quite a number of days, and actually crashed with a page file error code that I _think_ is unrelated while I was using the app normally.
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/psst#251
No description provided.