This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]