Sometimes Emacs sticks on forking...

Oleksandr Gavenko gavenkoa@gmail.com
Mon Jun 12 21:31:00 GMT 2017


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

-- 
http://defun.work/


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



More information about the Cygwin mailing list