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

ipget panics when run #24

Closed
whyrusleeping opened this issue Apr 5, 2016 · 5 comments
Closed

ipget panics when run #24

whyrusleeping opened this issue Apr 5, 2016 · 5 comments
Milestone

Comments

@whyrusleeping
Copy link
Member

> ipget QmT78zSuBmuS4z925WZfrqQ1qHaJ56DQaTfyMUF7F8ff5o
2016/04/05 16:53:45 Reuse of exported var name: utpAckSkippedResends
panic: Reuse of exported var name: utpAckSkippedResends


goroutine 1 [running]:
log.Panicln(0xc8200d3da0, 0x2, 0x2)
    /home/whyrusleeping/go/src/log/log.go:334 +0xc1
expvar.Publish(0xdc58e0, 0x14, 0x7fe83dc4e978, 0xc820075bb0)
    /home/whyrusleeping/go/src/expvar/expvar.go:254 +0x233
expvar.NewInt(0xdc58e0, 0x14, 0xb)
    /home/whyrusleeping/go/src/expvar/expvar.go:272 +0x75
gx/ipfs/QmadkZhaLw1AhXKyBiPmydRuTexhj6WkiZPpo5Uks6WUVq/utp.init()
    /home/whyrusleeping/gopkg/src/gx/ipfs/QmadkZhaLw1AhXKyBiPmydRuTexhj6WkiZPpo5Uks6WUVq/utp/utp.go:52 +0x97
gx/ipfs/QmYVqhVfbK4BKvbW88Lhm26b3ud14sTBvcm1H7uWUx1Fkp/go-multiaddr-net/utp.init()
    /home/whyrusleeping/gopkg/src/gx/ipfs/QmYVqhVfbK4BKvbW88Lhm26b3ud14sTBvcm1H7uWUx1Fkp/go-multiaddr-net/utp/utp_util.go:105 +0x45
gx/ipfs/QmYVqhVfbK4BKvbW88Lhm26b3ud14sTBvcm1H7uWUx1Fkp/go-multiaddr-net.init()
    /home/whyrusleeping/gopkg/src/gx/ipfs/QmYVqhVfbK4BKvbW88Lhm26b3ud14sTBvcm1H7uWUx1Fkp/go-multiaddr-net/net.go:298 +0x56
gx/ipfs/QmSN2ELGRp4T9kjqiSsSNJRUeR9JKXzQEgwe1HH3tdSGbC/go-libp2p/p2p/net/conn.init()
    /home/whyrusleeping/gopkg/src/gx/ipfs/QmSN2ELGRp4T9kjqiSsSNJRUeR9JKXzQEgwe1HH3tdSGbC/go-libp2p/p2p/net/conn/secure_conn.go:124 +0x6f
gx/ipfs/QmSN2ELGRp4T9kjqiSsSNJRUeR9JKXzQEgwe1HH3tdSGbC/go-libp2p/p2p/net.init()
    /home/whyrusleeping/gopkg/src/gx/ipfs/QmSN2ELGRp4T9kjqiSsSNJRUeR9JKXzQEgwe1HH3tdSGbC/go-libp2p/p2p/net/interface.go:155 +0x40
gx/ipfs/QmSN2ELGRp4T9kjqiSsSNJRUeR9JKXzQEgwe1HH3tdSGbC/go-libp2p/p2p/host.init()
    /home/whyrusleeping/gopkg/src/gx/ipfs/QmSN2ELGRp4T9kjqiSsSNJRUeR9JKXzQEgwe1HH3tdSGbC/go-libp2p/p2p/host/host.go:64 +0x4c
github.com/ipfs/go-ipfs/core.init()
    /home/whyrusleeping/gopkg/src/github.com/ipfs/go-ipfs/core/pathresolver.go:91 +0x6a
github.com/noffle/ipfs-embedded-shell.init()
    /home/whyrusleeping/gopkg/src/github.com/noffle/ipfs-embedded-shell/shell.go:57 +0x5d
github.com/noffle/fallback-ipfs-shell.init()
    /home/whyrusleeping/gopkg/src/github.com/noffle/fallback-ipfs-shell/shell.go:22 +0x54
main.init()
    /home/whyrusleeping/gopkg/src/github.com/ipfs/ipget/main.go:57 +0x4f

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
    /home/whyrusleeping/go/src/runtime/asm_amd64.s:1721 +0x1

goroutine 20 [syscall]:
os/signal.loop()
    /home/whyrusleeping/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
    /home/whyrusleeping/go/src/os/signal/signal_unix.go:28 +0x37

goroutine 21 [select]:
gx/ipfs/Qmazh5oNUVsDZTs2g59rq8aYQqwpss8tcUWQzor5sCCEuH/go-log.(*MirrorWriter).logRoutine(0xc820070400)
    /home/whyrusleeping/gopkg/src/gx/ipfs/Qmazh5oNUVsDZTs2g59rq8aYQqwpss8tcUWQzor5sCCEuH/go-log/writer.go:71 +0x33c
created by gx/ipfs/Qmazh5oNUVsDZTs2g59rq8aYQqwpss8tcUWQzor5sCCEuH/go-log.NewMirrorWriter
    /home/whyrusleeping/gopkg/src/gx/ipfs/Qmazh5oNUVsDZTs2g59rq8aYQqwpss8tcUWQzor5sCCEuH/go-log/writer.go:38 +0xe2

goroutine 22 [chan receive]:
github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/codahale/metrics.init.1.func2()
    /home/whyrusleeping/gopkg/src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/codahale/metrics/metrics.go:321 +0x73
created by github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/codahale/metrics.init.1
    /home/whyrusleeping/gopkg/src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/codahale/metrics/metrics.go:328 +0x7b
@hackergrrl
Copy link
Contributor

I can't reproduce! What commands did you run? I ran

$ go get github.com/noffle/ipget

$ ipget QmT78zSuBmuS4z925WZfrqQ1qHaJ56DQaTfyMUF7F8ff5o

$ echo $?
0

@alexander-vielimchanitsia

I get this error when importing github.com/ipfs/go-ipfs-api :-/

@hackergrrl
Copy link
Contributor

@alexander-vielimchanitsia is on the right track: this is happening because jbenet/go-multiaddr-net is being included both by gx (via noffle/ipfs-embedded-shell) and by ipfs/go-ipfs-api.

@hackergrrl hackergrrl mentioned this issue Apr 20, 2016
22 tasks
@jyap808
Copy link

jyap808 commented Apr 25, 2016

.. Confirmed that I'm having this issue.

@hackergrrl
Copy link
Contributor

This should be fixed now: see the new gx workflow for installing here.

@hackergrrl hackergrrl added this to the 1.0.0 milestone Sep 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants