mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 00:05:55 +03:00
[GH-ISSUE #94] Thread 'main' panicked at 'connection closed' #83
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#83
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sashahilton00 on GitHub (Jan 29, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/94
Tuesday Oct 24, 2017 at 11:35 GMT
Originally opened as https://github.com/plietar/librespot/issues/262
Randomly playback is stopped.
I'm running librespot
8971d3a(2017-10-05). Built on 2017-10-05. Build ID: POyxPQVg on a Raspberry Pi 3 with raspotify. Using ALSA with an Hifiberry AMP+Kernel: 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l
@sashahilton00 commented on GitHub (Jan 29, 2018):
Friday Oct 27, 2017 at 15:03 GMT
Are you able to turn on backtraces and make it happen again?
@sashahilton00 commented on GitHub (Jan 29, 2018):
Monday Oct 30, 2017 at 05:16 GMT
I'm running an older build, but basically hitting the same problem randomly. Build is
INFO:librespot: librespot cc9dba8 (2017-03-26). Built on 2017-07-17. Build ID: 8zQE3Bpb
crash is
thread 'main' panicked at 'connection closed', /checkout/src/libcore/option.rs:794
I'll get the full backtrace, but I need to carve out time to look at this.
It doesn't happen immediately but relatively quickly.
@sashahilton00 commented on GitHub (Jan 29, 2018):
Sunday Nov 05, 2017 at 00:16 GMT
Full backtrace:
@sashahilton00 commented on GitHub (Jan 29, 2018):
Sunday Jan 14, 2018 at 22:12 GMT
@tenortim I get an identical backtrace quite regularly. Did you or anyone manage to resolve it?
@sashahilton00 commented on GitHub (Jan 29, 2018):
Sunday Jan 14, 2018 at 22:16 GMT
This appears to happen even when librespot is idle, about every 30-60 seconds or so.
@sashahilton00 commented on GitHub (Jan 29, 2018):
Monday Jan 15, 2018 at 00:10 GMT
I don't get this. Could it be a problem with a specific access point?
@sashahilton00 commented on GitHub (Jan 29, 2018):
Monday Jan 15, 2018 at 10:10 GMT
@kingosticks I can confirm this is happening with multiple (at least 5) access points.
@sashahilton00 commented on GitHub (Jan 29, 2018):
Monday Jan 15, 2018 at 10:10 GMT
I'm afraid I know very little Rust, but have decent Unix experience, so let me know if I can provide any information to debug this.
@sashahilton00 commented on GitHub (Jan 29, 2018):
Monday Jan 15, 2018 at 14:24 GMT
OK, this is odd. It only seems to happen when running inside a container running on Docker for Mac. If I build the same container (from the same Dockerfile) in Docker on an Ubuntu box running amd64, it works fine.
@sashahilton00 commented on GitHub (Jan 29, 2018):
Monday Jan 15, 2018 at 14:27 GMT
If anyone wants to try and reproduce, I've put my Dockerfile and associated files over here: https://github.com/tomtaylor/multiroom-server
@sashahilton00 commented on GitHub (Jan 29, 2018):
Monday Jan 15, 2018 at 20:24 GMT
@tomtaylor this is running it on a Raspberry Pi 3. No containers but I am running the prebuilt version. Maybe I should try to build it all from scratch and see what I get. It still happens,
@sashahilton00 commented on GitHub (Jan 31, 2018):
I'm fairly sure that this is a bug that librespot isn't responsible for - there is nothing in the backtrace to suggest librespot is the problem?
@sashahilton00 commented on GitHub (Feb 1, 2018):
Does it run well outside a docker container @tomtaylor?
@sashahilton00 commented on GitHub (Feb 7, 2018):
Closing as no response from OP, and no suggestion in backtrace that this is a bug in librespot. Open a new issue and reference this one if this is still a problem.