Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when [email protected] talks to a 0.4.3 daemon #3452

Closed
jbenet opened this issue Dec 1, 2016 · 2 comments
Closed

Crash when [email protected] talks to a 0.4.3 daemon #3452

jbenet opened this issue Dec 1, 2016 · 2 comments
Labels
kind/enhancement A net-new feature or improvement to an existing feature status/deferred Conscious decision to pause or backlog

Comments

@jbenet
Copy link
Member

jbenet commented Dec 1, 2016

A 0.4.4 cli tool talks to a 0.4.3 daemon:

goroutine 1 [running]:
runtime/debug.Stack(0xd98df0, 0x42122ac60, 0x42122a7e0)
	/home/whyrusleeping/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
	/home/whyrusleeping/go/src/runtime/debug/stack.go:16 +0x22
gx/ipfs/QmZNVWh8LLjAavuQ2JXuFmuYH3C11xo988vSgp7UQrTRj1/go-ipfs-util.ErrCast(0x421228380, 0x7e3860)
	/builds/distributions/dists/go-ipfs/gopath/src/gx/ipfs/QmZNVWh8LLjAavuQ2JXuFmuYH3C11xo988vSgp7UQrTRj1/go-ipfs-util/util.go:34 +0x14
github.com/ipfs/go-ipfs/core/commands.glob..func7(0xce8a20, 0x42109a480, 0xce7de0, 0x421228380)
	/builds/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/core/commands/add.go:223 +0xd64
main.callCommand(0xce2a20, 0x4211c1d00, 0xce8a20, 0x42109a480, 0xdbc120, 0xd99260, 0x0, 0x0, 0x4211b5e60, 0x85d0)
	/builds/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/cmd/ipfs/main.go:355 +0x51f
main.(*cmdInvocation).Run(0x4211c1c40, 0xce2a20, 0x4211c1d00, 0xcd7ae0, 0x4211e77e0, 0xce2a20, 0x4211c1d00)
	/builds/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/cmd/ipfs/main.go:193 +0x116
main.main()
	/builds/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/cmd/ipfs/main.go:158 +0x373
Error: cast error
make: *** [publish] Error 1
@jbenet
Copy link
Member Author

jbenet commented Dec 1, 2016

Of course, this should not happen. it should be a nice error.

@whyrusleeping
Copy link
Member

Yeah... we just need to stop using that stupid CastError thing. Its whats generating that stack trace.

@Kubuxu Kubuxu added kind/enhancement A net-new feature or improvement to an existing feature status/deferred Conscious decision to pause or backlog labels Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature status/deferred Conscious decision to pause or backlog
Projects
None yet
Development

No branches or pull requests

3 participants