This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cmake fails to run/build under Cygwin


On 21 September 2015 Tony Kelman wrote:

> Could you try at least taking the win32 cmake off your path?
> Or as an experiment, running `PATH=/usr/bin cmake .` ?

I've just tried that - no difference.

> Problems with exec'ing external programs would otherwise lead me to suspect BLODA or something trying to inject hooks
> into all processes on startup. You aren't trying to run this in conemu by any chance?

I'm just running in a normal Cygwin session. The most likely BLODA culprit would be Kaspersky Internet Security. I've also got Visual Studio and the
Windows debugging toolkit installed, but I don't think either of those are likely.

Using gdb, the external process seems to get launched normally. The response from `uname` is received, which is just one line of text. But then there seems to be an infinite loop within ProcessUNIX.c in cmsysProcess_WaitForData (lines 1129-1130). This repeatedly calls kwsysProcessWaitForPipe which keeps returning false and so the loop goes on. The underlying Windows function called seems to be ntdll!ZwWaitForMultipleObjects.

I've tried pausing Kaspersky which doesn't help. I'll also try uninstalling it at some point.

Thanks for the help to date anyway.

Nick


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]