Mintty/tmux hangs for 1 minute on startup - seems to be a forking issue

Anon User via cygwin cygwin@cygwin.com
Sat Feb 1 17:41:00 GMT 2020


What happens is it hangs on that openpty() call.  It displays Start immediately.  But then around a minute later it shows the rest.

$ ./a.exe
Start.
** hangs here about 1 minute **
PTY opened.
PTY closed.

I took the liberty of adding time() calls just before and after the openpty() call:

$ ./a.exe
Start.
1580578712
PTY opened.
1580578772
PTY closed.

It turns out to be exactly 1 minute -- like there's a 60 second timeout waiting for something...

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