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

Panic when loading track #897

Closed
tmplt opened this issue Feb 15, 2021 · 6 comments
Closed

Panic when loading track #897

tmplt opened this issue Feb 15, 2021 · 6 comments
Labels
bug A functionality or parts of a program that do not work as intended

Comments

@tmplt
Copy link

tmplt commented Feb 15, 2021

Description
spotifyd v0.3.0 panics when I play a song.

To Reproduce

  1. nix run -f channel:nixpkgs-unstable spotifyd.

  2. Write into ~/.config/spotifyd/spotifyd.conf:

    [global]
    username = "[REDACTED]"
    password = "[REDACTED]"
    backend = "pulseaudio"
    device_name = "perscitia"
    bitrate = 320
    no_audio_cache = true
    device_type = "computer"
  3. Start spotifyd via spotifyd --no-daemon.

  4. Select spotifyd via Connect and play a track in a playlist.

  5. Observe panic.

Logs

Loading config from "/home/tmplt/.config/spotifyd/spotifyd.conf"
No proxy specified
Using software volume controller.
Connecting to AP "gew1-accesspoint-e-bhhz.ap.spotify.com:443"
Authenticated as "[REDACTED]" !
Country: "SE"
Loading <Nuclear> with Spotify URI <spotify:track:754WgEesWgssZG3XzU9XcG>
Caught panic with message: attempted to zero-initialize type `librespot_tremor::tremor_sys::ov_callbacks`, which is invalid
Caught panic with message: called `Result::unwrap()` on an `Err` value: "SendError(..)"

--verbose spits out a lot of info. I have yet to go through it to redact any eventual credentials.

Versions (please complete the following information):

  • OS: NixOS
  • Spotifyd: v0.3.0
  • cargo: N/A
@tmplt tmplt added the bug A functionality or parts of a program that do not work as intended label Feb 15, 2021
@tmplt
Copy link
Author

tmplt commented Feb 15, 2021

Probably the same issue as in #719.

@emanuelserpa
Copy link

same thing on arch using the spotifyd-full-git package.

@robinvd
Copy link
Contributor

robinvd commented Mar 15, 2021

This should be fixed in 0.3.2 what version are you using @emanuelserpa spotifyd --version

@emanuelserpa
Copy link

Nevermind, was my mistake. I was using spotifyd as a nix package and forgot to update.

@robinvd robinvd closed this as completed Mar 18, 2021
@robinvd
Copy link
Contributor

robinvd commented Mar 18, 2021

I closed it, but if these is still an issue on 0.3.2 please reopen @tmplt

@tmplt
Copy link
Author

tmplt commented Jul 24, 2021

Resolved on 0.3.2 on my end. Thanks.

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

3 participants