<p>Hello,
I'm posting about an Issue I'm currently having. Upon testing my larger program on other's computers, I've found that all go programs, even <a href="https://play.golang.org/p/uHYbRyPaZ_">hello world</a>, will hang indefinitely when opened on one of the computers I'm testing on.</p>
<p>The computer is running windows 7 64 bit,
I've tried compiling(hello world) on the two computers (My laptop & friend's desktop), both of which produce runnable executable files that run perfectly on any other computer, but hang on the desktop. Running the program creates a process with no window, that sits in the background. The processes appear to be unkillable, as any and all attempts by me to terminate them have failed. The only way I have found to kill them is to restart. Both computers have a fresh install of golang (downloaded separately from eachother). I'm running the latest release (1.5.2), and both computers are 64-bit. Compiling to 64-bit or 32-bit makes no difference.</p>
<p>I'm at a complete loss as to where to even begin debugging this issue. If anyone has any thoughts, it would be greatly appreciated.</p>
<p>Edit: isxek's suggestion solved it. The problem was the anti virus. Disabling it allowed all go programs to run as-per normal.</p>
<hr/>**评论:**<br/><br/>isxek: <pre><p>Have you tried temporarily disabling the antivirus software on that machine & re-running that "hello world" program?</p></pre>stewi1014: <pre><p>THIS! I can't believe I didn't think to disable the anti virus, but doing so let all the programs run flawlessly. Thank you so much.</p></pre>isxek: <pre><p>Good to hear! Have fun.</p></pre>letslaughattheop: <pre><p>!!! time to name and shame.</p>
<p>What was the virus app and why is it complete garbage?</p></pre>1Gijs: <pre><blockquote>
<p>both of which produce runnable executable files that run perfectly on any other computer, but hang on the desktop</p>
</blockquote>
<p>So the problem is specific to just this one computer. I would conclude its not a Go program problem. Its just that Go programs that you created do manifest a deeper problem on this computer.</p></pre>stewi1014: <pre><p>I suspect there may be a fair amount of merit to this. However the computer seems to function properly for everything else, it's just go programs that fail. If I could get it working it would be really great, but it's not overly important.</p></pre>mtpcmm: <pre><p>What AV was this? Id be interested in what engine/defs were doing this. </p></pre>letslaughattheop: <pre><p>If it's Trend Micro I'll flat out die.</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
0 回复
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传