[GH-ISSUE #683] Segfaults when restarting client #1337

Open
opened 2026-03-14 14:27:44 +03:00 by kerem · 2 comments
Owner

Originally created by @sewnie on GitHub (Feb 27, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/683

Describe the bug
While listening to music, spotify_player suddenly segfaults in the middle of the song.

To Reproduce
I've had a myriad of segfaults occur, and the triggers are one of random, closing wifi, and suspending computer.

Expected behaviour
No segfault i guess?

Log and backtrace
Random segfault:

2025-02-27T12:49:43.541060Z  INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 235ms
2025-02-27T12:49:44.704167Z  INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 397ms
2025-02-27T13:05:01.283958Z ERROR librespot_connect::spirc: user attributes mutation selected, but none received    

Wifi closure:

2025-02-27T12:19:59.323013Z ERROR librespot_core::session: Connection to server closed.    
2025-02-27T12:19:59.323103Z ERROR librespot_connect::spirc: user attributes update selected, but none received    
2025-02-27T12:19:59.323116Z  WARN librespot_connect::spirc: Cannot flush spirc event sender when done.    

No backtraces are ever printed due to the rust program segfaulting

Environment

  • OS: Chimera Linux
  • Application version: 0.20.4
Originally created by @sewnie on GitHub (Feb 27, 2025). Original GitHub issue: https://github.com/aome510/spotify-player/issues/683 **Describe the bug** While listening to music, spotify_player suddenly segfaults in the middle of the song. **To Reproduce** I've had a myriad of segfaults occur, and the triggers are one of random, closing wifi, and suspending computer. **Expected behaviour** No segfault i guess? **Log and backtrace** Random segfault: ``` 2025-02-27T12:49:43.541060Z INFO client_request{request=GetCurrentPlayback}: spotify_player::client: Successfully handled the client request, took: 235ms 2025-02-27T12:49:44.704167Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 397ms 2025-02-27T13:05:01.283958Z ERROR librespot_connect::spirc: user attributes mutation selected, but none received ``` Wifi closure: ``` 2025-02-27T12:19:59.323013Z ERROR librespot_core::session: Connection to server closed. 2025-02-27T12:19:59.323103Z ERROR librespot_connect::spirc: user attributes update selected, but none received 2025-02-27T12:19:59.323116Z WARN librespot_connect::spirc: Cannot flush spirc event sender when done. ``` No backtraces are ever printed due to the rust program segfaulting **Environment** - OS: Chimera Linux - Application version: 0.20.4
Author
Owner

@sewnie commented on GitHub (Mar 13, 2025):

Keeps happening whenever i don't use it for too long.

<!-- gh-comment-id:2720546752 --> @sewnie commented on GitHub (Mar 13, 2025): Keeps happening whenever i don't use it for too long.
Author
Owner

@aome510 commented on GitHub (Mar 13, 2025):

interesting, I haven't encountered this issue myself. Will keep an eye on that.

I'm pretty busy lately so will take a deeper look when I'm free up

<!-- gh-comment-id:2722082216 --> @aome510 commented on GitHub (Mar 13, 2025): interesting, I haven't encountered this issue myself. Will keep an eye on that. I'm pretty busy lately so will take a deeper look when I'm free up
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#1337
No description provided.