Repository navigation
Closed
Labels
help wantedSeeking public contribution on this issueSeeking public contribution on this issuekind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)
Description
Wasnt really paying attention to my daemon, and came back to this:
Initializing daemon...
API server listening on /ip4/127.0.0.1/tcp/5001
panic: Process cannot wait after being closed
goroutine 109944 [running]:
github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess.(*process).WaitFor(0x118f4f80, 0xb6d98c38, 0x118f5140)
/home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/impl-mutex.go:46 +0x114
github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess.(*process).Go(0x110f6d40, 0x12cbfd00, 0x0, 0x0)
/home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/impl-mutex.go:94 +0x38c
github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/ratelimit.(*RateLimiter).LimitedGo(0x12cbb0c0, 0x12cbfd00)
/home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess/ratelimit/ratelimit.go:48 +0xb4
github.com/jbenet/go-ipfs/p2p/net/swarm.func·006(0xb6d98c38, 0x110f6e80)
/home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/p2p/net/swarm/swarm_dial.go:402 +0x210
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
goroutine 1 [select, 20 minutes]:
github.com/jbenet/go-ipfs/core/corehttp.listenAndServe(0x10c42a20, 0xb6d993d8, 0x10ca78b0, 0x11d92180, 0x0, 0x0)
/home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/core/corehttp/corehttp.go:59 +0x580
github.com/jbenet/go-ipfs/core/corehttp.ListenAndServe(0x10c42a20, 0x11d92140, 0x17, 0x11946d18, 0x3, 0x3, 0x0, 0x0)
/home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/core/corehttp/corehttp.go:38 +0x1bc
main.daemonFunc(0xb6d99698, 0x10c3a2a0, 0xb6d99770, 0x10c36a00)
/home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/cmd/ipfs/daemon.go:135 +0x121c
github.com/jbenet/go-ipfs/commands.(*Command).Call(0x9be480, 0xb6d99698, 0x10c3a2a0, 0x0, 0x0)
/home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/commands/command.go:98 +0x424
main.callCommand(0xb6d99670, 0x10c905a0, 0xb6d99698, 0x10c3a2a0, 0x9be480, 0x9b9548, 0x0, 0x0, 0x0, 0x0)
/home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/cmd/ipfs/main.go:325 +0x820
main.(*cmdInvocation).Run(0x10c905c0, 0xb6d99670, 0x10c905a0, 0x0, 0x0, 0x0, 0x0)
/home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/cmd/ipfs/main.go:164 +0x1dc
main.main()
/home/whyrusleeping/gopkg/src/github.com/jbenet/go-ipfs/cmd/ipfs/main.go:135 +0x578
Metadata
Metadata
Assignees
Labels
help wantedSeeking public contribution on this issueSeeking public contribution on this issuekind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)
Activity
jbenet commentedon Feb 11, 2015
Was this on master? I changed this part recently and want to make sure which one it is.
whyrusleeping commentedon Feb 12, 2015
I think it was on master.
whyrusleeping commentedon Feb 12, 2015
I really need to start putting commit hashes with panics i file
whyrusleeping commentedon Feb 17, 2015
Found this on my pi (which had been running great up til now!)
cryptix commentedon Feb 24, 2015
I had two of those, as well. Here are the logs if you need them:
QmdcQ89TQw43Z3AtGin8mhA8UkAwBSFXUpYNGn7M9W1JJU
QmSDYyq266Jx7jtV7Tz4D4dWsq82mCQ7SAbm8Km4MPfqp5
xorgy commentedon Feb 24, 2015
Sometimes when this happens, it leaves the store locked, which prevents you from running the daemon again, even if you remove the
LOCKfile, it puts it back when you runipfs daemon.I ended up blowing away my
.go-ipfsdirectory and reinitializing.xorgy commentedon Feb 24, 2015
Also, I'm testing the same things on another machine, running OS X 10.10 and Go 1.3.3 (which actually compiles and runs ipfs just fine), and on that machine I'm not experiencing this issue, at least not yet.
Though I don't use that machine as much, so I might just not have done enough to trigger it.
The other machine, which I'm primarily testing on, is running go 1.4.2 on Arch Linux.
whyrusleeping commentedon Feb 24, 2015
@xorgy thanks for the feedback! I just hit this one again myself, so that bumps it up on my priority queue a bit.
xorgy commentedon Feb 24, 2015
More fail for your appraisal.
QmfSFQS9L7jGrtkknGa6959ZqK8MqAkKjZ8AuZ9MhwV2M3