Skip to content

Bootstrap rounds not shutting down properly on SIGINT #792

Closed

Description

@whyrusleeping
^CReceived interrupt signal, shutting down...
panic: repo is closed


goroutine 327860 [running]:
github.com/jbenet/go-ipfs/repo/fsrepo.(*FSRepo).Config(0x10cce090, 0x0)
    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/repo/fsrepo/fsrepo.go:209 +0x1b0
github.com/jbenet/go-ipfs/core.(*IpfsNode).loadBootstrapPeers(0x10c46900, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/core/core.go:390 +0x68
github.com/jbenet/go-ipfs/core.func·009(0x0, 0x0, 0x0)
    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/core/core.go:338 +0x3c
github.com/jbenet/go-ipfs/core.bootstrapRound(0xb6d903e0, 0x19de7d80, 0xb6d8ef48, 0x10c0b3f0, 0x4, 0xfc23ac00, 0x6, 0x540be400, 0x2, 0x10c928f0, ...)
    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/core/bootstrap.go:118 +0xa4
github.com/jbenet/go-ipfs/core.func·002(0xb6d8a848, 0x19de7b40)
    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/core/bootstrap.go:85 +0x228
github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess.func·005()
    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/impl-mutex.go:96 +0x8c
created by github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess.(*process).Go
    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/impl-mutex.go:99 +0x44c

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions