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/text: internal compiler error from unicode/norm/tables13.0.0.go:21:5 #56143

Closed
tmccombs opened this issue Oct 11, 2022 · 2 comments
Closed
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@tmccombs
Copy link

tmccombs commented Oct 11, 2022

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

$ go version
go version go1.19.2 linux/amd64

Does this issue reproduce with the latest release?

Unknown

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

go env Output
$ go env

What did you do?

I tried to build hcl2json using it's Dockerfile, with the command:

podman build .

What did you expect to see?

A successful compilation

What did you see instead?

An internal compiler error:

[1/2] STEP 9/10: RUN go get .
go: downloading github.com/zclconf/go-cty v1.11.0
go: downloading github.com/hashicorp/hcl/v2 v2.13.0
go: downloading github.com/apparentlymart/go-textseg/v13 v13.0.0
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/apparentlymart/go-textseg v1.0.0
go: downloading github.com/agext/levenshtein v1.2.3
go: downloading github.com/mitchellh/go-wordwrap v1.0.1
--> 89d64a9c5dc
[1/2] STEP 10/10: RUN go build -a -ldflags '-s' -o /hcl2json .
# golang.org/x/text/unicode/norm
/root/go/pkg/mod/golang.org/x/text@v0.3.7/unicode/norm/tables13.0.0.go:21:5: internal compiler error: panic: runtime error: invalid memory address or nil pointer dereference

When I ran it again, it succeeded.

@gopherbot gopherbot added this to the Unreleased milestone Oct 11, 2022
@seankhliao
Copy link
Member

I can't reproduce this with the given dockerfile or with just the repo

@seankhliao seankhliao added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Oct 12, 2022
@tmccombs
Copy link
Author

After seeing some other random crashes, I checked my RAM, and it turns out I was having memory faults. That is probably what caused this. I'll close.

@golang golang locked and limited conversation to collaborators Oct 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants