ncspot: Minutes long hang ignoring ctrl+c when starting ncspot
Describe the bug Sometimes, not often, ncspot will hang for the longest time while starting. It’s still possible to stop it with Ctrl+C, but after a while, that isn’t possible anymore. This makes me wonder if it is somehow deadlocked. It happens on the latest commit, which is 5c1fe9331a84ed021edb4d174c2013cb27379e0b.
To Reproduce It’s not really reproducible. It happens occasionally on my devices, and when it happens, it IS reproducible, at least until the next reboot…
System (please complete the following information):
- OS: Arch Linux (latest updates)
- Terminal: Alacritty
- Version: master branch, but also happens on latest release, and on previous releases.
- Installed from: AUR
Backtrace/Debug log Debug log (until manually stopped with Ctrl+C):
[2022-11-22][10:07:09] [ncspot] [INFO] Using cached credentials
[2022-11-22][10:07:09] [ncspot::spotify] [DEBUG] No HTTP proxy set
[2022-11-22][10:07:09] [mio::poll] [TRACE] registering event source with poller: token=Token(0), interests=READABLE | WRITABLE
[2022-11-22][10:07:09] [want] [TRACE] signal: Want
[2022-11-22][10:07:09] [want] [TRACE] signal found waiting giver, notifying
[2022-11-22][10:07:09] [want] [TRACE] poll_want: taker wants!
[2022-11-22][10:07:09] [want] [TRACE] signal: Want
[2022-11-22][10:07:09] [want] [TRACE] signal: Want
[2022-11-22][10:07:09] [librespot_core::apresolve] [WARN] Ignoring blacklisted access point ap-gew4.spotify.com:4070
[2022-11-22][10:07:09] [librespot_core::apresolve] [WARN] Ignoring blacklisted access point ap-gew4.spotify.com:443
[2022-11-22][10:07:09] [librespot_core::apresolve] [WARN] Ignoring blacklisted access point ap-gew4.spotify.com:80
[2022-11-22][10:07:09] [librespot_core::apresolve] [WARN] Ignoring blacklisted access point ap-gue1.spotify.com:443
[2022-11-22][10:07:09] [librespot_core::session] [INFO] Connecting to AP "ap-guc3.spotify.com:4070"
[2022-11-22][10:07:09] [mio::poll] [TRACE] registering event source with poller: token=Token(1), interests=READABLE | WRITABLE
[2022-11-22][10:07:09] [mio::poll] [TRACE] deregistering event source from poller
[2022-11-22][10:07:09] [want] [TRACE] signal: Closed
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 22 (22 by maintainers)
Yet another crash on a version where I only made minimal changes in
src/layout.rs, as it will be way easier to find the correct lines. This one happened just now while solving a styling problem with the command line. I don’t want to spam this issue, but this backtrace will be way cleaner than the previous one as almost nothing changed compared to the upstream main branch.upstream/main…HEAD