www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/05/04/09:28:34

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 882D83857831
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=9upgSyndPJjPIAFhfTlG9dSX88srUuBqL2DRnxPu678=;
b=O28sehgarQY9tBy5Pj1x0Nbs7D9JSWJub/gKzK2vUs1lE9HMpGt+yGotEkyvuK3r9u
HPv70tLIBeI5zAppq54y2NMazioRvEKtyzOnd9lwGTBjgcZ6dkrzEpva6ZydHZhlvg8l
0yY/A4VdUNE1T1JCM3OpU4MA7fxZAMljTg2nYkNxchoWaJVJaeQ1BTsgysrPcn2nleTe
DsKL6dA0wUWp4JD5Jv8lratrHuy7bIa610DslENL8k25p/GB4R8fUvDk22lvaeBC5hw4
gJGsyu3qclXitndUbEyEzKT35x+tbn7s2MEZJH1vIhEI4UCi7h4kqxKcX/yBwBJpesFt
1jow==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=9upgSyndPJjPIAFhfTlG9dSX88srUuBqL2DRnxPu678=;
b=dwt/XiTnLwVE28gOBXgJQNS7P0uPeg1TNx30sI7HtvWm5Pkj/t20Xtv612mVxTL4F5
5/Kq13FWGTtOQ1bqVXlqWp3JXE7ubGhP1+FesXo4flUZ0Mbt4ppHho69zT5Hm+BWwHKo
6hfa7lMArBwVEXwT15WUkbQm4r1I+489/yOS/rsf0siJ2TOehhE2XRJ3W+dCJDdaTUUn
wxBOK2WhMi/hUjLnDLywAWQjUxzhX/it/M2K0zCw+yZWrcPkX1Kpr5PYYjWKTRQYlS2k
JIU6m0HGjTEnAI2cmDob8jqzuzfoY2yKMTiau6lBrI1bFIe2lRhCGSiYhoY4TaZhtxCj
++rg==
X-Gm-Message-State: AOAM532Fx1SuhIlIc7VJ55Q9OvL2eB+BTNANsGZ4qGO0OG1ZNVUbmP2M
03D0huaTOqJTTYUdwce0BTqxc4UvHDSUBvIdIFQ=
X-Google-Smtp-Source: ABdhPJy5kvLrGeLSbKBsWYyuCR3yKgqTqnsuc/ptuDAfF02FIhi4RxoMiFG7AdG6fRTPNgn6wXCCVhJwmzFmGHoRnMU=
X-Received: by 2002:a02:c801:0:b0:32a:e779:fabc with SMTP id
p1-20020a02c801000000b0032ae779fabcmr9191908jao.219.1651670874625; Wed, 04
May 2022 06:27:54 -0700 (PDT)
MIME-Version: 1.0
References: <CAGHpTB+t+gCySabZZQvJstZSLresmoOTUUL8of9cwCdvmGySdg AT mail DOT gmail DOT com>
<20220504002343 DOT 4345bfe1630fa904276f0d37 AT nifty DOT ne DOT jp>
<CAGHpTB+3V98eWDaHv7DCa133KWS39FaDFMUo=8qOJjxTFon51A AT mail DOT gmail DOT com>
<20220504011018 DOT 7c455cedb38571f786d72ae9 AT nifty DOT ne DOT jp>
<CAGHpTBJyOgYAzEvs3NLb8AzkiujbCKjaf+w-QSJAou47g-J-Cg AT mail DOT gmail DOT com>
<CAGHpTB+tZX+z0ZkCNG-42bp4Pw+YKUXkccnnNqwN_tHRekk=UA AT mail DOT gmail DOT com>
<20220504201610 DOT 125888f234ffe063fa6773c0 AT nifty DOT ne DOT jp>
In-Reply-To: <20220504201610.125888f234ffe063fa6773c0@nifty.ne.jp>
From: Orgad Shaneh <orgads AT gmail DOT com>
Date: Wed, 4 May 2022 16:27:43 +0300
Message-ID: <CAGHpTBKphe_jSRS+9ihygODYGYYyzPfLPkt9H4rTDm9u7pMexw@mail.gmail.com>
Subject: Re: mintty crashes on Windows 7
To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Wed, May 4, 2022 at 2:16 PM Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> wrote:
>
> > Reduced the revert to this:
> > @@ -979,16 +979,10 @@ fhandler_pty_slave::open (int flags, mode_t)
> >         code does not work as expected because it calls Win32
> >         API directly rather than cygwin read()/write(). Due to
> >         this behaviour, protection based on attach_mutex does
> >         not take effect. */
> >      get_ttyp ()->need_invisible_console = true;
> > -  else if (_major (myself->ctty) != DEV_CONS_MAJOR
> > -    && (!get_ttyp ()->invisible_console_pid
> > -        || !pinfo (get_ttyp ()->invisible_console_pid)))
> > -    /* Create a new invisible console for each pty to isolate
> > -       CTRL_C_EVENTs between ptys. */
> > -    get_ttyp ()->need_invisible_console = true;
> >    else
> >      {
> >        acquire_attach_mutex (mutex_timeout);
> >        fhandler_console::need_invisible ();
> >        release_attach_mutex ();
>
> A few things about this.
>
> 1) bash exits with exit code 127 for 'mintty bash'
> 2) 'mintty bash' does not work, but 'mintty ash' and 'mintty tcsh' work.

Right. mintty dash also works.

Notice that I did *not* set enable_pcon (not supported on Win7 anyway).

- Orgad

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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