X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=pXtL4bRDImdPk7EgxxNvslwIA2+efsqRroKAcgvz+ot W3ZYdDqZ/U3h1lWY9K8Y1Jbx4bSqlUIo4FnBhi9LAtu5TG6QWUGt5fg5Efez5c7E BVMWP2XwkZ2S+kFjd53fucel4E40PWRBIaPj/9IElEwBfntCR6C4p7av5Jra5hL4 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; s=default; bh=INBdup16bTP51R6hLc31fhjSYa8=; b=DBhehzAlOPetj3Hvn dEKIeiuCVJkWGBxcSh3En0s+HcBl234Q67osge9BPW69sWOVxRub/Bc1fYeOwch5 qb6ydOn+E+xYltYaLehjpUtLL+5J/5clsNoG4g9glgmw/EHXl4Q0py84pOmpIR2V pYz3nKijFXA5nqlHeZLgrbbbuQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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, 3 Oct 2019 19:44:04 +0900 From: Takashi Yano To: cygwin AT cygwin DOT 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 AT ssi-schaefer DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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