delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/05/31/06:29:10

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 44VAT9532475458
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=eBPdHvfH
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 90D333865491
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1717151347;
bh=55sRqctuH9g6g2uSa1v3l6DClW5nkWmBwx+SA68qwJQ=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=eBPdHvfHqb35RBKH+nFjuZWsyrgxERlwhf8VoJtIhIKasHKCiHEGxLykdO9nDzVJp
zt/qoqlndgof9wTGisxkpZMYlAnBxjYuRlvLhRw0GThBjkpqDOovbb+w4GwaUZxMXH
qbcKd1TfScdV3/O4AOiYOeegbpyKniI5QD9SVFsI=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 98272385E45C
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 98272385E45C
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717151281; cv=none;
b=s8LvQ7RPQnLXc0V0+1hx/Ib43UH2QjErghpSljRqBzwkqqv5fKmOnpgX1NQSS+iltaBI7YrqLBWk1id46sMJB/O3G9jYl62A4iHI6L0HZh1Q74lRe8fGwtDwnLMLi1ymrETkaFyk9q/Hfs/jturqTTbZb6hzFg4Q/3ZA+vSRKsU=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1717151281; c=relaxed/simple;
bh=Q6hMS6HwsyySvUP+6qwjpUnk5ak/y4TjzIZw6be9104=;
h=DKIM-Signature:Date:From:To:Subject:Message-Id:MIME-Version;
b=MjPLKMOuAuv0D2WECa6aAOkNIfHixXXPJ87fZNgMYdMVLpxFNVr/8Xutf2fp9Mq1k8OPu5gZzASvwL+H+Oi6ciHifR1mMee3Kk+USVbbD9zIQumQGA1lVqCH8Fu9IvNNToc3fW+o7gqhS9WtiIKBJ45wgIZjQIhJGaBomVpHNEY=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1717151277; x=1717756077;
h=content-transfer-encoding:mime-version:message-id:references
:in-reply-to:subject:to:from:date:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=jhJHE4c4qdS1ykNIyzJaXfxSuFhUDLq7aRH43PB8qvg=;
b=E8oJX2triXS+Wx8P0OB+SmFTm/CpmEGMdG3M5dgkstHCaVZ7wkaOIhp4vMawfBhjr0
94ccHLQAqf8MrnXaFg19zE4PUW27CnHkZrGuFqUbCPTEfeP1km6aZLerLPtMdZ/Qe+t2
/Xn3QnJQJab/Bv0A1QNSNvqOyoUtcZdBNW9oWzzBXR5QArJsU1gyACAD8xtUDZmWcDFJ
wLVEsNQ5fYQR0phlj82PAyuWI61QMO0m+e5A+xIZwpIwiTwW192y9NY2rg0vavlD0yuH
4FfLs+ZKXsb5jm54je5/qcPA5d813nCJZdnGuCHVpVPngPN6OmUglyDi3Y9REPr5+n/M
JRuQ==
X-Gm-Message-State: AOJu0YxWh16p6icy7L+NS2KAfOYcrcMaQAabX3wlvQx9M+ns89PyqNMW
JJvBkY8yfh3nTXJYnREtbQTMMDAgSFb4AaNHg4Ch4NGbH/jTtG4uzgE+NQ==
X-Google-Smtp-Source: AGHT+IHGF8fLbhVRmgtbD7Qgp/SL+9WRBHpysbRVqgaU9I4xJO0AI+htEZ1ZBRK8CgKvOTf9RxpiPA==
X-Received: by 2002:a05:6a21:99a6:b0:1b0:25b6:a78b with SMTP id
adf61e73a8af0-1b26f2c2ce2mr1929443637.49.1717151277319;
Fri, 31 May 2024 03:27:57 -0700 (PDT)
Date: Fri, 31 May 2024 19:27:54 +0900
To: cygwin AT cygwin DOT com
Subject: Re: TeX Live 2024:: asympote 2.88-1 hangs after outputting a pdf
In-Reply-To: <c7bd6f0c-504f-4de1-82fb-3b7b71a89cf4@cornell.edu>
References: <97a2a8e3-0a6e-470d-a45d-15ffa876ea17 AT dronecode DOT org DOT uk>
<c7bd6f0c-504f-4de1-82fb-3b7b71a89cf4 AT cornell DOT edu>
Message-Id: <20240531192752.3D83.50F79699@gmail.com>
MIME-Version: 1.0
X-Mailer: Becky! ver. 2.81.05 [ja]
X-Antivirus: Avast (VPS 240531-0, 2024/5/31), Outbound message
X-Antivirus-Status: Clean
X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE,
WEIRD_PORT autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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: Lemures Lemniscati via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Lemures Lemniscati <lemures DOT lemniscati AT gmail DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 44VAT9532475458

On Thu, 30 May 2024 18:29:17 -0400, Ken Brown via Cygwin
> On 5/30/2024 3:39 PM, Jon Turney via Cygwin wrote:
> > On 27/05/2024 16:14, Ken Brown via Cygwin wrote:
> >> On 5/27/2024 5:17 AM, Lemures Lemniscati via Cygwin wrote:
> >>> On Sun, 26 May 2024 18:02:54 -0400, Ken Brown via Cygwin
> >>> Here is a log from gdb. Will it help?
> >>>   run
> >>>   info threads
> >>>   info stack
> >>>   list
> >>>
> >>>
> >>> $ HOME=/tmp gdb --args asy -vv -f pdf test
> >> [...]
> >>> Thread 5 "sig" received signal SIGTRAP, Trace/breakpoint trap.
> >>
> >> I don't get this SIGRAP when I run the same command.  The program just 
> >> runs to completion.  Maybe someone can explain what might cause this.  
> >> I have no idea.
> > 
> > Getting SIGTRAP rather than SIGSEGV or whatever here seems like it might 
> > be an unintended consequence of the dumper changes I made in 3.5.0.
> > 
> >> 0  0x00007ffd8487d313 in KERNELBASE!DebugBreak () from 
> >> /cygdrive/c/WINDOWS/System32/KERNELBASE.dll
> >> #1  0x00007ffd527f6367 in break_here () at 
> >> /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/dcrt0.cc:472
> >> #2  0x00007ffd52810349 in try_to_debug () at 
> >> /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/exceptions.cc:597
> >> #3  exception::handle (e=0x28bc6f0, frame=<optimized out>, 
> >> in=0x28bc200, dispatch=<optimized out>)
> >>     at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/exceptions.cc:810
> >> #4  0x00007ffd871b49ff in ntdll!.chkstk () from 
> >> /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
> >> #5  0x00007ffd8712e466 in ntdll!RtlFindCharInUnicodeString () from 
> >> /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
> >> #6  0x00007ffd871b39ee in ntdll!KiUserExceptionDispatcher () from 
> >> /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
> >> #7  0x00007ffd5291bdd4 in init_cygheap::find_tls (this=0x800000000, 
> >> sig=20, issig_wait=@0x28bca3f: false)
> > 
> > The important thing in this backtrace is that an exception is occurring 
> > in find_tls, not that we break into the debugging while handling it 
> > (rather than rethrowing the exception to let the debugger handle it, 
> > which is maybe what should happen? and did in previous versions of 
> > Cygwin??)
> 
> Thanks.  So find_tls, running in the "sig" thread, is getting an 
> exception while Cygwin is trying to process signal 20.  The latter is 
> SIGCHLD.  Based on Lem's original report, I would guess that the SIGCHLD 
> is generated by ghostscript exiting when it finishes processing the 
> file.  An error in processing the signal would explain the fact that asy 
> hangs.
> 
> I'm not familiar enough with Cygwin's signal-handling code to be able to 
> debug this, especially since I can't reproduce the problem.
> 
> It would be helpful if others could try Lem's recipe and see if they can 
> reproduce it.

An additional report: 
  On one of my machines, the issue (signal SIGTRAP) is resolved by
updating Windows 11 Pro to H23H2 Build 22631.3672.
  But, on another one, it still occurs.

Lem


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