From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128357 invoked by alias); 3 Oct 2019 10:44:15 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 128350 invoked by uid 89); 3 Oct 2019 10:44:15 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-20.2 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=displayed, armed X-HELO: conssluserg-03.nifty.com Received: from conssluserg-03.nifty.com (HELO conssluserg-03.nifty.com) (210.131.2.82) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 03 Oct 2019 10:44:14 +0000 Received: from Express5800-S70 (ntsitm283243.sitm.nt.ngn.ppp.infoweb.ne.jp [125.1.151.243]) (authenticated) by conssluserg-03.nifty.com with ESMTP id x93AhtRM008601 for ; Thu, 3 Oct 2019 19:43:55 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com x93AhtRM008601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1570099435; bh=sSFDTr9omrsYyi7mDzG66+o5/obvtcrVs4dI29HQMRk=; h=Date:From:To:Subject:In-Reply-To:References:From; b=GadrO37BaaF5JgU1YVyPhEw3uzrSK3GXawaoX8jobl9HpJjA/8rVKFGLP3mJMlU/r cERHYuY1S4ujbDMH8wUOMV/04APHGb6CIHYo77uYS3XUHxGaZT+7vF+isB+ebrRYBo wMTCaKb8JWSFE/6t8Q81ZSCUW/gtm5cLlqupcMc8PJ6VgQTsDwMNJqBqwH+SGtILiT HxKAal/NySy/Q/51ktrThmtoZZnbhrLv2uK5fBov9/xVIFg7u2QlBeHcWmB9owgzYC S4Df9HrVa2JuzKoRTu6/V7oVTavLGFSE2t0q2d/f7+5tljce4b5NXKFObPyhqS9dgM 9ldxUqNBPreiQ== Date: Thu, 03 Oct 2019 10:44:00 -0000 From: Takashi Yano To: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] cygwin 3.1.0-0.6 (TEST) Message-Id: <20191003194404.8bde935fcee1a987f6007121@nifty.ne.jp> In-Reply-To: <1e27eef9-930c-0441-3da3-8039c84206e8@ssi-schaefer.com> References: <1e27eef9-930c-0441-3da3-8039c84206e8@ssi-schaefer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg00014.txt.bz2 Hi Michael, Thanks for the report. On Wed, 2 Oct 2019 16:03:53 +0200 Michael Haubenwallner wrote: > * I'm logged into some Server 2012r2 box via Cygwin sshd from Linux xterm, > * export EDITOR=vim # but same problem with EDITOR=emacs > * cd to some git project > * git rebase -i HEAD^ > * Ctrl-Z, to temporarily return to shell prompt > > Both the editor and the git processes seem to be suspended, but the > shell does not react nor show the prompt in any way, although further > keyboard input characters are displayed. I looked into this problem, and found this caused by the following change. > diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc > index 848f9bd68..db0fe0867 100644 > --- a/winsup/cygwin/exceptions.cc > +++ b/winsup/cygwin/exceptions.cc > @@ -949,7 +949,7 @@ _cygtls::interrupt_setup (siginfo_t& si, void *handler, struct sigaction& siga) > if (incyg) > set_signal_arrived (); > > - if (!have_execed) > + if (!have_execed && ch_spawn.iscygwin ()) > proc_subproc (PROC_CLEARWAIT, 1); > sigproc_printf ("armed signal_arrived %p, signal %d", > signal_arrived, si.si_signo); The cause is that iscygwin() returns false even if the process is cygwin process, contrary to my expectation. However, it is natural if I think well. I have just submitted a patch for this issue. -- Takashi Yano -- 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