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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=hiDL2h6/2z1XKg2S Eoz4kSHvn4DhnSNLtkpxS1MzzntuCCugEukbSvCR85rvEdUVsoaspFdzvCyjoamo s5YwMu0gL2QkMOMA8dE8ShJj/4Lw3zsAJ3uHs1DdgkvKNsgs2RAA+mmd/hWS25AQ +sLDpjKOLLquILaU4GaX1iyhXPk= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=G/rHrCUkpBRG/PXMDBkeVq 4Gp5U=; b=wbbZS9WGZl06ohUsbfQcu0F66xDhTzW6xKY6SAUXOrZ8ecn1c3Bdkn rvoebAHcaobKilWmc/pj3p4KPjbUYGgMxaNJJ7zNREdqL66gGYFFY3X5KSarrjte gXmKWdE0AWSZJpHenSuvV/L8nS41vqp2AMURtYKEGz/93p1mu1pA4= 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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=murase, Murase, Koichi, H*f:sk:CAFLRLk X-HELO: mail-wr1-f46.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=kaXD3CBq9UwBEwb3Wumm/B3Y5335gvMTZlB3YrTqy9M=; b=MMD8OBo9m042ME5g8FTIDeGAXMnfZgT6avKvnyx64FaAghpKyEXNXseUsZOECjg0S6 HXuzX7iTaVcQkt+JpDrFzy9KfEw28od+MGZ8a0lphyBHpm46Rbo51ZGSr4zs8D8k3hUZ b1gSKUyjZ+LUYwjsNHfvGqSg3cQdu8G6pGLyXmfMHLKZ7dwOe9XO3Z5eb5QcDIBdLVYk FJFkpANI0XxfNGvqCyxuLrni/WmPDfdCCFUH6oBv7Ocuqag8lwWebuqFfvebEZr7Oix+ nj8Yyq7aNGaETPSswACVdtIi1xugCFy7m4PmYs1EQe/KKBs0lhQ13f4QE+UMZF32HeKg AD/g== Subject: Re: Cygwin 3.1.2: Every call of exec(2) in the session starts to create a console window after some TTY outputs from programs compiled with "-mwindows" To: cygwin AT cygwin DOT com References: From: Marco Atzeri Message-ID: Date: Mon, 20 Jan 2020 08:17:06 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Am 20.01.2020 um 07:13 schrieb Koichi Murase: > Hi, I updated Cygwin from 3.0.7 to 3.1.2 and have two problems. This > is the report for one of them. (For the other one, read(2) > occasionally fails on the new cygwin console for some settings, but > I'm still trying to pin down the issue.) > > Cygwin Version: > > Cygwin 3.1.2 x86_64 on Windows 10. I also confirmed that the > problem is not fixed with the latest commit 85aff2830 of > newlib-cygwin. Note that Cygwin 3.0.7 doesn't have this problem. > > > Brief Description: > > As in the subject, this problem is caused after some TTY outputs from > programs compiled with "-mwindows". For example, after running the > command "mintty.exe --version" in a terminal, every "exec" called in > the processes in the same session starts to create a console window > which will be closed instantaneously. As results, the display is > always flashing when some scripts are running, the shell scripts > becomes very slow, some of user inputs to the terminal go to the > created window and get lost, and CPU usage extremely increases. > This problem was not present in Cygwin 3.0.7. > > > Repeat-By: > > The following is one example to reproduce it: > > 1. Open Cygwin Terminal (mintty) > 2. Run "mintty --version" > 3. Run some shell scripts, e.g., "for i in {0..99}; do date; done | uniq -c" > I can not replicate with latest snapshot $ uname -a CYGWIN_NT-10.0 LAPTOP-82F08ILC 3.1.2s(0.340/5/3) 2020-01-14 16:33 x86_64 Cygwin $ mintty --version mintty 3.1.0 (x86_64-pc-cygwin) ... $ for i in {0..99}; do date; done | uniq -c 6 Mon, Jan 20, 2020 8:15:49 AM 18 Mon, Jan 20, 2020 8:15:50 AM 19 Mon, Jan 20, 2020 8:15:51 AM 16 Mon, Jan 20, 2020 8:15:52 AM 20 Mon, Jan 20, 2020 8:15:53 AM 21 Mon, Jan 20, 2020 8:15:54 AM -- 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