Skip to content

runtime: Sangfor EDR anti-virus causes "this version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher." #41631

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

Closed
ApexPredator1 opened this issue Sep 25, 2020 · 11 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Windows
Milestone

Comments

@ApexPredator1
Copy link

ApexPredator1 commented Sep 25, 2020

content of test1.go:

package main

import "fmt"

func main() {
	fmt.Println("hello world")
}

i run "go run test1.go",and then an error occured:

fork/exec C:\Users\preda\AppData\Local\Temp\go-build387128326\b001\exe\test1.exe: This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.

here is "go version" result:

go version go1.15.2 windows/amd64

here is "systeminfo" result:
image

here is "go env" result:

set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\preda\AppData\Local\go-build
set GOENV=C:\Users\preda\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=G:\softwares\gopath
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=G:\softwares\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=G:\softwares\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\preda\AppData\Local\Temp\go-build639531722=/tmp/go-build -gno-record-gcc-switches

I saw that someone had this problem, but his problem was closed and not solved
image

@seankhliao
Copy link
Member

please fill out the issue template properly, in particular the output of go version, and the Windows OS version

@ApexPredator1
Copy link
Author

please fill out the issue template properly, in particular the output of go version, and the Windows OS version

ok

@andybons andybons changed the title This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher. sync/atomic: this version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher. Sep 29, 2020
@andybons andybons added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Windows labels Sep 29, 2020
@andybons
Copy link
Member

@ianlancetaylor @aclements

@andybons andybons added this to the Unplanned milestone Sep 29, 2020
@ianlancetaylor
Copy link
Contributor

Does this happen for a simple "hello, world" program, or does it only happen when you use the sync/atomic package?

@ianlancetaylor ianlancetaylor added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Sep 30, 2020
@ApexPredator1 ApexPredator1 changed the title sync/atomic: this version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher. this version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher. Sep 30, 2020
@ApexPredator1
Copy link
Author

ApexPredator1 commented Sep 30, 2020

Does this happen for a simple "hello, world" program, or does it only happen when you use the sync/atomic package?

yes,even if there is a simple "hello, world" program, it will report an error, and there is a strange phenomenon: it behaves differently depending on the code, it can run normally for example1 below when i right-click "Run go build test1.go",but it report an error(Error running "go build test1.go") when i run example2 by right clicking "Run go build test1.go"
by the way: i already open Goland by administrator privilege

example1:
image
image

example2:
image
image

i open a prompt with administrator privilege, execute command "go run test1.go", :( error again
image

@networkimprov
Copy link

What anti-virus software is running on the machines you've used, and have you tried disabling/uninstalling it?

@ApexPredator1
Copy link
Author

What anti-virus software is running on the machines you've used, and have you tried disabling/uninstalling it?

OMG! it works! i add the path "C:\Users\sangfor\AppData\Local\Temp" to my anti-virus software's white list, problem solved! thanks for your tip

@networkimprov
Copy link

Could you retitle the issue to name the anti-virus software so that others can find this issue?

Also, if problem solved you can close the issue too :-)

@gopherbot remove WaitingForInfo

@gopherbot gopherbot removed the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Sep 30, 2020
@ApexPredator1 ApexPredator1 changed the title this version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher. 【final reason】this version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher. Sep 30, 2020
@ApexPredator1 ApexPredator1 changed the title 【final reason】this version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher. 【final reason is the anti-virus software, you need to shut it down or add white list】this version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher. Sep 30, 2020
@ApexPredator1
Copy link
Author

Could you retitle the issue to name the anti-virus software so that others can find this issue?

Also, if problem solved you can close the issue too :-)

@gopherbot remove WaitingForInfo

OK

@networkimprov
Copy link

Hi, sorry, can you name the specific anti-virus product in the title?

The title beginning should look like: runtime: Product_Name anti-virus causes "this version of %1 is ... "

@ApexPredator1 ApexPredator1 changed the title 【final reason is the anti-virus software, you need to shut it down or add white list】this version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher. runtime: Sangfor EDR anti-virus causes "this version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher." Sep 30, 2020
@ApexPredator1
Copy link
Author

Hi, sorry, can you name the specific anti-virus product in the title?

The title beginning should look like: runtime: Product_Name anti-virus causes "this version of %1 is ... "

OK

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Windows
Projects
None yet
Development

No branches or pull requests

6 participants