mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-25 21:05:47 +03:00
[GH-ISSUE #280] Busy loop calling futex, 100% CPU usage #166
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#166
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 @markferry on GitHub (Jan 4, 2026).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/280
Intermittent but seen on two occasions recently.
@markferry commented on GitHub (Jan 4, 2026):
busy-lsof.txt
busy-objdump.txt.gz
busy-pmap.txt
@markferry commented on GitHub (Jan 4, 2026):
@devgianlu commented on GitHub (Jan 4, 2026):
I'd say the most useful thing here would be a goroutine dump. You can trigger it by sending SIGABRT to the process.
@markferry commented on GitHub (Jan 4, 2026):
Had to kill the process. I'll catch it next time.
@markferry commented on GitHub (Jan 20, 2026):
7 out of 8 instances all hung. Here are goroutine dumps from three of them:
An interesting snippet prior to the SIGABRT:
Looks like those messages appeared for each of the hanging instances starting from ~11AM GMT today.
A more complete dump of all go-librespot instance output for today including timestamps:
@markferry commented on GitHub (Jan 20, 2026):
So could it be triggered by Spotify doing (segmented) restarts of their services?
@devgianlu commented on GitHub (Feb 1, 2026):
Yes, this seems like it. However from the goroutine dumps I cannot figure out what is causing this issue, I may need to try and reproduce this in some way.