Skip to content

Instantly share code, notes, and snippets.

View masonforest's full-sized avatar

Mason Fischer masonforest

View GitHub Profile
@masonforest
masonforest / node main.js
Created January 22, 2018 15:23
luwa node main.js RuntimeError: unreachable
0
38
5
62
10
62
15
62
20
62
@masonforest
masonforest / Libp2p echo error
Created January 13, 2018 21:15
Result of running `./echo -secio -l 10001 -d /ip4/127.0.0.1/tcp/10000/ipfs/Qmd8k83kcL6zAukQpVhWrpw8ahwuUo8eWkJk7p2Cr32N4Y`
go-libp2p master % ./echo -secio -l 10001 -d /ip4/127.0.0.1/tcp/10000/ipfs/Qmd8k83kcL6zAukQpVhWrpw8ahwuUo8eWkJk7p2Cr32N4Y
2018/01/13 16:14:10 I am /ip4/127.0.0.1/tcp/10001/ipfs/QmST65TZaXkx51M9P1wBJsENZM33uX7Ri9fdJLktsGkUiw
2018/01/13 16:14:10 Now run "./echo -l 10002 -d /ip4/127.0.0.1/tcp/10001/ipfs/QmST65TZaXkx51M9P1wBJsENZM33uX7Ri9fdJLktsGkUiw -secio" on a different terminal
2018/01/13 16:14:10 opening stream
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x13a18ba]
goroutine 1 [running]:
gx/ipfs/QmRaUZYeJjrUzJr3aTHxUfFjWVzyBzhf6f1SuLTt8Q7Zui/go-peerstream.(*Swarm).NewStreamWithConn(0xc42009a180, 0xc42054c000, 0x1, 0x1, 0x1687701)
/usr/local/Cellar/go/1.9.2/src/gx/ipfs/QmRaUZYeJjrUzJr3aTHxUfFjWVzyBzhf6f1SuLTt8Q7Zui/go-peerstream/swarm.go:328 +0xba
0xc795bAC3BCba900350bCb6d6DFeC89c274B7382F
0x70ec465e6e3408bcBA082c0E9a7C5b66728b2035
0x70ec465e6e3408bcBA082c0E9a7C5b66728b2035
0x70ec465e6e3408bcBA082c0E9a7C5b66728b2035

Keybase proof

I hereby claim:

  • I am masonforest on github.
  • I am masonforest (https://keybase.io/masonforest) on keybase.
  • I have a public key whose fingerprint is 6C65 197C F223 A0DF 0962 FCFF FD49 8A4E EAE1 DC59

To claim this, I am signing this object:

0x66f87894f74974163f26fe7c811cbf5644f1a00c
0x70ec465e6e3408bcba082c0e9a7c5b66728b2035
0x28Af5461CaD683041bd3666851f2c066277088a5