delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/02/13/21:40:54

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
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=GpI+mvFdwt+7nqvB0GAR27MJc2awy
AHzvG3RE9UkiwazBK4bfCPPnS4cEc9l+q16NK8MSKha/9y9fxAwcpco44ONpBUWL
1iBqEnWnXt6zVo8FFjzqNswpSzvJyPqbvh9v4C8Sgl7G+r4MFV31R060mNa30NgW
An/xsCdaZ/JMlQ=
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
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=zIGs2jSslygJ6/uvlHzPWMa9Fk4=; b=aSG
9BkBpI8hzF6LI7l9iTBbFY/8mGPYE6U9jRqsRwuASnWF2eDOR4A8e4tMoXl2Jt+u
18/MWuaPBkr5erUVfBjm3u7GJXLVsHMbWWWIGGYVXr1lTpaL7KvD9apUN8Jw5wHO
rmFEy3oHcefKU0srn3Phel6b0CAirDEbByWyov7E=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-7.1 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=Protection, UD:faq.html, faq.html, faq.using.bloda
X-HELO: NAM11-DM6-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bk21kEUoEnF+uEMjo+tdJiOkcHcvKMcqOgwq/cixBs58997D9tYD3bwYUc3qKTTnyDzc9EBJ0A4J7PVn/1oMTp6hVvVABrQoXmOcCSLAaSUINbaU0igMu1DKxK/yL5ErLrrBdrk7Og0xe7YFsv/vn3WC64oH69DJeRhVjz/AxtmPo/r/Z0H/St9CFALQ2vSAB/AyfWTGEGiObyGSK5HyH8QXMmSsT7MWEW/8CKpBxsdMAl3xQnDE9p8HcaDTXunQQ9KmUtC/BPN5HlHS9ociH9ROCOrjCYyaZyqjNLvbqZkUrFeQtFJsh6945xFhZ0UfuYvxYRWwn5UwtYxXiKD6gw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ng7fu1LTQuih5pKyDVM/ZQRV8NiHEDQ/bVOAx9yFQ38=; b=JkmmSC6iiYfsNQi+vknGHwG2/ULbsRXvRHx/1hi3DDSs76kW4Zhae9SudnDUqklO9tsEOErBI8fxj+FId3OJNG998ytVNChkoMcwWDGjWPAg0D8wQJ0AzJEdwE1WFMjbQeHVlEF+Deoh/dY823HR5wBRCCUKNgNxSL1ycj2pEIDfzh3TtWLLd2frxgcWE3CMIG11kSEEiSIBGFroTpgMwQJZeYzq7dArSLuYBGR/M1cTJYNYdryhZaYkF81xu4oX2jfu7cguNrTG3cDzzW2VZM/+A9BJF04C4APxLKzYNOp7kDe843fXGHQJz566cEkJFIHJerUYekON8u02vSOKUw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ng7fu1LTQuih5pKyDVM/ZQRV8NiHEDQ/bVOAx9yFQ38=; b=IZctxzClXsKU/0ygPPO3ynlh5hSAq/U5rV6lQTrpKFb0TdAWO/JwxaaUwJZDDYPhfm/djW0jXQQSy0N5DNaH1DLb2XM98W9ZiHHai2cPpHeXMN6OoaelgjVWvJgb5/6sBTMTk5H5mq0+CtOiXEhWz0TQGRQvPZc/sknRB38N3jw=
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kbrown AT cornell DOT edu;
Subject: Re: CPU hogging by dysfunctional bash or zsh when started via mintty Cygwin terminal link
To: cygwin AT cygwin DOT com
References: <7c50f8ff-3eab-f226-7963-cd43478f68b5 AT fbihome DOT de>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <fee71494-4173-305f-8950-d4cac7754c13@cornell.edu>
Date: Thu, 13 Feb 2020 21:39:51 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2
In-Reply-To: <7c50f8ff-3eab-f226-7963-cd43478f68b5@fbihome.de>
MIME-Version: 1.0
X-MS-Oob-TLC-OOBClassifiers: OLM:8273;
Received-SPF: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts)
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-MessageData: JPb6PWlkbHdoO8gOkhkS5y3Sz+f1MzUWRrd/yUYOOCjLFj5u75BgPZatD7DpsJ7GooTrRu9kuksMn5giBSuTXI+C/olooTHUm+9F5wISDEPPBM8krSkguJRssy3J96Bui1RpenU5YLHU5T3gVLcC3A==
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: HcrFUx9cl05hYGb8MoadVYNn6mAuJ26PraHysyZvQxpAXqWWtuYN2+JiQgQny4kiXM8KjeAOzr58yId44TOZxw==
X-IsSubscribed: yes

On 2/13/2020 9:08 PM, Jan-Marek Glogowski wrote:
> Hi *,
> 
> I've already been on IRC (jmux) and had a longer debug session, trying
> various stuff suggested by MetaNova. This is a Cygwin64 install.
> 
> Quoting from IRC: "After a longer time (probably months), I tried to
> open a cygwin terminal, which now fails. It results in an empty window
> with a blinking cursor and a bash process with 100% CPU load. The box is
> a Windows 10 VM and also runs an cygwin openssh server, which I normally
> use for development. SSH still works fine. I also installed gdb and
> tried to attach to the CPU hogging bash, but I never see a gdb prompt
> just some gdb startup output."
> 
> The condensed version, of what I already did and didn't change the result:
> 
> * updated cygwin install
> * gdb -p <bash hog pid> -> hangs
>    - killing bash will "start" gdb with the message, that the process
> already exited
> * starting zsh via the mintty link results in zsh hogging the CPU.
> * cygwin.bat works; same for starting bash.exe from cmd
> * reinstall mintty incl. "rebase-trigger fullrebase" didn't help
> * strace mintty from a cygwin.bat shell results in a SIGSEGV
>    - log currently at http://paste.debian.net/1130528/
>    - expires: 2020-02-17 01:57:45
> * gdb mintty results in ~ the same result, then gdb -p
>    - it creates some threads, a bash hog window is created with all the
> other "helpers" and gdb returns with "[Inferior 1 (<pid I guess)>)
> exited with normally]" to the gdb prompt
>    - quitting gdb and returning to the bash prompt won't happen, until I
> kill the bash window, so basically the same, then doing "gdb -p"
> 
> This all looks like a mintty problem.
> 
> What else can I do to debug / fix this problem?
> 
> Regards,
> 
> Jan-Marek
> 
> P.S. Windows installed some updates today, but since I don't know when I
> opened a terminal the last time, I can't tell if that is related.

Your strace output shows that sysfer.dll is loaded.  This is apparently a 
component of Symantec Endpoint Protection.  Could the latter be interfering with 
Cygwin?  See

   https://cygwin.com/faq/faq.html#faq.using.bloda

Ken

--
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

- Raw text -


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