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

x/tools/go/pointer: interface conversion: *ssa.Convert is not types.Type: missing method Underlying #27002

dominikh opened this issue Aug 15, 2018 · 0 comments


Copy link

@dominikh dominikh commented Aug 15, 2018

What version of Go are you using (go version)?

go version devel +81555cb4f3 Tue Aug 14 09:19:38 2018 +0000 linux/amd64

What did you do?

callgraph -test -algo pta reflect

What did you see?

Internal panic in pointer analysis:
goroutine 1 [running]:
runtime/debug.Stack(0x24, 0x0, 0x0)
	/usr/lib/go/src/runtime/debug/stack.go:24 +0xa7
	/usr/lib/go/src/runtime/debug/stack.go:16 +0x22
	/home/dominikh/prj/src/ +0x110
panic(0x6d2c60, 0xc4265ef180)
	/usr/lib/go/src/runtime/panic.go:502 +0x229*rtypeInOutConstraint).solve(0xc42e669540, 0xc429543500, 0xc42b97a600)
	/home/dominikh/prj/src/ +0x1a0*analysis).solveConstraints(0xc429543500, 0xc423ecca50, 0xc42b97a600)
	/home/dominikh/prj/src/ +0xa9*analysis).solve(0xc429543500)
	/home/dominikh/prj/src/ +0x2fb, 0x0, 0x76b3c0, 0xc42c995ef0)
	/home/dominikh/prj/src/ +0x51d
main.doCallgraph(0x0, 0x0, 0x0, 0x0, 0x7ffcb53e53bb, 0x3, 0x73e59e, 0x3f, 0x1, 0xc42000e180, ...)
	/home/dominikh/prj/src/ +0x2b9
	/home/dominikh/prj/src/ +0xa5
callgraph: internal error in pointer analysis: interface conversion: *ssa.Convert is not types.Type: missing method Underlying (please report this bug)

/cc @alandonovan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants