X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:subject:reply-to:to:references:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=yf+qCmLDfWsbV6Xd
	gVIY8EMNROF8ndI2lpO2Rz9b3VwDYEQ7uFDIs1mfXSTAmXGYv986vkYiGJqLQgcw
	DISOIckHKKRCNuK8gT1dsZMF1CWVvwy3p7Z3dDIozACWBP3gzr+S38QcWq8ahaK6
	vlZ6nXeSe17YM0agcMYIy003FhM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:subject:reply-to:to:references:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=f8bNSENCDHrmdOyCx2UbSk
	OWdYs=; b=JK8cnW60nB2RABl37OzGLUmuscGJ/4sAg1NJUqbk7xhzPOV6tpcn5j
	Ga3HwGE51TXxgDy13WU+p6Lw6ViT9Whoa/qZtSWmwQggZvi1MNPAxxTOUOyxITR0
	aVoV2up9onPEwIPSBLhChWBtgfhH5E12KTAv7CcmsYjS9zQkBTq3g=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Alberta, inglis, Inglis, alberta
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.2 cv=UpATD64B c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=pGLkceISAAAA:8 a=w_pzkKWiAAAA:8 a=5YQxBj8rPbSH0DchCYgA:9 a=QEXdDO2ut3YA:10 a=nWb9qXfGVYYA:10 a=sjVPaHIGsnYA:10 a=6kGIvZw6iX1k4Y-7sg4_:22 a=sRI3_1zDfAgwuvI8zelB:22
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Subject: Re: Sometimes Emacs sticks on forking...
Reply-To: Brian.Inglis@SystematicSw.ab.ca
To: cygwin@cygwin.com
References: <vriuzidcq4ft.fsf@gavenkoa.example.com> <CAKw7uVhEJNJ=Mn7fKLpYj--UkhsU9VqT51tg728HH=x3cd=k5w@mail.gmail.com>
Message-ID: <5bcaf0ae-6f01-2460-f11a-7397fff30e63@SystematicSw.ab.ca>
Date: Tue, 13 Jun 2017 11:17:12 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <CAKw7uVhEJNJ=Mn7fKLpYj--UkhsU9VqT51tg728HH=x3cd=k5w@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-CMAE-Envelope: MS4wfOMJjqUPagqUTS5Y4WESRln7zBFtiHsTynbkfUXxYQ3EJesiSx4UpzmjakAmuCpGtvfYDRRONiOpdTW4dQLocNajUVNONKJRuZ57v3Hx0ZNjxpSXOh1U k0+qXODQu+q51nMVLZI3hvfC89rlJ8x4dGJVXAqhPTIs4uZNpgvorCAQ012jZ1/pkd8EI/k9Gg5epA==
X-IsSubscribed: yes

On 2017-06-13 01:28, Václav Haisman wrote:
> On 12 June 2017 at 23:30, Oleksandr Gavenko <gavenkoa@gmail.com> wrote:
>> I use latest Cygwin Emacs W32 under Windows 10 x64 and Emacs spawns external
>> processes like hg/git when it open file.
>> Sometimes it freezes and in procexp I see spawned Emacs fork.
>> Usual build-in Emacs C-g key binding doesn't help much (it work with lots of
>> key press and long delay). It is faster to find Emacs fork in procexp and kill
>> it.
>> I've read
>>   https://www.cygwin.com/faq.html#faq.using.fixing-fork-failures
>> and some suggestion to debug is:
>>   CYGWIN=detect_bloda
>> How can I get messages from GUI program? Emacs W32 open conhost terminal
>> buffer. Is that a place where I should expect warn message?
>> What if problem occur in temporary spawned processes from Emacs? Do they
>> attached to conhost terminal buffer?
>> I have one BLODA, Windows Defender (win10 x64). How can I disable it? I see
>> tricks like:
>>   Windows Registry Editor Version 5.00
>>   [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender]
>>   "DisableAntiSpyware"=dword:00000001
>>   "DisableRoutinelyTakingAction"=dword:00000001
>> I have Home license and have no access to Group Policy editor...
> We do not use Windows Defender and I am seeing this occasionally as
> well. We use McAfee though.

I have found that McAfee/Intel, Norton/Symantec, AVG/Avast and similar
heavy weight intrusive packages slow down I/O on your systems, and
cause various problems, unless you whitelist the programs you are using
at that time.

If you want to run an AV, try Windows Defender, and Windows Firewall
(with MSE/MS Security Essentials free download if you are still on W7).
They seem to do the same job less intrusively with fewer problems,
mainly the occasional annoying false positive.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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

