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

[BUG] Player thread panicked. Macos BigSur #752

Closed
Tintef opened this issue Jan 8, 2021 · 2 comments
Closed

[BUG] Player thread panicked. Macos BigSur #752

Tintef opened this issue Jan 8, 2021 · 2 comments
Labels
bug A functionality or parts of a program that do not work as intended

Comments

@Tintef
Copy link

Tintef commented Jan 8, 2021

Description

After installing spotifyd using brew (both normal and head: brew install spotifyd and brew install spotifyd --head) and setting my config I get the following error when trying to play a song from spotify-tui:

Caught panic with message: attempted to zero-initialize type `librespot_tremor::tremor_sys::ov_callbacks`, which is invalid

Here's my config file:

[global]
username = "********"
password = "********"

device_name = "********"
device_type = "computer"

backend = "rodio"
volume_controller = "softvol"
bitrate = 320

cache_path = "/Users/<username>/Library/Application Support/Spotify/PersistentCache/Storage"
no_audio_cache = false

volume_normalisation = true
normalisation_pregain = -10

zeroconf_port = 1234

To Reproduce
Not sure if it's easy to reproduce 😞 I'll list my versions below.

Expected behavior
No error on the terminal and music plays 😄

Logs

Click to show logs > RUST_BACKTRACE=1 spotifyd --no-daemon
Loading config from "/Users//.config/spotifyd/spotifyd.conf"
No proxy specified
Using software volume controller.
Failed to register IPv6 receiver: Os { code: 49, kind: AddrNotAvailable, message: "Can\'t assign requested address" }
Connecting to AP "guc3-accesspoint-b-s9w6.ap.spotify.com:443"
Authenticated as "*********" !
Country: "UY"
Loading with Spotify URI
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(..)"
Player thread panicked!

Versions (please complete the following information):

  • OS: macos bigsur - 11.1
  • Spotifyd: 0.2.24
  • cargo: 1.48.0

Additional context:

I'm willing to build from source and change whatever is necessary to test/debug, I just don't know what to try.

Thanks in advance!

@Tintef Tintef added the bug A functionality or parts of a program that do not work as intended label Jan 8, 2021
@JojiiOfficial
Copy link
Member

Try to compile it with rust 1.47.0. This is a duplicate of #719.

@Tintef
Copy link
Author

Tintef commented Jan 8, 2021

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

2 participants