spotify-player icon indicating copy to clipboard operation
spotify-player copied to clipboard

Segfaults when restarting client

Open sewnie opened this issue 10 months ago • 2 comments

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

sewnie avatar Feb 27 '25 13:02 sewnie

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

sewnie avatar Mar 13 '25 09:03 sewnie

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

aome510 avatar Mar 13 '25 17:03 aome510