Open anand-hariharan opened 5 years ago
Are you running TrendMicro anti-virus or similar software? If so, try temporarily disabling it. There is a currently known issue with this behavior with TrendMicro and anything threaded in Cygwin.
Thank you @xperia64 for the feedback. Yes, I confirm disabling TrendMicro resolves the issue. However, despite adding the entire Cygwin installation to TrendMicro's exclusion list, it still causes ag
to ( silently ) fail. I cannot disable TrendMicro during the workday.
Is there a fix expected for this known issue (either from Cygwin or ag or ...)?
This is out of the scope of ag.
TrendMicro seems to break Cygwin threading as a whole. I've compiled a basic c test of pthreads under Cygwin on a TrendMicro machine, and even that fails.
The specific TrendMicro component that my IT department disabled on my machine I believe was predictive machine learning or deep inspection; something named along those lines.
Running
ag
in cygwin 2.11.1(0.329/5/3) on Windows 7This command
ag -w include --cpp
in a source tree littered with C++ files generates no results. The equivalentgrep
command returns expected results.Running ag with strace shows these following lines at the very end (i.e., just before the process is terminated):
Running within gdb shows this:
If any other information is required, please let me know.
thank you much,