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

2020-02-02 Thread Anon User via cygwin
OK I found it.  You're right. The same outcome occurs.  So I guess it's not cygwin specific.  Sorry to have wasted your time.  I guess my Windows install is messed up somehow. I wish I could get the feedback I need to figure out what I did to have caused this.  I have tried countless searches on

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

2020-02-02 Thread Anon User via cygwin
Sure. I'm willing to try it. Where do I get that compiler from? -- 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

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

2020-02-02 Thread Anon User via cygwin
Not sure how to confirm that.  I install the built-in OpenSSH client/server app.  Then I start the OpenSSH server service.  Then I ssh to 127.0.0.1 and login fine.  There is no waiting on the service starting up nor on the ssh client connecting to the daemon and getting a shell (Windows 'DOS' s

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

2020-02-02 Thread Anon User via cygwin
Same behavior as mintty, tmux, the previous test case, with TaskManager's analyze wait chain saying it's waiting on Network I/O.  $ ./a.exeStarted. ** 1 min wait here ** CreatePseudoConsole() end.ClosePseudoConsole() end. -- Problem reports: http://cygwin.com/problems.html FAQ:

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

2020-02-01 Thread Anon User via cygwin
$ md5sum /bin/cygwin-console-helper.exe 221bdfff7c8ccd1227bacb025bba665b */bin/cygwin-console-helper.exe -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.

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

2020-02-01 Thread Anon User via cygwin
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

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

2020-01-31 Thread Anon User via cygwin
I first reported this problem to the Mintty project at GitHub.  With their help, I was able to debug the issue to the call to forkpty.  I installed tmux and found it also hangs the exact same way.  My guess is any process which makes this fork call will hang in a similar way. Rather than copy/pa