From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29732 invoked by alias); 3 Mar 2020 17:21:57 -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 29725 invoked by uid 89); 3 Mar 2020 17:21:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:2036 X-HELO: loire.is.ed.ac.uk Received: from loire.is.ed.ac.uk (HELO loire.is.ed.ac.uk) (129.215.16.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Mar 2020 17:21:54 +0000 Received: from crunchie.inf.ed.ac.uk (crunchie.inf.ed.ac.uk [129.215.202.41]) by loire.is.ed.ac.uk (8.14.7/8.14.7) with ESMTP id 023HLoT9008237 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 3 Mar 2020 17:21:50 GMT Received: from ecclerig.inf.ed.ac.uk (ecclerig.inf.ed.ac.uk [129.215.24.151]) by crunchie.inf.ed.ac.uk (8.14.7/8.14.7) with ESMTP id 023HLnoh006862 for ; Tue, 3 Mar 2020 17:21:49 GMT Received: from ecclerig.inf.ed.ac.uk (localhost [127.0.0.1]) by ecclerig.inf.ed.ac.uk (8.14.7/8.14.7) with ESMTP id 023HLoen012706 for ; Tue, 3 Mar 2020 17:21:50 GMT Received: (from ht@localhost) by ecclerig.inf.ed.ac.uk (8.14.7/8.14.7/Submit) id 023HLnD5012705; Tue, 3 Mar 2020 17:21:49 GMT To: cygwin@cygwin.com Subject: Re: Cygwin/X XWinrc menu no longer launches after recent updates References: <345b8a7a-bcbb-450b-08c0-943f3bb3b683@astrofoto.org> <20200303185335.5f4369c163b3a4b241ef429d@nifty.ne.jp> <20200303213524.5ddf37854e2eb85eca50ed96@nifty.ne.jp> <20200303215912.6c72af3e17e8ef0f0f58b8a6@nifty.ne.jp> From: "Henry S. Thompson" Date: Tue, 03 Mar 2020 21:43:00 -0000 In-Reply-To: <20200303215912.6c72af3e17e8ef0f0f58b8a6@nifty.ne.jp> (Takashi Yano's message of "Tue\, 3 Mar 2020 21\:59\:12 +0900") Message-ID: User-Agent: Gnus/5.1012 (Gnus v5.10.12) XEmacs/21.5-b34 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Edinburgh-Scanned: at loire.is.ed.ac.uk with MIMEDefang 2.84, Sophie, Sophos Anti-Virus, Clam AntiVirus X-IsSubscribed: yes X-SW-Source: 2020-03/txt/msg00055.txt Takashi Yano writes: > On Tue, 03 Mar 2020 12:40:17 +0000 > "Henry S. Thompson" wrote: >> Takashi Yano writes: >> > This bug was already fixed in current git head. >> >> Current git head for Cygwin? Or mintty? > > I mean cygwin. OK, this is now getting very weird. As at least one other person reported, the problem is intermittent, with both my systems, both on 3.1.4 Cygwin and 3.1.4 mintty. Two further shots in the dark: 1) I tried to run cygcheck -s while there was an XWin + sh hang, as previously reported. It hung also. Process Explorer shows bash.exe bash.exe cygcheck.exe id.exe I can use strace to attach to it, and it is indeed [cygdir]\bin\id.exe, showing lots of dll loads, then a thread being created and exiting happily, last two lines are thread nnn created _cygtls::remove: wait 0 Mystery So, try connecting strace to the hung sh process... [Nothing :-[ Connecting to it with gdb shows various threads, but ^C doesn't achieve anything. 2) There are some hints that cygrunsrv/cygserver might be implicated. Two cygchecks on one of my machines (which did run to completion) differ in that the one taken while XWin had started successfully differed from the other in that all my Cygwin services (cron, cygserver, sshd, and exim) were stopped, In the other, a case of XWin hang, they were all running. On my other system after several fails in a row, I stopped all my services and XWin launched successfully. Grasping at straws here, but I have one machine sitting in a hung state, and other debugging ideas welcome... ht -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail from me _always_ has a .sig like this -- mail without it is forged spam] The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -- 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