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: version command hangs on Windows Server 2019 #44908

Open
ionutnechita opened this issue Mar 10, 2021 · 4 comments
Open

cmd/go: version command hangs on Windows Server 2019 #44908

ionutnechita opened this issue Mar 10, 2021 · 4 comments

Comments

@ionutnechita
Copy link

@ionutnechita ionutnechita commented Mar 10, 2021

Microsoft Windows [Version 10.0.17763.737]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\Administrator>go version
fatal: morestack on g0
Exception 0x80000003 0x0 0x0 0x20d421
PC=0x20d421

runtime.abort()
c:/go/src/runtime/asm_amd64.s:852 +0x1
runtime.morestack()
c:/go/src/runtime/asm_amd64.s:425 +0x2a

goroutine 1 [runnable, locked to thread]:
go/build.init()
c:/go/src/go/build/build.go:1040 +0x4fb
rax 0x17
rbx 0xb805b0
rcx 0xb805b0
rdi 0xd5d3caa000
rsi 0xc0000d17a0
rbp 0xc0000d18a8
rsp 0xc0000d1880
r8 0xc0000d1658
r9 0xc0000d17d0
r10 0x0
r11 0x246
r12 0x5
r13 0x1
r14 0x4
r15 0xffffffffffffffff
rip 0x20d421
rflags 0x212
cs 0x33
fs 0x53
gs 0x2b

C:\Users\Administrator>

GO version: go version go1.16 windows/amd64
Windows Server 2019 Version 1809 (OS Build 17763.737)

@AlexRouSg
Copy link
Contributor

@AlexRouSg AlexRouSg commented Mar 10, 2021

Have you already ruled out a antivirus?
Does this happen on any other windows machine?

Cause Go is tested on server 2008/2012/2016 and I am running it on windows 10 20H2.
So it would be very weird to have a problem specific to server 2019.

@SeLvAKuMaR-007
Copy link

@SeLvAKuMaR-007 SeLvAKuMaR-007 commented Mar 10, 2021

image
Able to get the version

@ionutnechita
Copy link
Author

@ionutnechita ionutnechita commented Mar 10, 2021

I try now with Windows 2019 / Windows 2016 with go1.16 and observe this issue.

I try to build with "go build -v" and in Windows 2019 and Windows 2016 not working with go1.16.

I try with go1.15.8 and this working correctly. But after several attempts it remains stuck.

Maybe exist regression in go1.16 with Windows support.

Thanks.

@ionutnechita
Copy link
Author

@ionutnechita ionutnechita commented Mar 10, 2021

With GO version 1.13.15.
Only it works correctly on Windows 10 / Windows Server 2016 - 2019.

From the next version, the problem exists.
1.14, 1.15 and 1.16 not working.

@mdlayher mdlayher changed the title Go version command hang in Windows cmd/go: version command hangs on Windows Server 2019 Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants