plietar / librespot

Open Source Spotify client library
MIT License
1.14k stars 185 forks source link

librespot crashing on connect #213

Closed NicolasHaeffner closed 7 years ago

NicolasHaeffner commented 7 years ago

Hi, librespot is currently crashing, when I try to connect to it:

RUST_BACKTRACE=1 /usr/local/bin/librespot -u ********* -p ********** --name NUC --bitrate 320 --backend pulseaudio --cache /home/nicolas/.cache/librespot
INFO:librespot: librespot 67deb07 (2017-06-30). Built on 2017-07-05.
INFO:librespot::session: Connecting to AP "lon6-accesspoint-a11.ap.spotify.com:4070"
INFO:librespot::session: Authenticated as "**********" !
INFO:librespot::session: Country: "DE"
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: WireError("invalid value for enum: 12")', /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libcore/result.rs:868
stack backtrace:
   1:     0x556b4a34243c - std::sys::imp::backtrace::tracing::imp::write::hf33ae72d0baa11ed
                        at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:42
   2:     0x556b4a3472fe - std::panicking::default_hook::{{closure}}::h59672b733cc6a455
                        at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libstd/panicking.rs:351
   3:     0x556b4a346f04 - std::panicking::default_hook::h1670459d2f3f8843
                        at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libstd/panicking.rs:367
   4:     0x556b4a34779b - std::panicking::rust_panic_with_hook::hcf0ddb069e7beee7
                        at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libstd/panicking.rs:555
   5:     0x556b4a347634 - std::panicking::begin_panic::hd6eb68e27bdf6140
                        at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libstd/panicking.rs:517
   6:     0x556b4a347559 - std::panicking::begin_panic_fmt::hfea5965948b877f8
                        at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libstd/panicking.rs:501
   7:     0x556b4a3474e7 - rust_begin_unwind
                        at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libstd/panicking.rs:477
   8:     0x556b4a372bdd - core::panicking::panic_fmt::hc0f6d7b2c300cdd9
                        at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libcore/panicking.rs:69
   9:     0x556b4a035089 - core::result::unwrap_failed::ha4e32847e03732e2
  10:     0x556b4a00ff29 - <futures::future::and_then::AndThen<A, B, F> as futures::future::Future>::poll::h7340a482ef91fab8
  11:     0x556b4a098402 - librespot::player::PlayerInternal::load_track::h17ea922339934a62
  12:     0x556b4a094e1f - librespot::player::PlayerInternal::run::h126b93a3d90750ac
  13:     0x556b49ff5412 - std::panicking::try::do_call::h6267f122b88f24cd
  14:     0x556b4a34e7ba - __rust_maybe_catch_panic
                        at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libpanic_unwind/lib.rs:98
  15:     0x556b49ff9ced - <F as alloc::boxed::FnBox<A>>::call_box::h9a7aa42ed9dbdc5b
  16:     0x556b4a3465e4 - std::sys::imp::thread::Thread::new::thread_start::he668872ac11287ba
                        at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/liballoc/boxed.rs:624
                        at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libstd/sys_common/thread.rs:21
                        at /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libstd/sys/unix/thread.rs:84
  17:     0x7f7917f896b9 - start_thread
  18:     0x7f7917cbf3dc - clone
  19:                0x0 - <unknown>

maybe they changed smth again in the API?