dtcooper / raspotify

A Spotify Connect client that mostly Just Works™

Home Page:https://dtcooper.github.io/raspotify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Infinite loop printing stacktrace after librespot crash

hfs opened this issue · comments

commented

Compatible Device

  • I'm running Raspotify on a compatible Device

Are you sure?

  • I'm not trying to run Raspotify on a ARMv6 device

Compatible OS

  • I'm running Raspotify on a compatible OS

Compatible Configuration

  • I'm running Raspotify on a compatible Configuration

Latest Version

  • I'm running the latest version of Raspotify

Are you sure?

  • I'm not running Raspotify 0.31.8.1 on a Pi v1 or Pi Zero

Due Diligence

  • I have done my due diligence

What happened?

librespot crashed.

thread 'main' panicked at 'Spotify servers returned an error. Restart librespot.'

Afterwards it goes into an infinite loop printing the stacktrace. The line

Nov 28 18:46:38 pi librespot[26728]:   11:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31

is logged over and over to the systemd journal. This defeats the crash detection and automatic restart.

Raspotify version:

raspotify:
  Installed: 0.43.56~librespot.v0.4.2-a6e1258
  Candidate: 0.43.56~librespot.v0.4.2-a6e1258
  Version table:
 *** 0.43.56~librespot.v0.4.2-a6e1258 500
        500 https://dtcooper.github.io/raspotify raspotify/main armhf Packages
        100 /var/lib/dpkg/status

Relevant log output and/or the contents of /etc/raspotify/crash_report if any ( sudo journalctl -u raspotify -b and sudo cat /etc/raspotify/crash_report )

Nov 28 18:10:18 pi librespot[26728]: [2023-11-28T17:10:18Z WARN  librespot_core::mercury] error 400 for uri hm://autoplay-enabled/query?uri=spotify:search:Prinzen+weih
Nov 28 18:10:18 pi librespot[26728]: [2023-11-28T17:10:18Z ERROR librespot_connect::spirc] AutoplayError: MercuryError
Nov 28 18:46:38 pi librespot[26728]: thread 'main' panicked at 'Spotify servers returned an error. Restart librespot.', core/src/mercury/mod.rs:205:13
Nov 28 18:46:38 pi librespot[26728]: stack backtrace:
Nov 28 18:46:38 pi librespot[26728]:    0:   0x780348 - std::backtrace_rs::backtrace::libunwind::trace::ha2b42bf2f314427c
Nov 28 18:46:38 pi librespot[26728]:                        at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
Nov 28 18:46:38 pi librespot[26728]:    1:   0x780348 - std::backtrace_rs::backtrace::trace_unsynchronized::hce6f6873451cec6a
Nov 28 18:46:38 pi librespot[26728]:                        at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
Nov 28 18:46:38 pi librespot[26728]:    2:   0x780348 - std::sys_common::backtrace::_print_fmt::hbb5917ee9a7ab86b
Nov 28 18:46:38 pi librespot[26728]:                        at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/sys_common/backtrace.rs:65:5
Nov 28 18:46:38 pi librespot[26728]:    3:   0x780348 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h654570c090e2c3d0
Nov 28 18:46:38 pi librespot[26728]:                        at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/sys_common/backtrace.rs:44:22
Nov 28 18:46:38 pi librespot[26728]:    4:   0x54c154 - core::fmt::write::hf97893b34347cc9e
Nov 28 18:46:38 pi librespot[26728]:                        at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/fmt/mod.rs:1254:17
Nov 28 18:46:38 pi librespot[26728]:    5:   0x754c00 - std::io::Write::write_fmt::h19d4984882db296f
Nov 28 18:46:38 pi librespot[26728]:                        at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/io/mod.rs:1698:15
Nov 28 18:46:38 pi librespot[26728]:    6:   0x7823b0 - std::sys_common::backtrace::_print::h798eeadabd5e692e
Nov 28 18:46:38 pi librespot[26728]:                        at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/sys_common/backtrace.rs:47:5
Nov 28 18:46:38 pi librespot[26728]:    7:   0x7823b0 - std::sys_common::backtrace::print::hd664190953133c8f
Nov 28 18:46:38 pi librespot[26728]:                        at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/sys_common/backtrace.rs:34:9
Nov 28 18:46:38 pi librespot[26728]:    8:   0x781fa4 - std::panicking::default_hook::{{closure}}::h98ca58a6e5644d05
Nov 28 18:46:38 pi librespot[26728]:                        at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:269:22
Nov 28 18:46:38 pi librespot[26728]:    9:   0x782ef4 - std::panicking::default_hook::hf45ddc3e686e6df7
Nov 28 18:46:38 pi librespot[26728]:                        at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:288:9
Nov 28 18:46:38 pi librespot[26728]:   10:   0x782ef4 - std::panicking::rust_panic_with_hook::h4c540d7b82c3ff9f
Nov 28 18:46:38 pi librespot[26728]:                        at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:691:13
Nov 28 18:46:38 pi librespot[26728]:   11:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   12:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   13:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   14:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   15:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   16:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   17:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   18:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   19:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   20:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   21:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   22:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   23:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   24:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   25:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   26:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   27:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   28:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   29:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   30:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   31:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Nov 28 18:46:38 pi librespot[26728]:   32:   0x5c2790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
⋮
⋮
Dec  2 08:54:42 pi librespot[444]: 12297640:   0x602790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Dec  2 08:54:42 pi librespot[444]: 12297641:   0x602790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31
Dec  2 08:54:42 pi librespot[444]: 12297642:   0x602790 - std::panicking::begin_panic::{{closure}}::hf01aca3e3a2eef31

This issue has been marked as stale. It will closed in 7 days if there is no activity.

This issue has been closed due to lack of activity.