Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

random <spotify:meta:page:21> parse URI crash #1152

Open
1 of 6 tasks
apprehensions opened this issue Dec 28, 2022 · 2 comments
Open
1 of 6 tasks

random <spotify:meta:page:21> parse URI crash #1152

apprehensions opened this issue Dec 28, 2022 · 2 comments
Labels
bug A functionality or parts of a program that do not work as intended

Comments

@apprehensions
Copy link

Description
Spotifyd or Librespot crashes on a (presumably) unhandled or outdated spotify uri/api request <spotify:meta:page:21>, which causes spotifyd to crash

To Reproduce

  1. play music
  2. it happens, completely randomly

Expected behavior
music keeps playing

Logs

Click to show logs
Malformed or no gid, attempting to parse URI <spotify:meta:page:21>
PANIC: Shutting down spotifyd. Error message: index out of bounds: the len is 20 but the index is 18446744073709551613
drop Spirc[0]
Shutting down player thread ...
  • dbus_mpris
  • dbus_keyring
  • alsa_backend
  • portaudio_backend
  • pulseaudio_backend
  • rodio_backend

Versions (please complete the following information):

  • OS: KISS Linux
  • Spotifyd: 0.3.3
  • cargo: cargo 1.65.0
@apprehensions apprehensions added the bug A functionality or parts of a program that do not work as intended label Dec 28, 2022
@apprehensions
Copy link
Author

this might be a spotify API change and not related to spotifyd

@eladyn
Copy link
Member

eladyn commented Feb 27, 2023

Sorry for replying this late. I think, this happened to me once as well, don't know how to reproduce it however.
I guess, our best chance here is to

  • hope that it magically goes away 😅
  • see if updating to a newer librespot makes the problem disappear

How often do you get this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A functionality or parts of a program that do not work as intended
Projects
None yet
Development

No branches or pull requests

2 participants