{"action":"opened","issue":{"url":"https://api.github.com/repos/heupr/label-test/issues/292","repository_url":"https://api.github.com/repos/heupr/label-test","labels_url":"https://api.github.com/repos/heupr/label-test/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/heupr/label-test/issues/292/comments","events_url":"https://api.github.com/repos/heupr/label-test/issues/292/events","html_url":"https://github.com/heupr/label-test/issues/292","id":307117159,"number":292,"title":"panic kindof in the blockservice","user":{"login":"taylormike","id":15882362,"avatar_url":"https://avatars0.githubusercontent.com/u/15882362?v=4","gravatar_id":"","url":"https://api.github.com/users/taylormike","html_url":"https://github.com/taylormike","followers_url":"https://api.github.com/users/taylormike/followers","following_url":"https://api.github.com/users/taylormike/following{/other_user}","gists_url":"https://api.github.com/users/taylormike/gists{/gist_id}","starred_url":"https://api.github.com/users/taylormike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylormike/subscriptions","organizations_url":"https://api.github.com/users/taylormike/orgs","repos_url":"https://api.github.com/users/taylormike/repos","events_url":"https://api.github.com/users/taylormike/events{/privacy}","received_events_url":"https://api.github.com/users/taylormike/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-21T04:27:01Z","updated_at":"2018-03-21T04:27:01Z","closed_at":null,"author_association":"OWNER","body":"I started the ipfs daemon, added a bunch of files, then sent a SIGINT to the daemon to shut it down, it didnt shut down immediately and when i came back to the screen that the daemon was running on, it had panicked:\n\n```\n04:07:00.617  INFO     swarm2: <peer.ID QmepQC> --> <peer.ID QmNM5q> dial attempt failed: dial tcp4 58.7.118.14:17026: i/o timeout prefixlog.go:116\n04:07:00.618  INFO     swarm2: <peer.ID QmepQC> --> <peer.ID QmNM5q> dial attempt failed: dial tcp4 58.7.118.14:17370: i/o timeout prefixlog.go:116\n04:07:00.618  INFO     swarm2: <peer.ID QmepQC> --> <peer.ID QmNM5q> dial attempt failed: dial tcp4 58.7.118.14:17841: i/o timeout prefixlog.go:116\n04:07:00.619  INFO     swarm2: <peer.ID QmepQC> --> <peer.ID QmNM5q> dial attempt failed: dial tcp4 58.7.118.14:16032: i/o timeout prefixlog.go:116\n04:07:00.619  INFO     swarm2: <peer.ID QmepQC> --> <peer.ID QmNM5q> dial attempt failed: dial tcp4 58.7.118.14:17346: i/o timeout prefixlog.go:116\n04:07:00.619  INFO     swarm2: <peer.ID QmepQC> --> <peer.ID QmNM5q> dial attempt failed: dial tcp4 58.7.118.14:13794: i/o timeout prefixlog.go:116\n04:07:00.619  INFO     swarm2: <peer.ID QmepQC> --> <peer.ID QmNM5q> dial attempt failed: dial tcp4 58.7.118.14:17027: i/o timeout prefixlog.go:116\n04:07:00.619  INFO     swarm2: <peer.ID QmepQC> --> <peer.ID QmNM5q> dial attempt failed: dial tcp4 58.7.118.14:17210: i/o timeout prefixlog.go:116\n04:07:00.620 DEBUG     swarm2: swarm <peer.ID QmepQC> dialing <peer.ID QmNM5q> dial end <nil> prefixlog.go:107\n04:07:00.620 ERROR        dht: dht(<peer.ID QmepQC>) Provide(QmUhXZ4YbvnRxB2EDBLsYGEpswC545eyUobVFJNsNHq7QT) <peer.ID QmepQC> --> <peer.ID QmNM5q> dial attempt failed: dial tcp4 58.7.118.14:17210: i/o timeout prefixlog.go:110\npanic: Process cannot add children after being closed\n\ngoroutine 66 [running]:\ngithub.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess.(*process).AddChild(0x10b28d40, 0xb6d40bb0, 0x12374180)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/impl-mutex.go:68 +0xbc\ngithub.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess.(*process).Go(0x10b28d40, 0x10d36e00, 0x0, 0x0)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/impl-mutex.go:79 +0x1e8\ngithub.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/ratelimit.(*RateLimiter).LimitedGo(0x114b80c0, 0x10d36e00)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/ratelimit/ratelimit.go:48 +0xb4\ngithub.com/jbenet/go-ipfs/blockservice/worker.funcÂ·003(0xb6d40bb0, 0x10b9c240)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/blockservice/worker/worker.go:136 +0x284\ngithub.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess.funcÂ·005()\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/impl-mutex.go:84 +0x8c\ncreated by github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess.(*process).Go\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/impl-mutex.go:87 +0x44c\n\ngoroutine 1 [chan receive]:\ngithub.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup.(*contextGroup).Close(0x10ba6480, 0x0, 0x0)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup/ctxgroup.go:187 +0x58\nmain.(*cmdInvocation).close(0x10b390a0)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/cmd/ipfs/main.go:206 +0x118\nmain.main()\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/cmd/ipfs/main.go:135 +0x5dc\n\ngoroutine 6 [syscall]:\nos/signal.loop()\n    /home/whyrusleeping/go/src/os/signal/signal_unix.go:21 +0x1c\ncreated by os/signal.initÂ·1\n    /home/whyrusleeping/go/src/os/signal/signal_unix.go:27 +0x38\n\ngoroutine 1607 [semacquire]:\nsync.runtime_Semacquire(0x10ba64ac)\n    /home/whyrusleeping/go/src/runtime/sema.go:43 +0x2c\nsync.(*Mutex).Lock(0x10ba64a8)\n    /home/whyrusleeping/go/src/sync/mutex.go:66 +0xf8\nsync.(*Once).Do(0x10ba64a8, 0x1164f818)\n    /home/whyrusleeping/go/src/sync/once.go:40 +0x7c\ncreated by github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup.(*contextGroup).internalClose\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup/ctxgroup.go:200 +0xa0\n\ngoroutine 10 [chan receive]:\nmain.funcÂ·011()\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/cmd/ipfs/main.go:496 +0x50\ncreated by main.(*cmdInvocation).setupInterruptHandler\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/cmd/ipfs/main.go:518 +0x130\n\ngoroutine 49 [select]:\ngithub.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-peerstream.(*Swarm).connGarbageCollect(0x114b26c0)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-peerstream/swarm.go:351 +0x1bc\ncreated by github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-peerstream.NewSwarm\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-peerstream/swarm.go:56 +0x26c\n\ngoroutine 21 [chan send]:\ngithub.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-datastore/namespace.funcÂ·003()\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-datastore/namespace/namespace.go:78 +0x2ec\ncreated by github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-datastore/namespace.(*datastore).Query\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-datastore/namespace/namespace.go:80 +0x20c\n\ngoroutine 1599 [chan receive]:\ngithub.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup.(*contextGroup).Close(0x10ba6480, 0x0, 0x0)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup/ctxgroup.go:187 +0x58\nmain.funcÂ·010()\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/cmd/ipfs/main.go:509 +0x50\ncreated by main.funcÂ·011\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/cmd/ipfs/main.go:511 +0x330\n\ngoroutine 1628 [chan receive]:\ngithub.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess.(*process).doClose(0x10b9c240)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/impl-mutex.go:128 +0x184\ngithub.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess.(*process).Close(0x10b9c240, 0x0, 0x0)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/impl-mutex.go:104 +0x100\ncreated by github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess.(*process).doClose\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/impl-mutex.go:124 +0xc8\n\ngoroutine 1600 [chan receive]:\ngithub.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess.(*process).doClose(0x10b3bfc0)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/impl-mutex.go:128 +0x184\ngithub.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess.(*process).Close(0x10b3bfc0, 0x0, 0x0)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/impl-mutex.go:104 +0x100\ngithub.com/jbenet/go-ipfs/blockservice/worker.(*Worker).Close(0x10b9a660, 0x0, 0x0)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/blockservice/worker/worker.go:74 +0x10c\ngithub.com/jbenet/go-ipfs/blockservice.(*BlockService).Close(0x10b9a680, 0x0, 0x0)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/blockservice/blockservice.go:147 +0xe8\ngithub.com/jbenet/go-ipfs/core.(*IpfsNode).teardown(0x1143c240, 0x0, 0x0)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/core/core.go:285 +0x624\ngithub.com/jbenet/go-ipfs/core.*IpfsNode.(github.com/jbenet/go-ipfs/core.teardown)Â·fm(0x0, 0x0)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/core/core.go:116 +0x34\ngithub.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup.(*contextGroup).closeLogic(0x10ba6480)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup/ctxgroup.go:209 +0x38\ngithub.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup.*contextGroup.(github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup.closeLogic)Â·fm()\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup/ctxgroup.go:200 +0x24\nsync.(*Once).Do(0x10ba64a8, 0x118c17d0)\n    /home/whyrusleeping/go/src/sync/once.go:44 +0x128\ncreated by github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup.(*contextGroup).internalClose\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup/ctxgroup.go:200 +0xa0\n\ngoroutine 1564 [semacquire]:\nsync.runtime_Semacquire(0x10ba64ac)\n    /home/whyrusleeping/go/src/runtime/sema.go:43 +0x2c\nsync.(*Mutex).Lock(0x10ba64a8)\n    /home/whyrusleeping/go/src/sync/mutex.go:66 +0xf8\nsync.(*Once).Do(0x10ba64a8, 0x1149d6c8)\n    /home/whyrusleeping/go/src/sync/once.go:40 +0x7c\ncreated by github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup.(*contextGroup).internalClose\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-ctxgroup/ctxgroup.go:200 +0xa0\n\ngoroutine 1219 [runnable]:\nsync.(*Mutex).Unlock(0x11988840)\n    /home/whyrusleeping/go/src/sync/mutex.go:82\nsync.(*WaitGroup).Add(0x11988840, 0xffffffff)\n    /home/whyrusleeping/go/src/sync/waitgroup.go:80 +0x188\nsync.(*WaitGroup).Done(0x11988840)\n    /home/whyrusleeping/go/src/sync/waitgroup.go:85 +0x2c\ngithub.com/jbenet/go-ipfs/routing/dht.funcÂ·008(0x12e927b0, 0x22)\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/routing/dht/routing.go:154 +0x2d4\ncreated by github.com/jbenet/go-ipfs/routing/dht.(*IpfsDHT).Provide\n    /home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/routing/dht/routing.go:154 +0x66c\n```\n"}}
{"actor":{"display_login":"taylormike"}}