From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#65325: "make check" hangs on Cygwin Date: Sat, 19 Aug 2023 12:43:27 -0400 Message-ID: <5fb6fe2b-adaf-d83f-836c-0194bee405a6@cornell.edu> References: <12489762.80ggfzRhTf@nimes> <83pm3n8ao6.fsf@gnu.org> <99d99342-55b0-e3ba-fdec-cf4547d48226@cornell.edu> <60b81c61-b46f-b091-80e1-3fad5a2f044d@cornell.edu> <83cyzj36d7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40303"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Cc: 65325@debbugs.gnu.org, bruno@clisp.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 19 18:44:19 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qXP3h-000ABg-Uo for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Aug 2023 18:44:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXP3T-0001Y2-8j; Sat, 19 Aug 2023 12:44:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qXP3R-0001Pg-EF for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 12:44:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qXP3R-00038W-4A for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 12:44:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qXP3S-0004RH-6E for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 12:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Aug 2023 16:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65325 X-GNU-PR-Package: emacs Original-Received: via spool by 65325-submit@debbugs.gnu.org id=B65325.169246342417023 (code B ref 65325); Sat, 19 Aug 2023 16:44:02 +0000 Original-Received: (at 65325) by debbugs.gnu.org; 19 Aug 2023 16:43:44 +0000 Original-Received: from localhost ([127.0.0.1]:52216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXP39-0004QU-OF for submit@debbugs.gnu.org; Sat, 19 Aug 2023 12:43:44 -0400 Original-Received: from mail-bn7nam10on2121.outbound.protection.outlook.com ([40.107.92.121]:55873 helo=NAM10-BN7-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXP35-0004QB-GA for 65325@debbugs.gnu.org; Sat, 19 Aug 2023 12:43:42 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YXTv99CmngU9OjI5GbS5/LoSj+xdmbicbzNQSys1GUjHImy83K5LxbHtSrqJd5PYgXjG8HrjMSxyVCIdfdfg64MIenffDKRrxO/ZoUbdZiXfvHlqZHe9ejvUsfBbtuhnwRfpXBbzkAcFxEkMSQAADc5dH48ubFeJbYmSswhcTTHaQk8bctEegXqdre/U56aq8MvUmk5MKbRwcfn2uHg7iKUFcUC1lf5Jj6uJdsvRDlSym/hb7xphgOGcH/rzDA7lBG9XaSwc59J9SYDBAXh05gcFe4xokmQ85puVpXtbulhdBl8CHtGSJsUyZXDj2Fw67lWwCyMQnIJjPqb5D8mnEQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=n8uhDEvwCe5xx7r1FBX9k7QNaYjSzCoDGtO1QW0BuE8=; b=bHGeyew7C2i+1rkGAy10qhHumh1ez0MGsw0bxKxz6kVuDb3FUo6E48vqZZn0lnQE4I+j0nV/aCfGXGuxIE5RIFjKMJoxw8yidt9qct3uwjFsHhz1YKtvmk/9VX+UlxLCXuCsbKyyZe1QOKn5hdyA6xsMxZDUqK+81LZxrEyI/SPg04/6X20XC8ccfAPXrxvJKGB4WFDc96eIWYBWT0CiYcdGhRLtvoNPEwIJu/PZtny1r29uXkSTZuiy3n6XzkeBl9YW88bTDPTTIGH1wlA89q27L+2mzL8dAWup06MdINfQ0aws5UO/KJT6JQR9CRqSMc4enbV0hwT41DLPQflVuw== 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=n8uhDEvwCe5xx7r1FBX9k7QNaYjSzCoDGtO1QW0BuE8=; b=GW4vcfZq4iwpPeQimjGtqH+KsRuDZDWNnmCWjMSAq1MVpDr6TZvqmcIrVCNVaGIvoyaHGN9Ijvj3sE1XCc909sA7UvRra3D3gEsp9wwQtMM2bezr/epInNcN966ES2R/+JFN4G76j02FveId9haj3KCSkTH3cWo5HjLXg+/r3uM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cornell.edu; Original-Received: from SA0PR04MB7322.namprd04.prod.outlook.com (2603:10b6:806:e2::7) by PH0PR04MB7866.namprd04.prod.outlook.com (2603:10b6:510:e7::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.20; Sat, 19 Aug 2023 16:43:31 +0000 Original-Received: from SA0PR04MB7322.namprd04.prod.outlook.com ([fe80::6812:adb7:da15:573d]) by SA0PR04MB7322.namprd04.prod.outlook.com ([fe80::6812:adb7:da15:573d%5]) with mapi id 15.20.6699.020; Sat, 19 Aug 2023 16:43:31 +0000 Content-Language: en-US In-Reply-To: <83cyzj36d7.fsf@gnu.org> X-ClientProxiedBy: BL1PR13CA0259.namprd13.prod.outlook.com (2603:10b6:208:2ba::24) To SA0PR04MB7322.namprd04.prod.outlook.com (2603:10b6:806:e2::7) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA0PR04MB7322:EE_|PH0PR04MB7866:EE_ X-MS-Office365-Filtering-Correlation-Id: 06cca44f-ea94-4109-fec4-08dba0d36be2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1vpzaeytZ52SlqmagTbzghAKTcpwncwabY9T+HViCgvKWOWsIGhlgmQWDc9M3WBSL9sCt65nsLfHrI7vdzW/ww1nzuh1lRiqs+tKr6vBLFk+XHRH6PuSZjXJyMfsEYVbQxU8OpSMbH6MpqVcgZoF3qxbNg9QwxAcDtinuE4VNvoAxPAog1qSezNYxocopJYbVy7YJx0OtyovB9tXjzHiRN5wuG9VMQGIh2uPhsx8/WgXF75HsCZvjpo/4z6Eyfp+U68g1od7VkdoPRewnsdlk4URyP4S1SBhMIx5esBiUaxgnyL3vcKyuoKQBcaGkdOAuI2QHN8sgk9h33Ad85Ql0OiDMzJ359B37NNzLC1pLS00nJAVPuDh96lhyh3l6GPRCzxYnJqQ7z2Wdv80nkZ7nUG/Q/Eb8NGGoy8V1mNS+NDbBPXg5QZbl4T7XoDWWSstq8VNxol0/gOUCutZQ5/ddhTgOXxw3VH+uLi36b12hDx4q58hsHpKocdlH5Wlo4G37sV675Ylc2PhErnqlErzw4tQCZYNAyt5dYfwGuUkhEk6/3s0XZOOXjaJD5prlovzjmgDNq4qw9tcJZqcielyNrrDxbi+PGmxLOEvdAKwD90wJzK6U1d6PyLy0DUx5c9AOl7oaSbifYVXTDokY+fTMQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA0PR04MB7322.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(376002)(396003)(366004)(136003)(346002)(451199024)(1800799009)(186009)(86362001)(5660300002)(2616005)(41300700001)(786003)(316002)(2906002)(66946007)(6916009)(66556008)(66476007)(31686004)(8936002)(4326008)(8676002)(478600001)(31696002)(6666004)(6486002)(53546011)(38100700002)(6506007)(6512007)(26005)(36756003)(75432002)(83380400001)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 9MqLPXmuEDaDf/lk/yMA1iyexLliS9dqRHr7CyDLThay7dlOcff624ir2VK1WdCtZLvbvB7fjRsJvnvyU+gm5G9hXsTi15IziBQtfQY0/x6HWFJ7vSMb5NCIpl4MHCxoFEXcYmxSu+cCS48nbgvajGC2VWi7sGb0PUYnICs63ncUca9NDEkbrq41CA2whTgyB1uHB8fppo/PorklWxb1D+L9rYe4Y5TRfzBEXBIka00p7xvDBWJDXVw1mG0dJyAuAigpa8R6YxpgITR9KEroCxpHTTttcveH5J2azKKuzMx5EhRhtRGDGYDKf2X3i7WZgqphH3ZVT2r+wFQ7qSYfdueQEbdQZfak9/BLbv3BoUgC37daGOYIQpgpHhTBvXBdziiwm8X592D99dviQPVUFTy7J50EU67Y9SC7AGifbiBadX2Zf3GAbAkJTa4w+O8ul9w99GeZjSNIvMdajKHRKqhoXHpGC1q/kxIRogu+ripR2b88fTHaBzq1gQgfCVm6FfdCki/A2Vj1rAO9d3tgn6EoXVrAYs0HRcc1CEf5kSEOG65NNGJX0kxEDmDrokB4hy402XsYH266xMxE9tC45a5HkiiEiy5V+w4dg+0OKTCoZfnG7fmwceKKcPMVx6uUZl+XMnDsRvGkd4rMQIUxvYe42VDz8djAriOIDbaMYnRsXQYLg1Vo2ZI/pNQqPfnSHra+1rm3JcyK6D+NcuabNBzHIdweMn7MeUAJarn8mRxzX13UmOhyrxsgLK Yu034nTabuhWHRfN5l94a7XCD+tyJAe6PuldT0gTYAlxzRJ9Nv+D97fopIpbPxF7Z1Y4Hc5ndYlkiN02BteSYjsiFrvXQ4WuPC X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 06cca44f-ea94-4109-fec4-08dba0d36be2 X-MS-Exchange-CrossTenant-AuthSource: SA0PR04MB7322.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Aug 2023 16:43:31.3437 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 149qyZa6c9UbYyFIw8/ov44MFFGhbPHfulHycjEvANPpUxsb6LpkUAfNyrJXaU0LbmuBR2gW9HUyEmiYA6QjEA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR04MB7866 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267893 Archived-At: On 8/19/2023 2:15 AM, Eli Zaretskii wrote: >> Date: Fri, 18 Aug 2023 18:02:46 -0400 >> From: Ken Brown >> Cc: 65325@debbugs.gnu.org >> >>> I can reproduce the hang.  But I don't get the hang in the default build >>> on my system (no configure options).  I'll have to play with the >>> configure options and try to figure out what's going on. >> >> OK, the hang in server-tests.el [and a similar hang in >> keyboard-tests.el] occurs when getchar is called at keyboard.c:3978. >> This call only occurs if dbus, file notification, and threads are all >> disabled, i.e., if the configure options without-dbus, >> without-file-notification, and without-threads are all specified or >> implied. I don't understand the keyboard code well enough to know (a) >> why we reach that call to getchar in the context of the hanging tests >> and (b) why getchar is only called in the absence of dbus, file >> notification, and threads. > > Because we have no other way to read input in such a build. The code > we have there obviously cannot handle anything but character input > from stdin, so it is a small wonder that it hangs in an ERT test. > > I think this is a red herring: we should skip these tests if none of > those 3 features is available. (We could also rewrite the tests to > support such a build, but I have very little sympathy for people who > build Emacs --without-all and still want to run all the test suite > successfully, and thus I don't think this would be a worthwhile > investment of our energy and resources.) > >> I can work around the problem by always avoiding that getchar call on >> Cygwin (i.e., by adding "&& !defined CYGWIN" at line 3972). With that >> change, all tests pass on Cygwin with Bruno's configure options. But I >> don't want to make that change without understanding what's going on. >> Can anyone help? > > I don't think it's a Cygwin-only failure. But if it is, it is also OK > to skip these tests only on Cygwin, in addition to testing the absence > of those 3 features. Sounds good to me. So the first step is find out if this failure is Cygwin-only. Bruno, have you tested a build --without-all on other platforms? Ken