librespot: repeated hang then crash on specific track
Each time librespot tries to play this one specific track, it does this and then hangs:
INFO:librespot_playback::player: Loading track "Blueshead" with Spotify URI "spotify:track:4XBOUjNwPXBn4cNprjJUNz"
ERROR:librespot_core::channel: channel error: 2 1
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: ChannelError', src/libcore/result.rs:906:4
stack backtrace:
0: 0x76e1d11f - std::sys::imp::backtrace::tracing::imp::unwind_backtrace::h4de73fc81b6807c7
1: 0x76e20143 - std::panicking::default_hook::{{closure}}::h848bf6c3490aee4d
2: 0x76e1fd63 - std::panicking::default_hook::h4fe2d2df1ed204b0
3: 0x76e211a7 - std::panicking::rust_panic_with_hook::h9b4aa089a9a9ce9e
4: 0x76e2106b - std::panicking::begin_panic::h53a3a916129561a4
5: 0x76e20ffb - std::panicking::begin_panic_fmt::hf066cbae253500d0
6: 0x76e20fa3 - rust_begin_unwind
7: 0x76e63de3 - core::panicking::panic_fmt::h4fd1c90c9fe8e2d3
8: 0x76aa4f0b - core::result::unwrap_failed::h1abb7a2533f5719a
9: 0x76ab13c7 - librespot_playback::player::PlayerInternal::load_track::hd02e66902a0fefe0
10: 0x76aab4db - librespot_playback::player::PlayerInternal::run::hdbfe288286947dc3
11: 0x76a3876f - std::sys_common::backtrace::__rust_begin_short_backtrace::h17a3e3b913c5aa85
12: 0x76a389eb - std::panicking::try::do_call::hdfaf041af494c9c6
13: 0x76e27aab - __rust_maybe_catch_panic
14: 0x76a48e8b - <F as alloc::boxed::FnBox<A>>::call_box::hbd75d0355ee312fd
15: 0x76e1eb37 - std::sys::imp::thread::Thread::new::thread_start::h06224e13e306378b
In that state, after I press pause in another spotify connect client, it completely crashes with this:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libcore/result.rs:906:4
stack backtrace:
0: 0x76e1d11f - std::sys::imp::backtrace::tracing::imp::unwind_backtrace::h4de73fc81b6807c7
1: 0x76e20143 - std::panicking::default_hook::{{closure}}::h848bf6c3490aee4d
2: 0x76e1fd63 - std::panicking::default_hook::h4fe2d2df1ed204b0
3: 0x76e211a7 - std::panicking::rust_panic_with_hook::h9b4aa089a9a9ce9e
4: 0x76e2106b - std::panicking::begin_panic::h53a3a916129561a4
5: 0x76e20ffb - std::panicking::begin_panic_fmt::hf066cbae253500d0
6: 0x76e20fa3 - rust_begin_unwind
7: 0x76e63de3 - core::panicking::panic_fmt::h4fd1c90c9fe8e2d3
8: 0x76aa566f - core::result::unwrap_failed::he775410253602965
9: 0x76aa9f17 - librespot_playback::player::Player::command::h9a4287dab7269530
10: 0x76aaa4af - librespot_playback::player::Player::pause::he416039cc74e3770
11: 0x76a8e877 - librespot_connect::spirc::SpircTask::handle_pause::h44e381ac1e7439dc
12: 0x76a8d91b - <librespot_connect::spirc::SpircTask as futures::future::Future>::poll::hc23213daa84a84a0
13: 0x76a39ab7 - <futures::task_impl::Spawn<T>>::enter::{{closure}}::hbc822b6ed8ebc064
14: 0x76a38c8b - <futures::task_impl::Spawn<T>>::enter::{{closure}}::h7fa7b127228bfc72
15: 0x76a532c3 - librespot::main::he83be40c0fbadf95
16: 0x76e27aab - __rust_maybe_catch_panic
17: 0x76e20ec3 - std::panicking::try::hcc161dea87e04bc4
18: 0x76e11fb3 - std::rt::lang_start::h4da2ac1b68ff20e0
19: 0x7682733f - __libc_start_main
ERROR:librespot_playback::player: Player thread panicked!
No problems playing anything else on that album, or any other albums, today.
Command line is librespot -b 320 --linear-volume -n cubox --initial-volume 100 -u ... -p ...
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 22 (7 by maintainers)
I think this issue was fixed during the last year, I just tried to play every song which was listed here as failing but it seems to work now, at least with ncspot using the librespot library.
I collected all tracks into this playlist (spotify:playlist:5FCf0P8nxLKwjBXpbvyGSg)
Same thing happens with S.A.E. by Boozoo Bajou.
URI: "spotify:track:1s2CPTmt4HNlLf8lNPprrT"