From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45674 invoked by alias); 20 Jan 2020 07:17:21 -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 45667 invoked by uid 89); 20 Jan 2020 07:17:21 -0000 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 Received: from mail-wr1-f46.google.com (HELO mail-wr1-f46.google.com) (209.85.221.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 20 Jan 2020 07:17:10 +0000 Received: by mail-wr1-f46.google.com with SMTP id t2so28319056wrr.1 for ; Sun, 19 Jan 2020 23:17:10 -0800 (PST) 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== Return-Path: Received: from ?IPv6:2003:ee:6727:2e01:ccfd:e796:d881:97dc? (p200300EE67272E01CCFDE796D88197DC.dip0.t-ipconnect.de. [2003:ee:6727:2e01:ccfd:e796:d881:97dc]) by smtp.gmail.com with ESMTPSA id t190sm8522899wmt.44.2020.01.19.23.17.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Jan 2020 23:17:07 -0800 (PST) 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@cygwin.com References: From: Marco Atzeri Message-ID: Date: Mon, 20 Jan 2020 07:17:00 -0000 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 X-SW-Source: 2020-01/txt/msg00162.txt.bz2 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