ellaism / go-ellaism

Go language implementation of the Ellaism protocol
GNU Lesser General Public License v3.0
23 stars 15 forks source link

P2P Peer Exception #2

Open ellaismer opened 7 years ago

ellaismer commented 7 years ago

Submitted by @DaCHRIS. Still need to take a look:

        /home/travis/.gimme/versions/go1.8.linux.amd64/src/net/tcpsock_posix.go:62 +0xb9
net.dialTCP(0x147cbe0, 0xc42afa2d20, 0xd4584b, 0x3, 0x0, 0xc42163b950, 0x0, 0x10, 0x0)
        /home/travis/.gimme/versions/go1.8.linux.amd64/src/net/tcpsock_posix.go:58 +0xe4
net.dialSingle(0x147cbe0, 0xc42afa2d20, 0xc4281a3680, 0x14782e0, 0xc42163b950, 0x0, 0x0, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.8.linux.amd64/src/net/dial.go:521 +0x479
net.dialSerial(0x147cbe0, 0xc42afa2d20, 0xc4281a3680, 0xc4288276c0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
        /home/travis/.gimme/versions/go1.8.linux.amd64/src/net/dial.go:489 +0x220
net.(*Dialer).DialContext(0xc4200a7980, 0x147cba0, 0xc42009a2a0, 0xd4584b, 0x3, 0xc4256e2700, 0x14, 0x0, 0x0, 0x0, ...)
        /home/travis/.gimme/versions/go1.8.linux.amd64/src/net/dial.go:371 +0x70b
net.(*Dialer).Dial(0xc4200a7980, 0xd4584b, 0x3, 0xc4256e2700, 0x14, 0x2, 0x7fdd73540148, 0x42f4d4, 0xc42132eee0)
        /home/travis/.gimme/versions/go1.8.linux.amd64/src/net/dial.go:294 +0x75
github.com/ellaism/go-ellaism/p2p.(*dialTask).dial(0xc420e1b230, 0xc42017fc80, 0xc4267be980, 0x881105f4539e1901)
        /home/travis/gopath/src/github.com/ellaism/go-ellaism/p2p/dial.go:264 +0x1cd
github.com/ellaism/go-ellaism/p2p.(*dialTask).Do(0xc420e1b230, 0xc42017fc80)
        /home/travis/gopath/src/github.com/ellaism/go-ellaism/p2p/dial.go:217 +0x52
github.com/ellaism/go-ellaism/p2p.(*Server).run.func2.1(0x14720a0, 0xc420e1b230, 0xc42017fc80, 0xc420217440)
        /home/travis/gopath/src/github.com/ellaism/go-ellaism/p2p/server.go:428 +0x3b
created by github.com/ellaism/go-ellaism/p2p.(*Server).run.func2
        /home/travis/gopath/src/github.com/ellaism/go-ellaism/p2p/server.go:428 +0x1cc

goroutine 3642344 [chan receive]:
github.com/ellaism/go-ellaism/p2p/discover.(*udp).ping(0xc4200a7da0, 0x69ea9f9d00d6f7cb, 0x8eb68740049f052b, 0xb194ebc0c2ddef63, 0x503fcfb72390ed43, 0xea1a338f2959e5a5, 0xf1f7a488ef6e6fd, 0xba4d432dca74945a, 0x5ae9d848cd921aaa, 0xc421b3cba0, ...)
        /home/travis/gopath/src/github.com/ellaism/go-ellaism/p2p/discover/udp.go:300 +0x293
github.com/ellaism/go-ellaism/p2p/discover.(*Table).ping(0xc4201f2900, 0x69ea9f9d00d6f7cb, 0x8eb68740049f052b, 0xb194ebc0c2ddef63, 0x503fcfb72390ed43, 0xea1a338f2959e5a5, 0xf1f7a488ef6e6fd, 0xba4d432dca74945a, 0x5ae9d848cd921aaa, 0xc421b3cba0, ...)
        /home/travis/gopath/src/github.com/ellaism/go-ellaism/p2p/discover/table.go:533 +0xd1
github.com/ellaism/go-ellaism/p2p/discover.(*Table).add(0xc4201f2900, 0xc421800a80)
        /home/travis/gopath/src/github.com/ellaism/go-ellaism/p2p/discover/table.go:572 +0x1f5
github.com/ellaism/go-ellaism/p2p/discover.(*Table).bond(0xc4201f2900, 0x99393edb54c05d01, 0xb367ca6d3579a75a, 0xe1fea500391966d2, 0x4240819f24974aaf, 0x8ecd85c8de6408a8, 0xc06e023d6267f912, 0x2d611ac9aa6b42b9, 0x3c7c080482e40bc7, 0xc42b6cff10, ...)
        /home/travis/gopath/src/github.com/ellaism/go-ellaism/p2p/discover/table.go:501 +0x51e
created by github.com/ellaism/go-ellaism/p2p/discover.(*ping).handle
        /home/travis/gopath/src/github.com/ellaism/go-ellaism/p2p/discover/udp.go:683 +0x30b

goroutine 3641584 [select]:
net.(*netFD).connect.func2(0x147cbe0, 0xc426939f20, 0xc42cbd13b0, 0xc42e8a0000, 0xc426939f80)
        /home/travis/.gimme/versions/go1.8.linux.amd64/src/net/fd_unix.go:133 +0x1d5
created by net.(*netFD).connect
        /home/travis/.gimme/versions/go1.8.linux.amd64/src/net/fd_unix.go:144 +0x239

goroutine 1238069 [select]:
github.com/ellaism/go-ellaism/p2p.(*Peer).pingLoop(0xc426133ac0)
        /home/travis/gopath/src/github.com/ellaism/go-ellaism/p2p/peer.go:199 +0x220
created by github.com/ellaism/go-ellaism/p2p.(*Peer).run
        /home/travis/gopath/src/github.com/ellaism/go-ellaism/p2p/peer.go:146 +0x123

goroutine 2088164 [select]:
github.com/ellaism/go-ellaism/p2p.(*Peer).run(0xc420edbbc0, 0x1471ea0)
        /home/travis/gopath/src/github.com/ellaism/go-ellaism/p2p/peer.go:155 +0x9e9
github.com/ellaism/go-ellaism/p2p.(*Server).runPeer(0xc42017fc80, 0xc420edbbc0)
        /home/travis/gopath/src/github.com/ellaism/go-ellaism/p2p/server.go:691 +0x2be
created by github.com/ellaism/go-ellaism/p2p.(*Server).run
        /home/travis/gopath/src/github.com/ellaism/go-ellaism/p2p/server.go:490 +0xdb2