-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Terraform 0.8.8 does not play well with Cylance A/V #12474
Comments
Changing Cylance policy to execute-only per-machine fixes this. |
Hi @Jaff, Sorry, but there's not much we can do to stop Cylance from interfering with executables on your system. |
This is most likely a compatibility issue with CylancePROTECT Memory Protection. If you have Memory Protection disabled you will not encounter it. If you have Memory Protection enabled please ask your Cylance administrator to try adding the following Memory Protection exclusions: |
@jamiseichenauer I tried this approach without any luck. I installed go via homebrew and my go executable is on
|
@alotofnoodles Can you use dtrace (iosnoop, execsnoop) to see what other executables are being invoked? Most likely additional exclusions are required in this case. |
In my testing I added an exclusion for /usr/local/go/pkg/tool/darwin_amd64/asm and it allowed me to run make |
Similar issue here with 0.9.2. terraform --version runtime stack: |
Please point your Cylance administrator to the following: |
You can also help your Cylance admin by running pwd and provide them with the full path e.g. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
0.8.8
Affected Resource(s)
Please list the resources as a list, for example:
not related
Terraform Configuration Files
Debug Output
Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.Expected Behavior
Expected plan
Actual Behavior
Crash report:
fatal error: runtime: bsdthread_register error
runtime stack:
runtime.throw(0x4cbad8a, 0x21)
/opt/go/src/runtime/panic.go:596 +0x95 fp=0x7fff5fbff3a0 sp=0x7fff5fbff380
runtime.goenvs()
/opt/go/src/runtime/os_darwin.go:108 +0xa0 fp=0x7fff5fbff3d0 sp=0x7fff5fbff3a0
runtime.schedinit()
/opt/go/src/runtime/proc.go:486 +0xa1 fp=0x7fff5fbff410 sp=0x7fff5fbff3d0
runtime.rt0_go(0x7fff5fbff448, 0x8, 0x7fff5fbff448, 0x0, 0x0, 0x8, 0x7fff5fbff698, 0x7fff5fbff6a8, 0x7fff5fbff6ad, 0x7fff5fbff6b9, ...)
/opt/go/src/runtime/asm_amd64.s:158 +0x183 fp=0x7fff5fbff418 sp=0x7fff5fbff410
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Our infrastructure relies on "tf" wrapper script that provides working directory and dependant variables.
Important Factoids
Cylance anti-virus has been implicated in crash of go-lang 1.8:
junegunn/fzf#849
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
The text was updated successfully, but these errors were encountered: