Skip to content
New issue

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

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

Already on GitHub? # to your account

tests failing #53

Closed
marten-seemann opened this issue Dec 17, 2020 · 0 comments · Fixed by #54
Closed

tests failing #53

marten-seemann opened this issue Dec 17, 2020 · 0 comments · Fixed by #54

Comments

@marten-seemann
Copy link
Contributor

Using Go 1.15.5 on OSX:

❯ go test
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x116535d]

goroutine 907 [running]:
github.com/multiformats/go-multistream.(*rwcStrict).Write(0xc0001f5760, 0xc0000e0000, 0x14, 0x1000, 0xc0003902f1, 0x1, 0x1)
	/Users/marten/src/go/src/github.com/multiformats/go-multistream/multistream_test.go:41 +0xdd
bufio.(*Writer).Flush(0xc0000d4680, 0xc0000d4680, 0xc000388fa0)
	/usr/local/Cellar/go/1.15.5/libexec/src/bufio/bufio.go:607 +0x7b
github.com/multiformats/go-multistream.delimWriteBuffered(0x1708fd0, 0xc0001f5760, 0xc000388fa0, 0x12, 0x12, 0x0, 0x0)
	/Users/marten/src/go/src/github.com/multiformats/go-multistream/multistream.go:81 +0xf4
github.com/multiformats/go-multistream.(*MultistreamMuxer).NegotiateLazy.func1()
	/Users/marten/src/go/src/github.com/multiformats/go-multistream/multistream.go:227 +0x13c
sync.(*Once).doSlow(0xc0000fd620, 0xc00038c840)
	/usr/local/Cellar/go/1.15.5/libexec/src/sync/once.go:66 +0xec
sync.(*Once).Do(0xc0000fd620, 0xc00038c840)
	/usr/local/Cellar/go/1.15.5/libexec/src/sync/once.go:57 +0x45
created by github.com/multiformats/go-multistream.(*MultistreamMuxer).NegotiateLazy
	/Users/marten/src/go/src/github.com/multiformats/go-multistream/multistream.go:222 +0x1ec
exit status 2
FAIL	github.com/multiformats/go-multistream	0.563s
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant