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/go: go install cmd in module mode prints unexpected fault address 0xbfe69aec8a #43289

Closed
AlexRouSg opened this issue Dec 20, 2020 · 1 comment

Comments

@AlexRouSg
Copy link
Contributor

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

$ go version
1.15.6
1.16beta1

Does this issue reproduce with the latest release?

yes

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

go env Output
$ go env
set GO111MODULE=off
set GOARCH=amd64
set GOBIN=
set GOCACHE=%USERPROFILE%\AppData\Local\go-build
set GOENV=%USERPROFILE%\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=%USERPROFILE%\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=%USERPROFILE%\go;
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\alexr\AppData\Local\Temp\go-build874774134=/tmp/go-build -gno-record-gcc-switches

What did you do?

In module mode
go install goarrg.com/cmd/goarrg

What did you expect to see?

Program compiled as it does in gopath mode or in modules mode when current directory is command being built.

What did you see instead?

1.15.6 Output
unexpected fault address 0xbfe69aec8a
fatal error: fault
[signal 0xc0000005 code=0x1 addr=0xbfe69aec8a pc=0x6f99c0]

goroutine 1 [running]:
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0

1.16beta1 Output
Exception 0xc0000096 0x0 0x0 0x8820c2
PC=0x8820c2

text/template.init()
c:/go/src/text/template/exec.go:21 +0x2
rax 0x8820ad
rbx 0x0
rcx 0x0
rdi 0x1085778
rsi 0x10
rbp 0xc0000d38e8
rsp 0xc0000d37a0
r8 0x0
r9 0x0
r10 0x2
r11 0xc0000b6c30
r12 0xd
r13 0x3
r14 0x34
r15 0x2030000
rip 0x8820c2
rflags 0x10292
cs 0x33
fs 0x53
gs 0x2b

@AlexRouSg AlexRouSg changed the title cmd/go: go install pkg in module mode prints unexpected fault address 0xbfe69aec8a cmd/go: go install cmd in module mode prints unexpected fault address 0xbfe69aec8a Dec 20, 2020
@AlexRouSg
Copy link
Contributor Author

issue was due to drive corruption

@golang golang locked and limited conversation to collaborators Dec 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants