From e1e00b3373e19f0a429055e50de595e98668db5f Mon Sep 17 00:00:00 2001 From: Dave Korn Date: Sat, 29 Dec 2007 18:20:13 +0000 Subject: [PATCH] * faq-using.xml (faq.using.bloda): New entry. (faq.using.firewall, faq.using.anti-virus): Link to faq.using.bloda. * faq-setup.xml (faq.setup.hang): Likewise link to faq.using.bloda. --- winsup/doc/ChangeLog | 6 +++ winsup/doc/faq-setup.xml | 4 ++ winsup/doc/faq-using.xml | 91 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 101 insertions(+) diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index bdef73909..955927249 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,9 @@ +2007-29-12 Dave Korn + + * faq-using.xml (faq.using.bloda): New entry. + (faq.using.firewall, faq.using.anti-virus): Link to faq.using.bloda. + * faq-setup.xml (faq.setup.hang): Likewise link to faq.using.bloda. + 2007-12-16 Christopher Faylor * pathnames.xml: Fix a typo. diff --git a/winsup/doc/faq-setup.xml b/winsup/doc/faq-setup.xml index 5de59bb91..55c291672 100644 --- a/winsup/doc/faq-setup.xml +++ b/winsup/doc/faq-setup.xml @@ -155,6 +155,10 @@ disk if you are paranoid. This should be safe, but only if Cygwin Setup is not substituted by something malicious, and no mirror has been compromised. +See also +for a list of applications that have been known, at one time or another, to +interfere with the normal functioning of Cygwin. + diff --git a/winsup/doc/faq-using.xml b/winsup/doc/faq-using.xml index a766dce39..c5676d822 100644 --- a/winsup/doc/faq-using.xml +++ b/winsup/doc/faq-using.xml @@ -633,6 +633,10 @@ of poorly written firewall-type software that causes things to break. Note that with many of these products, simply disabling the firewall does not remove these changes; it must be completely uninstalled. +See also +for a list of applications that have been known, at one time or another, to +interfere with the normal functioning of Cygwin. + @@ -782,6 +786,10 @@ contents are exempt from scanning. In a default installation, this would be C:\cygwin\bin. Obviously, this could be exploited by a hostile non-Cygwin program, so do this at your own risk. +See also +for a list of applications that have been known, at one time or another, to +interfere with the normal functioning of Cygwin. + @@ -950,3 +958,86 @@ means they do not understand Cygwin mounts or symbolic links. elsewhere in this FAQ. + +What applications have been found to interfere with Cygwin? + + +From time to time, people have reported strange failures and problems in +Cygwin and Cygwin packages that seem to have no rational explanation. Among +the most common symptoms they report are fork failures, memory leaks, and file +access denied problems. These problems, when they have been traced, often appear +to be caused by interference from other software installed on the same PC. Security +software, in particular, such as anti-virus, anti-spyware, and firewall applications, +often implements its functions by installing hooks into various parts of the system, +including both the Explorer shell and the underlying kernel. Sometimes these hooks +are not implemented in an entirely transparent fashion, and cause changes in the +behaviour which affect the operation of other programs, such as Cygwin. + +Among the software that has been found to cause difficulties are: + +Sonic Solutions burning software containing DLA component +Norton/MacAffee/Symantec antivirus or antispyware +Logitech webcam software with "Logitech process monitor" service +Kerio, Agnitum or ZoneAlarm Personal Firewall +Iolo System Mechanic/AntiVirus/Firewall +LanDesk +Windows Defender +Embassy Trust Suite fingerprint reader software wxvault.dll +NOD32 Antivirus +ByteMobile laptop optimization client + +Sometimes these problems can be worked around, by temporarily or partially +disabling the offending software. For instance, it may be possible to disable +on-access scanning in your antivirus, or configure it to ignore files under the +Cygwin installation root. Often, unfortunately, this is not possible; even disabling +the software may not work, since many applications that hook the operating system +leave their hooks installed when disabled, and simply set them into what is intended +to be a completely transparent pass-through mode. Sometimes this pass-through is not +as transparent as all that, and the hooks still interfere with Cygwin; in these cases, +it may be necessary to uninstall the software altogether to restore normal operation. + +Some of the symptoms you may experience are: + + +Random fork() failures. +Caused by hook DLLs that load themselves into every process in the +system. POSIX fork() semantics require that the memory map of the child process +must be an exact duplicate of the parent process' layout. If one of these DLLs +loads itself at a different base address in the child's memory space as compared +to the address it was loaded at in the parent, it can end up taking the space that +belonged to a different DLL in the parent. When Cygwin can't load the original +DLL at that same address in the child, the fork() call has to fail. + + + +File access problems. +Some programs (e.g., virus scanners with on-access scanning) scan or +otherwise operate on every file accessed by all the other software running on +your computer. In some cases they may retain an open handle on the file even +after the software that is really using the file has closed it. This has been +known to cause operations such as deletes, renames and moves to fail with +access denied errors. In extreme cases it has been known for scanners to leak +file handles, leading to kernel memory starvation. + + + +Networking issues +Firewall software sometimes gets a bit funny about Cygwin. It's not +currently understood why; Cygwin only uses the standard Winsock2 API, but +perhaps in some less-commonly used fashion that doesn't get as well tested +by the publishers of firewalls. Symptoms include mysterious failures to +connect, or corruption of network data being sent or received. + + +Memory and/or handle leaks +Some applications that hook into the Windows operating system exhibit +bugs when interacting with Cygwin that cause them to leak allocated memory +or other system resources. Symptoms include complaints about out-of-memory +errors and even virtual memory exhaustion dialog boxes from the O/S; it is +often possible to see the excess memory allocation using a tool such as +Task Manager or Sysinternals' Process Explorer, although interpreting the +statistics they present is not always straightforward owing to complications +such as virtual memory paging and file caching. + + +