-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Closed
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Description
What version of Go are you using (go version)?
$ go version go version go1.13.6 windows/amd64
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= set GOARCH=386 set GOBIN= set GOCACHE=C:\Users\ContainerAdministrator\AppData\Local\go-build set GOENV=C:\Users\ContainerAdministrator\AppData\Roaming\go\env set GOEXE=.exe set GOFLAGS= set GOHOSTARCH=amd64 set GOHOSTOS=windows set GONOPROXY= set GONOSUMDB= set GOOS=windows set GOPATH=C:\gopath 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 GO386=sse2 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=-m32 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\ContainerAdministrator\AppData\Local\Temp\go-build649431418=/tmp/go-build -gno-record-gcc-switches
What did you do?
Trying to build an application for windows inside of a Windows docker container, using the following as the base image: golang:1.13.6-windowsservercore-1809
What did you expect to see?
I expected the build to be successful without a PowerRegisterSuspendResumeNotification failure
What did you see instead?
runtime: PowerRegisterSuspendResumeNotification failed with errno= 87
fatal error: runtime: PowerRegisterSuspendResumeNotification failure
runtime stack:
runtime.throw(0xe79862, 0x37)
c:/go/src/runtime/panic.go:774 +0x79 fp=0x1d8fda8 sp=0x1d8fd78 pc=0x431789
runtime.monitorSuspendResume()
c:/go/src/runtime/os_windows.go:307 +0x20a fp=0x1d8fe50 sp=0x1d8fda8 pc=0x42d8ea
runtime.goenvs()
c:/go/src/runtime/os_windows.go:544 +0x1ba fp=0x1d8fea8 sp=0x1d8fe50 pc=0x42e26a
runtime.schedinit()
c:/go/src/runtime/proc.go:554 +0xa9 fp=0x1d8ff00 sp=0x1d8fea8 pc=0x434189
runtime.rt0_go(0x1d8ff30, 0x7fffe2737974, 0x1d8ff30, 0x0, 0x7fffe2737974, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
c:/go/src/runtime/asm_amd64.s:214 +0x13d fp=0x1d8ff08 sp=0x1d8ff00 pc=0x45cf8d
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.