[GH-ISSUE #249] crash when track is not available #171

Closed
opened 2026-02-27 19:29:13 +03:00 by kerem · 1 comment
Owner

Originally created by @wdehoog on GitHub (Sep 18, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/249

Librespot crashes when trying to play a track that is not available. This happens consistently while playing a playlist. Probably due to being not available for the current 'market'.

Sep 17 22:15:27 Sailfish librespot[16473]: WARN:librespot_playback::player: Track "Beautiful Lies VIP" is not available
Sep 17 22:15:27 Sailfish librespot[16473]: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: SpotifyIdError', src/libcore/result.rs:906:4
Sep 17 22:15:27 Sailfish librespot[16473]: stack backtrace:
Sep 17 22:15:27 Sailfish librespot[16473]: 0: 0xb6e54bcb - std::sys::imp::backtrace::tracing::imp::unwind_backtrace::hc84c7750073bd460
Sep 17 22:15:27 Sailfish librespot[16473]: 1: 0xb6e50713 - std::sys_common::backtrace::_print::ha0d301943d8aa984
Sep 17 22:15:27 Sailfish librespot[16473]: 2: 0xb6e5974f - std::panicking::default_hook::{{closure}}::h3ba1f9aa602f147d
Sep 17 22:15:27 Sailfish librespot[16473]: 3: 0xb6e5945f - std::panicking::default_hook::h99a47e6dd7455d43
Sep 17 22:15:27 Sailfish librespot[16473]: 4: 0xb6e59cbf - std::panicking::rust_panic_with_hook::h56366b27cd53256d
Sep 17 22:15:27 Sailfish librespot[16473]: 5: 0xb6e59b0f - std::panicking::begin_panic::hc452e5a463a77b1b
Sep 17 22:15:27 Sailfish librespot[16473]: 6: 0xb6e59a8f - std::panicking::begin_panic_fmt::h1d7fc6d4081886d5
Sep 17 22:15:27 Sailfish librespot[16473]: 7: 0xb6e59a2b - rust_begin_unwind
Sep 17 22:15:27 Sailfish librespot[16473]: 8: 0xb6e67343 - core::panicking::panic_fmt::h4fd1c90c9fe8e2d3
Sep 17 22:15:27 Sailfish librespot[16473]: 9: 0xb6a517e3 - core::result::unwrap_failed::hb1edc23692e17500
Sep 17 22:15:27 Sailfish librespot[16473]: 10: 0xb6a7204b - librespot_connect::spirc::SpircTask::load_track::hfaa26dc0e4ea3f42
Sep 17 22:15:27 Sailfish librespot[16473]: 11: 0xb6a713ef - librespot_connect::spirc::SpircTask::handle_next::h949b3ef3da29053e
Sep 17 22:15:27 Sailfish librespot[16473]: 12: 0xb6a70d6f - <librespot_connect::spirc::SpircTask as futures::future::Future>::poll::hd27371110b236f83
Sep 17 22:15:27 Sailfish librespot[16473]: 13: 0xb6a17387 - <futures::task_impl::Spawn<T>>::enter::{{closure}}::h4e7372ed125ec776
Sep 17 22:15:27 Sailfish librespot[16473]: 14: 0xb6a187e3 - <futures::task_impl::Spawn<T>>::enter::{{closure}}::he30dc04e6842fa29
Sep 17 22:15:27 Sailfish librespot[16473]: 15: 0xb6a0fe37 - tokio_core::reactor::Core::run::h46edec13e4ff4524
Sep 17 22:15:27 Sailfish librespot[16473]: 16: 0xb6a3275f - librespot::main::h2c51e701c5fcef81
Sep 17 22:15:27 Sailfish librespot[16473]: 17: 0xb6e5f0b7 - __rust_maybe_catch_panic
Sep 17 22:15:27 Sailfish librespot[16473]: 18: 0xb6e5a4df - std::rt::lang_start::ha6336c7a6712f940
Sep 17 22:15:27 Sailfish librespot[16473]: 19: 0xb6875979 - __libc_start_main
Originally created by @wdehoog on GitHub (Sep 18, 2018). Original GitHub issue: https://github.com/librespot-org/librespot/issues/249 Librespot crashes when trying to play a track that is not available. This happens consistently while playing a playlist. Probably due to being not available for the current 'market'. ``` Sep 17 22:15:27 Sailfish librespot[16473]: WARN:librespot_playback::player: Track "Beautiful Lies VIP" is not available Sep 17 22:15:27 Sailfish librespot[16473]: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: SpotifyIdError', src/libcore/result.rs:906:4 Sep 17 22:15:27 Sailfish librespot[16473]: stack backtrace: Sep 17 22:15:27 Sailfish librespot[16473]: 0: 0xb6e54bcb - std::sys::imp::backtrace::tracing::imp::unwind_backtrace::hc84c7750073bd460 Sep 17 22:15:27 Sailfish librespot[16473]: 1: 0xb6e50713 - std::sys_common::backtrace::_print::ha0d301943d8aa984 Sep 17 22:15:27 Sailfish librespot[16473]: 2: 0xb6e5974f - std::panicking::default_hook::{{closure}}::h3ba1f9aa602f147d Sep 17 22:15:27 Sailfish librespot[16473]: 3: 0xb6e5945f - std::panicking::default_hook::h99a47e6dd7455d43 Sep 17 22:15:27 Sailfish librespot[16473]: 4: 0xb6e59cbf - std::panicking::rust_panic_with_hook::h56366b27cd53256d Sep 17 22:15:27 Sailfish librespot[16473]: 5: 0xb6e59b0f - std::panicking::begin_panic::hc452e5a463a77b1b Sep 17 22:15:27 Sailfish librespot[16473]: 6: 0xb6e59a8f - std::panicking::begin_panic_fmt::h1d7fc6d4081886d5 Sep 17 22:15:27 Sailfish librespot[16473]: 7: 0xb6e59a2b - rust_begin_unwind Sep 17 22:15:27 Sailfish librespot[16473]: 8: 0xb6e67343 - core::panicking::panic_fmt::h4fd1c90c9fe8e2d3 Sep 17 22:15:27 Sailfish librespot[16473]: 9: 0xb6a517e3 - core::result::unwrap_failed::hb1edc23692e17500 Sep 17 22:15:27 Sailfish librespot[16473]: 10: 0xb6a7204b - librespot_connect::spirc::SpircTask::load_track::hfaa26dc0e4ea3f42 Sep 17 22:15:27 Sailfish librespot[16473]: 11: 0xb6a713ef - librespot_connect::spirc::SpircTask::handle_next::h949b3ef3da29053e Sep 17 22:15:27 Sailfish librespot[16473]: 12: 0xb6a70d6f - <librespot_connect::spirc::SpircTask as futures::future::Future>::poll::hd27371110b236f83 Sep 17 22:15:27 Sailfish librespot[16473]: 13: 0xb6a17387 - <futures::task_impl::Spawn<T>>::enter::{{closure}}::h4e7372ed125ec776 Sep 17 22:15:27 Sailfish librespot[16473]: 14: 0xb6a187e3 - <futures::task_impl::Spawn<T>>::enter::{{closure}}::he30dc04e6842fa29 Sep 17 22:15:27 Sailfish librespot[16473]: 15: 0xb6a0fe37 - tokio_core::reactor::Core::run::h46edec13e4ff4524 Sep 17 22:15:27 Sailfish librespot[16473]: 16: 0xb6a3275f - librespot::main::h2c51e701c5fcef81 Sep 17 22:15:27 Sailfish librespot[16473]: 17: 0xb6e5f0b7 - __rust_maybe_catch_panic Sep 17 22:15:27 Sailfish librespot[16473]: 18: 0xb6e5a4df - std::rt::lang_start::ha6336c7a6712f940 Sep 17 22:15:27 Sailfish librespot[16473]: 19: 0xb6875979 - __libc_start_main ```
kerem closed this issue 2026-02-27 19:29:13 +03:00
Author
Owner

@ashthespy commented on GitHub (Mar 20, 2020):

This should no longer happen with current versions..

<!-- gh-comment-id:601944303 --> @ashthespy commented on GitHub (Mar 20, 2020): This should no longer happen with current versions..
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#171
No description provided.