X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E0888385843B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1636382231; bh=tkDTYsZvTgUinaArFUWZA34XzDWGKDYXmYg6pmSWSYk=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=nn43ys5YcCUQYALCQDU0Rfojg4dJfFZPx/Wv4lDXevYotZL2vwhgZ29pS3xtO9xN5 FFjce0sd3QuyMfMpZ8+4xdeSIAawKMGcuAh8IjOXWBEjvyjlsmjjHOahtdo5Osl0Fp EjKcsh0tkxFkwYKnnk2YOP9D0sAa0UMo9OZpXHIk= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9AEF63858401 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LVsm4IrhTPUXcxGKAIb5EzOeBztMdK/h4S9691rDB+ugvEgdsC++u4I26j0xEdBGGiVnALgUMD6j+9WcSH+A72Xl3U0XqSaCdEEjWliHd2fx/2ayb8gL1JKpYmOyrzOcL2t4O/HkZiyOHwcwAoew34MbnyoGX61OMnjIeIgrO9P218B4aPRmNgYW6XfjCi8SxRVyHxXWNIsn/uaBr26i5+xWr8Z/JlSE3ecmOIPJAX7kt9TRNkVlzyc6ZMNAFLzo1zw1pdVQXb0eOUOBJ9np/Uu8zIPiTAJLMmD2DYzZy7BGrsI6pbIQY1/z1tErnfcXrjEcBSU1s7jWcuwsp4011w== 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=5IbxDiKrkXJfYs2uhjK/+eZY2KdwftJiDxGeBv7/CD0=; b=DN9iiCAXZwMuCTD9j9gP3MxVmhHuISLkXVtYr9xrohJ8FG5KFHqDSDUI3JwtyhkNMZaV2AR9tvRltnzRYAsuOC7m2cWgbR7Ew0r/tr7tUklepQ7F4Pqs0o7skHMxXM03B7jCdD2ZL6m3KPY2Rx2vKP8pMURlcHApihSlu8W8m++g6P5rW/lfC2yPnhs0E5D76StSceQzdeMz2DrslHXMlr6ePpyFVzahbyalI1YosKZvwvFIA5AxjiMUQTsXmc/igUJALDs1ahmtPYzg4BcNhz+HT7xAavQ7eiIV8r6tuTdWRzxr9yipk0ACKn7nOz5YiSDSBYZl/aMgh5WS9K4Zrg== 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 Message-ID: <05c4180e-396b-4af3-ac0c-2ab8125df17e@cornell.edu> Date: Mon, 8 Nov 2021 09:35:53 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: Another pipe-related problem? Content-Language: en-US To: cygwin AT cygwin DOT com References: In-Reply-To: X-ClientProxiedBy: CH2PR20CA0011.namprd20.prod.outlook.com (2603:10b6:610:58::21) To BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7fef10d8-57eb-41fe-fdf0-08d9a2c512d7 X-MS-TrafficTypeDiagnostic: BN7PR04MB3953: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2803; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YJ6+jgwncvPRBLQrEK3cRV7Q2WIIgeQPWtd+xsvahgwj/G0SvNZL1m0G+35q+SvDDToqdJh2j8d2bRGKdpkej7zBqVARYAVclnVOf/p88GSfRmk/STP0eJeB4tYt26kkRQNIcsIx75OWfA8vaE2et4DskAZoX/G9fWiqTgQGmlD/HA3wlfk6Gm3laV32GePmFcJnK2/oNJHAcmU207Cu/bpszc2FrOXjtlqwM/nEEf+JZ7jnJW3zRtD3Wv0+6Pasit2Be6szhjp9yqYnrBSE23UNSknIR5dKFQoBrSxELjYbOSXQwEdeknpeWm7jwTZjgiUkI/yZgrJzuF3NddrfL7htuCnFkvJE/CloF9C5LW2M6GwklJZtkYM90pkFQo7QKFky7Q7VSWMfEG0qTHzg6N8SydNc1D8oLXMtGvur4k4bL5dG8qUeX8gCvhq7VhtG0v1BbhL7KboSO9PlyV1iDpOv44ESVVZW89iHjLQU4HTUA+HuCcDDJWMt5jB3/vXYJVRbNC7557OqDWPIGwrBOyFrbfoNTuvYkdd2u0zShSm/r5Kw4qtjRv8lvU1qtzNoaMs7bufBUerfQIlYTRzBAVvtO4fAiHYeZdcjeV0QAagIk/m4c3TNPJBUQ2f1Qze6KnuRVJgEgpWHJhwB8FRtqC8WTNsnD19kn4w5LRUI72NOoTZVyRClbROEFjXzXgCdy6UePSzo5UjVLJOSh3cnmEtLAbMdhU+nUvy66Bb5n4A= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN7PR04MB4388.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(316002)(75432002)(786003)(31696002)(2616005)(2906002)(3480700007)(31686004)(66946007)(66476007)(66556008)(508600001)(6916009)(8676002)(36756003)(6486002)(53546011)(5660300002)(86362001)(38100700002)(186003)(19627235002)(8936002)(83380400001)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZHhzZTZtN3pIdjdQREM4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zVm41SGF0bC91?= =?utf-8?B?bkoxanRPNUovZDFDalRPajhJbmU0cXFxblpqYXY2L1JQRWJyNmRrbHc2bVZP?= =?utf-8?B?VTZOQkpla3h5dklNOHJZbzJDRHBaR1pZQjJoQm50WU5oVFMwbjZDaU13MGxX?= =?utf-8?B?M2VrMWZaSC9URXJFbnk3cVNudlUxWllvNnNCeG40NjVvd2RCNXBBY2MxRFly?= =?utf-8?B?amlvek9wcFQrQ2RoR0VkZllNWEQ3dXkwbC9sOUxmQzkyZUZLTGh4Y3lNNnA3?= =?utf-8?B?ZS9yVGJwSE1kVWNBRmsxRHNEQjd0T3UvVk1MU3d6SkNiMnpQZ2haMms1S2FE?= =?utf-8?B?blNDNHRIUi9zMVE3aGhLdFpjcFI2UUFKbFNhSGFEMnhnZTEvWWVsTnBmMndV?= =?utf-8?B?VkQxbFZqWkdIc3V6bUlJRmF4SFI0SGFOekNmQUVKU0NDaTNlYWk3K2NYUG1N?= =?utf-8?Q?vqCcrzwnhvB/8vkbzI69EZ7PyTNcBIq8h+xz1qPWts=3D?= X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 7fef10d8-57eb-41fe-fdf0-08d9a2c512d7 X-MS-Exchange-CrossTenant-AuthSource: BN7PR04MB4388.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2021 14:35:55.9956 (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: MEo8U7V+v0AYFTwskgTeugCTQvxtBP0hbxU+WvKJ8Ly4OkDr/8Juy/rSis9Vd4AZJJQiqDQ/iAcQTpAogeWXyw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR04MB3953 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, JMQ_SPF_NEUTRAL, MSGID_FROM_MTA_HEADER, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, WEIRD_PORT autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Ken Brown via Cygwin Reply-To: Ken Brown Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" On 11/8/2021 8:12 AM, Henry S. Thompson via Cygwin wrote: > Running on Windows-10 21H1 > > With Cygwin 3.3.0 and 3.3.1 I get a hang every time I try to launch XEmacs: > > #0 0x00007ffdf31cd474 in ntdll!ZwQueryTimer () > from /c/Windows/SYSTEM32/ntdll.dll > #1 0x00000001800479fa in cygwait (object=, timeout=0xffff09a0, > timeout AT entry=0x0, mask=mask AT entry=5) > at /usr/x86_64-pc-cygwin/sys-root/usr/include/w32api/psdk_inc/intrin-impl.h:838 > #2 0x000000018008f716 in cygwait (mask=, > howlong=, h=) > at /usr/src/debug/cygwin-3.3.1-1/winsup/cygwin/cygwait.h:45 > #3 cygwait (howlong=, h=) > at /usr/src/debug/cygwin-3.3.1-1/winsup/cygwin/cygwait.h:51 > #4 fhandler_pipe::raw_read (this=0x18034fe80, ptr=0xffff0bc0, > len=@0xffff0b40: 128) > at /usr/src/debug/cygwin-3.3.1-1/winsup/cygwin/fhandler_pipe.cc:296 > #5 0x0000000180069244 in fhandler_base::read (this=0x18034fe80, > in_ptr=0xffff0bc0, len=@0xffff0b40: 128) > at /usr/src/debug/cygwin-3.3.1-1/winsup/cygwin/fhandler.cc:819 > #6 0x000000018013ffcc in read (fd=3, ptr=0xffff0bc0, len=) > at /usr/src/debug/cygwin-3.3.1-1/winsup/cygwin/dtable.h:64 > #7 0x000000018018e88b in _sigfe () at sigfe.s:35 > #8 0x000000010066a11d in retry_read_1 (fildes=3, buf=0xffff0bc0, nbyte=128, > allow_quit=0) at sysdep.c:2425 > #9 0x000000010066a171 in retry_read (fildes=3, buf=0xffff0bc0, nbyte=128) > at sysdep.c:2437 > #10 0x0000000100494d86 in drain_signal_event_pipe () at event-unixoid.c:159 > #11 0x000000010056d1dc in mswindows_need_event (badly_p=1) at event-msw.c:1432 > > This is an old executable, has worked since 2015 (!), but recompiling > didn't help. Reverting to 3.2 lets it run again. This backtrace doesn't match the source of Cygwin's XEmacs package (which exists on 32-bit Cygwin only), so I assume you built this yourself, using a different version of XEmacs. Cygwin's XEmacs doesn't hang for me. Please provide build instructions for the version you compiled. Your backtrace shows that fhandler_pipe::raw_read is blocked waiting for a mutex, but I can't tell why without seeing the XEmacs source. My guess, just from looking at the function names, is that XEmacs is mixing POSIX reads with Win32 reads, messing up the mutex handling. Ken -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple