go-callvis
go-callvis copied to clipboard
panic: in crypto/sha256.Sum224: cannot convert slice t0[:] ([]byte) to *[28]byte
I am getting the same error
me too
It looks like it's the reasons for not adapting to go 1.18, when i set it back to go 1.17.8 it worked perfectly
Thank for the feedback. I have tried with both, first actually with 1.17 and then 1.18 and it gives the same panic.
Same error here, with go 1.18.1 linux/arm64.
I found this, probably this error is unrelated to go-callvis. https://github.com/golang/go/issues/51822
same issue, tired it with minikube
$ go-callvis ./cmd/minikube
panic: in crypto/sha512.Sum384: cannot convert slice t0[:] ([]byte) to *[48]byte
goroutine 15576 [running]:
golang.org/x/tools/go/ssa.emitConv(0x14038d55680, {0x102848cb8, 0x1406f5d8780}, {0x102844788?, 0x1400f66e330})
/Users/medya/go/pkg/mod/golang.org/x/[email protected]/go/ssa/emit.go:242 +0x6b8
golang.org/x/tools/go/ssa.(*builder).expr0(0x1027b5ae0?, 0x14038d55680, {0x102845680?, 0x1400f2cd0c0}, {0x7, {0x102844788, 0x1400f66e330}, {0x0, 0x0}})
/Users/medya/go/pkg/mod/golang.org/x/[email protected]/go/ssa/builder.go:573 +0x824
golang.org/x/tools/go/ssa.(*builder).expr(0x10280e8c0?, 0x14038d55680, {0x102845680?, 0x1400f2cd0c0?})
/Users/medya/go/pkg/mod/golang.org/x/[email protected]/go/ssa/builder.go:530 +0x13c
golang.org/x/tools/go/ssa.(*builder).assign(0x14038d55680?, 0x14038d55680?, {0x102846968?, 0x1406f5d2d80}, {0x102845680?, 0x1400f2cd0c0?}, 0x0?, 0x1404de875a0)
Possibly fixed by #121 ?
+1
mee to . how to solve ?