[GH-ISSUE #28] Exception on reading random chunk #20

Closed
opened 2026-02-28 14:24:44 +03:00 by kerem · 0 comments
Owner

Originally created by @tylkie on GitHub (Apr 3, 2024).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/28

About every 100th random song the player crashes as follows...

time="2024-04-03T10:27:46+02:00" level=info msg="loaded track \"Something to Someone\" (uri: spotify:track:4AQXIIhoKpkn7gMMS4StAY, ...
panic: runtime error: slice bounds out of range [4263:280]
goroutine 4230472 [running]:
go-librespot/audio.(*HttpChunkedReader).ReadAt(0xc00035ef80, {0x7f0f601c8370, 0x1000, 0x7fffffff}, 0xc0000d4b20?)
/home/tylk/Downloads/go-librespot-0.0.14/audio/chunked_reader.go:218 +0x2ba

After restarting the player, playback is paused, even if it was unpaused while crashing.

Originally created by @tylkie on GitHub (Apr 3, 2024). Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/28 About every 100th random song the player crashes as follows... `time="2024-04-03T10:27:46+02:00" level=info msg="loaded track \"Something to Someone\" (uri: spotify:track:4AQXIIhoKpkn7gMMS4StAY, ...` `panic: runtime error: slice bounds out of range [4263:280]` `goroutine 4230472 [running]:` `go-librespot/audio.(*HttpChunkedReader).ReadAt(0xc00035ef80, {0x7f0f601c8370, 0x1000, 0x7fffffff}, 0xc0000d4b20?)` ` /home/tylk/Downloads/go-librespot-0.0.14/audio/chunked_reader.go:218 +0x2ba` After restarting the player, playback is paused, even if it was unpaused while crashing.
kerem 2026-02-28 14:24:44 +03:00
  • closed this issue
  • added the
    bug
    label
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/go-librespot#20
No description provided.