delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/08/08:13:33

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8EC43385801D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1636377210;
bh=DFbJ4jMg3MvvQQ8cfMhJcQZHzf/+zC3+9+r7MfwyVC4=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=ntXrIjxQF9ANSD35aU8YTd/pqWb4eUlzVWPrIQAvMMmmRr+S7tNyNnlso7xK/yKGR
XiNpKhQaxd781lQFnUER8bQyyqLLSPdzErrhnXWtBBs6vjJtHPWUKLBr4FxCHa/EyB
Q2o6IyqwPweCZvCWWinKmf4WdCcOjLN3V8yOlOTw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CDC0E3858401
To: Ken Brown via Cygwin <cygwin AT cygwin DOT com>
Subject: Another pipe-related problem?
Date: Mon, 08 Nov 2021 13:12:10 +0000
Message-ID: <f5br1bqaj11.fsf@ecclerig.inf.ed.ac.uk>
User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b34 (linux)
MIME-Version: 1.0
X-Edinburgh-Scanned: at seine.is.ed.ac.uk
X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: "Henry S. Thompson via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Henry S. Thompson" <ht AT inf DOT ed DOT ac DOT uk>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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=<optimized out>, 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=<optimized out>,
    howlong=<optimized out>, h=<optimized out>)
    at /usr/src/debug/cygwin-3.3.1-1/winsup/cygwin/cygwait.h:45
#3  cygwait (howlong=<optimized out>, h=<optimized out>)
    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=<optimized out>)
    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.

I can try to debug further if instructed in how to do so, but
constructing a simple test case is beyond me...

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 AT inf DOT ed DOT ac DOT 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:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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