Skip to content

[Bug]: Crash with 1.8.3 last version #585

Description

@RobertusIT

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions