[GH-ISSUE #227] librespot crash: WireError(InvalidEnumValue(14)) #153

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

Originally created by @eobanb on GitHub (May 19, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/227

This seems similar to the previously-reported WireError(InvalidEnumValue(13)) crash, however this new crash occurs with the 9d9c311 build and returns WireError(InvalidEnumValue(14)).

INFO:librespot: librespot 9d9c311 (2018-03-11). Built on 2018-03-13. Build ID: BECir1hc
INFO:librespot_core::session: Connecting to AP "guc3-accesspoint-b-lk4d.ap.spotify.com:4070"
INFO:librespot_core::session: Authenticated as "xxxxxxxxxxxx" !
INFO:librespot_playback::audio_backend::alsa: Using alsa sink
INFO:librespot_core::session: Country: "US"
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: WireError(InvalidEnumValue(14))', /checkout/src/libcore/result.rs:916:5
stack backtrace:
   0:   0x88f63f - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h280c621ec0336843
                       at /checkout/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1:   0x89989b - std::sys_common::backtrace::print::h5bb167d48668dac9
                       at /checkout/src/libstd/sys_common/backtrace.rs:68
                       at /checkout/src/libstd/sys_common/backtrace.rs:57
   2:   0x887ec7 - std::panicking::default_hook::{{closure}}::hccf3b2e1cc48596f
                       at /checkout/src/libstd/panicking.rs:381
   3:   0x8879a3 - std::panicking::default_hook::h338b1189515ccc69
                       at /checkout/src/libstd/panicking.rs:397
   4:   0x888373 - std::panicking::rust_panic_with_hook::h5d950fb4a856fba5
                       at /checkout/src/libstd/panicking.rs:577
   5:   0x888217 - std::panicking::begin_panic::h7a5157aecf168062
                       at /checkout/src/libstd/panicking.rs:538
   6:   0x888143 - std::panicking::begin_panic_fmt::hc44606ee40e9a98e
                       at /checkout/src/libstd/panicking.rs:522
   7:   0x8880eb - rust_begin_unwind
                       at /checkout/src/libstd/panicking.rs:498
   8:   0x8f11a3 - core::panicking::panic_fmt::h68e7715928be641f
                       at /checkout/src/libcore/panicking.rs:71
   9:   0x507ccb - core::result::unwrap_failed::hc8e405a7d6f5e105
  10:   0x4e078b - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &'a mut F>::call_once::h550fb1c59c949344
  11:   0x4ff50f - <futures::stream::map::Map<S, F> as futures::stream::Stream>::poll::h6f4042a85363f6fe
  12:   0x4ea1c3 - <librespot_connect::spirc::SpircTask as futures::future::Future>::poll::h2ae68a0a355e9093
  13:   0x472fdf - <librespot::Main as futures::future::Future>::poll::ha34952329266c131
  14:   0x46b61f - futures::task_impl::std::set::haa73a9ee0a468b94
  15:   0x483f8b - tokio_core::reactor::Core::run::h8b40cb76d6ebd0af
  16:   0x474aa3 - librespot::main::hf84f741837bd497f
  17:   0x484a13 - std::rt::lang_start::{{closure}}::h369662dc239e3883
  18:   0x88801b - std::panicking::try::do_call::h9cb586bd57bb9d3d
                       at /checkout/src/libstd/rt.rs:59
                       at /checkout/src/libstd/panicking.rs:480
  19:   0x8aec33 - __rust_maybe_catch_panic
                       at /checkout/src/libpanic_unwind/lib.rs:101
  20:   0x88f2cb - std::rt::lang_start_internal::h104139376fdb9ead
                       at /checkout/src/libstd/panicking.rs:459
                       at /checkout/src/libstd/panic.rs:365
                       at /checkout/src/libstd/rt.rs:58
  21:   0x475583 - main
  22: 0x76db081b - __libc_start_main
Originally created by @eobanb on GitHub (May 19, 2018). Original GitHub issue: https://github.com/librespot-org/librespot/issues/227 This seems similar to the previously-reported WireError(InvalidEnumValue(13)) crash, however this new crash occurs with the 9d9c311 build and returns WireError(InvalidEnumValue(**14**)). ``` INFO:librespot: librespot 9d9c311 (2018-03-11). Built on 2018-03-13. Build ID: BECir1hc INFO:librespot_core::session: Connecting to AP "guc3-accesspoint-b-lk4d.ap.spotify.com:4070" INFO:librespot_core::session: Authenticated as "xxxxxxxxxxxx" ! INFO:librespot_playback::audio_backend::alsa: Using alsa sink INFO:librespot_core::session: Country: "US" thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: WireError(InvalidEnumValue(14))', /checkout/src/libcore/result.rs:916:5 stack backtrace: 0: 0x88f63f - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h280c621ec0336843 at /checkout/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 1: 0x89989b - std::sys_common::backtrace::print::h5bb167d48668dac9 at /checkout/src/libstd/sys_common/backtrace.rs:68 at /checkout/src/libstd/sys_common/backtrace.rs:57 2: 0x887ec7 - std::panicking::default_hook::{{closure}}::hccf3b2e1cc48596f at /checkout/src/libstd/panicking.rs:381 3: 0x8879a3 - std::panicking::default_hook::h338b1189515ccc69 at /checkout/src/libstd/panicking.rs:397 4: 0x888373 - std::panicking::rust_panic_with_hook::h5d950fb4a856fba5 at /checkout/src/libstd/panicking.rs:577 5: 0x888217 - std::panicking::begin_panic::h7a5157aecf168062 at /checkout/src/libstd/panicking.rs:538 6: 0x888143 - std::panicking::begin_panic_fmt::hc44606ee40e9a98e at /checkout/src/libstd/panicking.rs:522 7: 0x8880eb - rust_begin_unwind at /checkout/src/libstd/panicking.rs:498 8: 0x8f11a3 - core::panicking::panic_fmt::h68e7715928be641f at /checkout/src/libcore/panicking.rs:71 9: 0x507ccb - core::result::unwrap_failed::hc8e405a7d6f5e105 10: 0x4e078b - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &'a mut F>::call_once::h550fb1c59c949344 11: 0x4ff50f - <futures::stream::map::Map<S, F> as futures::stream::Stream>::poll::h6f4042a85363f6fe 12: 0x4ea1c3 - <librespot_connect::spirc::SpircTask as futures::future::Future>::poll::h2ae68a0a355e9093 13: 0x472fdf - <librespot::Main as futures::future::Future>::poll::ha34952329266c131 14: 0x46b61f - futures::task_impl::std::set::haa73a9ee0a468b94 15: 0x483f8b - tokio_core::reactor::Core::run::h8b40cb76d6ebd0af 16: 0x474aa3 - librespot::main::hf84f741837bd497f 17: 0x484a13 - std::rt::lang_start::{{closure}}::h369662dc239e3883 18: 0x88801b - std::panicking::try::do_call::h9cb586bd57bb9d3d at /checkout/src/libstd/rt.rs:59 at /checkout/src/libstd/panicking.rs:480 19: 0x8aec33 - __rust_maybe_catch_panic at /checkout/src/libpanic_unwind/lib.rs:101 20: 0x88f2cb - std::rt::lang_start_internal::h104139376fdb9ead at /checkout/src/libstd/panicking.rs:459 at /checkout/src/libstd/panic.rs:365 at /checkout/src/libstd/rt.rs:58 21: 0x475583 - main 22: 0x76db081b - __libc_start_main ```
kerem closed this issue 2026-02-27 19:29:07 +03:00
Author
Owner

@kingosticks commented on GitHub (May 19, 2018):

This was fixed in https://github.com/librespot-org/librespot/pull/224

<!-- gh-comment-id:390363792 --> @kingosticks commented on GitHub (May 19, 2018): This was fixed in https://github.com/librespot-org/librespot/pull/224
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#153
No description provided.