Describe the bug
Crash randomly about teldrive docker.
Repoduction
random
Expected behavior
not crash
Version
1.8.3 last
Which Platform are you using?
Linux
Additional context
panic: runtime error: slice bounds out of range [:36965] with capacity 0
goroutine 240 [running]:
github.com/tgdrive/teldrive/internal/reader.(*tgMultiReader).fillBatch.func1()
github.com/tgdrive/teldrive/internal/reader/tg_reader.go:186 +0x378
golang.org/x/sync/errgroup.(*Group).Go.func1()
golang.org/x/sync@v0.19.0/errgroup/errgroup.go:93 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 287
golang.org/x/sync@v0.19.0/errgroup/errgroup.go:78 +0x95
panic: runtime error: slice bounds out of range [36864:0]
goroutine 239 [running]:
github.com/tgdrive/teldrive/internal/reader.(*tgMultiReader).fillBatch.func1()
github.com/tgdrive/teldrive/internal/reader/tg_reader.go:184 +0x37d
golang.org/x/sync/errgroup.(*Group).Go.func1()
golang.org/x/sync@v0.19.0/errgroup/errgroup.go:93 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 287
golang.org/x/sync@v0.19.0/errgroup/errgroup.go:78 +0x95
Describe the bug
Crash randomly about teldrive docker.
Repoduction
random
Expected behavior
not crash
Version
1.8.3 last
Which Platform are you using?
Linux
Additional context
panic: runtime error: slice bounds out of range [:36965] with capacity 0
goroutine 240 [running]:
github.com/tgdrive/teldrive/internal/reader.(*tgMultiReader).fillBatch.func1()
github.com/tgdrive/teldrive/internal/reader/tg_reader.go:186 +0x378
golang.org/x/sync/errgroup.(*Group).Go.func1()
golang.org/x/sync@v0.19.0/errgroup/errgroup.go:93 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 287
golang.org/x/sync@v0.19.0/errgroup/errgroup.go:78 +0x95
panic: runtime error: slice bounds out of range [36864:0]
goroutine 239 [running]:
github.com/tgdrive/teldrive/internal/reader.(*tgMultiReader).fillBatch.func1()
github.com/tgdrive/teldrive/internal/reader/tg_reader.go:184 +0x37d
golang.org/x/sync/errgroup.(*Group).Go.func1()
golang.org/x/sync@v0.19.0/errgroup/errgroup.go:93 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 287
golang.org/x/sync@v0.19.0/errgroup/errgroup.go:78 +0x95