Skip to content

panic: sync: negative WaitGroup counter #120

Description

@casper75

I get this error in rare cases. I think WaitGroup is used incorrectly.

panic: sync: negative WaitGroup counter goroutine 116030 [running]: sync.(*WaitGroup).Add(0xc0000db688?, 0x20c5cb8?) /usr/lib/go/src/sync/waitgroup.go:64 +0xcd sync.(*WaitGroup).Done(...) /usr/lib/go/src/sync/waitgroup.go:89 github.com/celestix/gotgproto.(*Client).Start.func1(0xc00514a780) /home/casper/go/pkg/mod/github.com/celestix/gotgproto@v1.0.0-beta21/client.go:423 +0x1d4 created by github.com/celestix/gotgproto.(*Client).Start in goroutine 115828 /home/casper/go/pkg/mod/github.com/celestix/gotgproto@v1.0.0-beta21/client.go:411 +0x1a7

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions