librespot: Crash on connect
On the latest project version on OS X, I see the device in Spotify Connect but librespot crashes when I connect to it:
$ target/release/librespot -n Librespot
INFO:librespot: librespot d40c0f5 (2018-05-16). Built on 2018-05-17. Build ID: GxFW96z8
WARN:mdns::fsm: error sending packet Os { code: 65, kind: Other, message: "No route to host" }
INFO:librespot_core::session: Connecting to AP "guc3-accesspoint-b-wxrw.ap.spotify.com:4070"
INFO:librespot_core::session: Authenticated as "REDACTED" !
INFO:librespot_core::session: Country: "US"
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: WireError(InvalidEnumValue(14))', libcore/result.rs:945:5
stack backtrace:
0: 0x1021c882b - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h3f18d3fe7b409cbd
1: 0x1021b291b - std::sys_common::backtrace::print::hfd7004b5bee7b0b3
2: 0x1021c0b6d - std::panicking::default_hook::{{closure}}::hb39bacd7102e387a
3: 0x1021c08ca - std::panicking::default_hook::h81449bb3ee2c264c
4: 0x1021c0fe6 - std::panicking::rust_panic_with_hook::h0baa7f6d452ec656
5: 0x1021c0e1a - std::panicking::begin_panic_fmt::hb73f14e064bcaac6
6: 0x1021c0d12 - rust_begin_unwind
7: 0x1021fc245 - core::panicking::panic_fmt::h1f931e954ed5ca10
8: 0x101d37fed - core::result::unwrap_failed::h89c26c22b83db455
9: 0x101d2b8fc - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &'a mut F>::call_once::haa19ec0ec08ab3da
10: 0x101d4cdc8 - <futures::stream::map::Map<S, F> as futures::stream::Stream>::poll::h1279f2f676912801
11: 0x101d306c3 - <librespot_connect::spirc::SpircTask as futures::future::Future>::poll::h53355516242d97d3
12: 0x101d072ba - <librespot::Main as futures::future::Future>::poll::hf62b408878027c35
13: 0x101ce433c - <futures::task_impl::Spawn<T>>::poll_future_notify::hffe548c8bee7756b
14: 0x101ce41c6 - <futures::task_impl::Spawn<T>>::poll_future_notify::he8732aed2b4db136
15: 0x101cee751 - <std::thread::local::LocalKey<T>>::with::h2e50911a234dc4f9
16: 0x101cfa128 - <tokio::executor::current_thread::Entered<'a, P>>::block_on::h192d657a7337ed64
17: 0x101cee9ab - <std::thread::local::LocalKey<T>>::with::h794c42a689db370f
18: 0x101cee647 - <std::thread::local::LocalKey<T>>::with::h16e2725fa9ac4084
19: 0x101cee4f0 - <std::thread::local::LocalKey<T>>::with::h0f4d651a1d7e64c3
20: 0x101cef715 - <scoped_tls::ScopedKey<T>>::set::h597b24e1b7405f61
21: 0x101ce96e3 - tokio_core::reactor::Core::run::hd44178e1cb142dd0
22: 0x101d096b4 - librespot::main::hcd85999e9d3f24cc
23: 0x101cff805 - std::rt::lang_start::{{closure}}::h825b5a97fa1e332e
24: 0x1021c0c77 - std::panicking::try::do_call::h31b28181f28d5f56
25: 0x1021d3aae - __rust_maybe_catch_panic
26: 0x1021beec1 - std::rt::lang_start_internal::h2bf4e04a5f964a3d
27: 0x101d0a53b - main
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 3
- Comments: 21 (8 by maintainers)
Tracking this for Raspotify as well!