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

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

Closed
ApexPredator1 opened this issue Sep 25, 2020 · 11 comments

Comments

@ApexPredator1
Copy link

@ApexPredator1 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
Contributor

@seankhliao seankhliao commented Sep 25, 2020

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

Loading

@ApexPredator1
Copy link
Author

@ApexPredator1 ApexPredator1 commented Sep 25, 2020

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

ok

Loading

@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
Copy link
Member

@andybons andybons commented Sep 29, 2020

Loading

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

@ianlancetaylor ianlancetaylor 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?

Loading

@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 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

Loading

@networkimprov
Copy link

@networkimprov networkimprov commented Sep 30, 2020

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

Loading

@ApexPredator1
Copy link
Author

@ApexPredator1 ApexPredator1 commented Sep 30, 2020

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

Loading

@networkimprov
Copy link

@networkimprov networkimprov commented Sep 30, 2020

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

Loading

@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

@ApexPredator1 ApexPredator1 commented Sep 30, 2020

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

Loading

@networkimprov
Copy link

@networkimprov networkimprov commented Sep 30, 2020

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 ... "

Loading

@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

@ApexPredator1 ApexPredator1 commented Sep 30, 2020

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

Loading

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants