Web lists-archives.com

Re: Sometimes Emacs sticks on forking...

On 2017-06-13 01:28, Václav Haisman wrote:
> On 12 June 2017 at 23:30, Oleksandr Gavenko <gavenkoa@xxxxxxxxx> 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