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

cmd/compile: Compiler crash #28579

liuxingbaoyu opened this issue Nov 3, 2018 · 1 comment

cmd/compile: Compiler crash #28579

liuxingbaoyu opened this issue Nov 3, 2018 · 1 comment


Copy link

@liuxingbaoyu liuxingbaoyu commented Nov 3, 2018

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

go version go1.11 windows/amd64

Does this issue reproduce with the latest release?


What operating system and processor architecture are you using (go env)?

Windows x64

What did you do?

What did you expect to see?

Some error tips

What did you see instead?

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x70 pc=0xb7c7ee]

goroutine 1 [running]:
cmd/compile/internal/gc.typecheck1(0xc00032e080, 0x1, 0xca41c5)
	/usr/local/go/src/cmd/compile/internal/gc/typecheck.go:1270 +0x3ece
cmd/compile/internal/gc.typecheck(0xc00032e080, 0x1, 0x3)
	/usr/local/go/src/cmd/compile/internal/gc/typecheck.go:238 +0x6ad
cmd/compile/internal/gc.typecheckslice(0xc00000c588, 0x1, 0x1, 0x1)
	/usr/local/go/src/cmd/compile/internal/gc/typecheck.go:68 +0x50
	/usr/local/go/src/cmd/compile/internal/gc/main.go:518 +0x2059
	/usr/local/go/src/cmd/compile/main.go:51 +0x96

This comment has been minimized.

Copy link

@ALTree ALTree commented Nov 3, 2018

Thanks for the report.

This is fixed on tip and the fix was backported in 1.11.2 (#27973). Please upgrade to 1.11.2. Closing here, since there's nothing more to do.

@ALTree ALTree closed this Nov 3, 2018
@golang golang locked and limited conversation to collaborators Nov 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.