delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/29/02:03:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <db95995b0909282146h39653926o95b74de1e9f32e30@mail.gmail.com>
References: <db95995b0909282146h39653926o95b74de1e9f32e30 AT mail DOT gmail DOT com>
Date: Tue, 29 Sep 2009 07:03:36 +0100
Message-ID: <416096c60909282303u700ef6dfs1fd903cd849a58e1@mail.gmail.com>
Subject: Re: Cygwin 1.7 & mintty error - cannot run mintty more than once at a time
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

2009/9/29 David Antliff:
> I've been using Cygwin 1.7 alongside Cygwin 1.5 quite happily for the
> last few hours, however all-of-a-sudden when I try and run mintty
> (from cygstart or from a cmd.exe shell) I get a new window with this
> error message:
>
> Failed to create child process: No such file or directory

That means its call to forkpty() failed.


> Hitting "enter" makes the window close.

Yep, that's as intended.


> I messed around with this for a while until I discovered something
> very obvious - I already had a mintty running.
>
> It appears that in Cygwin 1.7 I cannot run more than one instance of
> mintty at a time.
>
> In 1.5, I have happily run many, many instances simultaneously.
>
> However I can run bash.exe without a problem, and in doing so I tried an strace:
> ...

Thanks for that, but more basic info is needed first.

From http://cygwin.com/problems.html: "Run 'cygcheck -s -v -r
>cygcheck.out' and include that file as an attachment in your report.
Please do not compress or otherwise encode the output. Just attach it
as a straight text file so that it can be easily viewed."

Also, which version of mintty are you using, and how exactly are you
invoking it? And are you running 1.5 at the same time?

Andy

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019