delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/05/28/09:57:39

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 44SDvdfK1247367
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=MF4Om/Yv
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D44B4385842D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1716904656;
bh=6cMU/S2P/N4g0Mgpwd5j7z9LgNNfD54oVx9gU1qlFIw=;
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=MF4Om/YvllLNOGUlU8cYdpWpNKxWGQ9VHbUv+cGggSqUcptJ9eJNPTuCAXiBjEdyA
Kh4SBah081UpFLNnSLQnrNTKAs3Ie500MmLzkxRNMzz3IGe5Ms1KCQOCMHgPAnQRcx
YDjzcAOcuuvukzxzmd+nQ4cvou3Dkk7g11JmWqSQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 04AD43858C5F
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 04AD43858C5F
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716904634; cv=none;
b=o/S18/8jN37jJ3UbKW5UIBTPR5dFeihh8vElf0zcI/xiqGeTI4JSc47NOAXfECq06iOnMAEYdO0oUcAuGb/m32iFTRi5CwDJerygFtnJIrht4GGGtuNA10Hnp+O9QFD0fgAwC28jst3BJitlS621iPV4+1ZAuXhHq+HW08/kHg0=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1716904634; c=relaxed/simple;
bh=13nI3TMqPwZLVaNnWxzejV5Qpx8GbTRnKgFtV3meqYE=;
h=DKIM-Signature:Date:From:To:Subject:Message-Id:MIME-Version;
b=gNbhG2SBG3em0OnolivYguoN2hSXEFhXk4WUlSDPPA54NCt5+RdAnZFe+Bf4qHa591w8zWv3NPhuOt0Cq9j3AcErwBEYjtrxAF4BIfro2MO0BBqKOeOuNafw8DNOlvLTTWHRCsDcja1zpLUpVph+Oyw3PyHrrJ9Z2L9RYA2VXOU=
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=1716904629; x=1717509429;
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=hAYpZRV6tJTHCYTBgo/rAAwjwkvwAiM+eVv7x2ppXnA=;
b=vQiizCia2EewgqN80bjtRjnDb1E4bIU3SMb3/7zGUE60oEoJPeYwNLuXFDln9712gm
9MLEOGW6KvnJt7MDOtBlEs6GhBhqW/9f+hqHgx/YpOHuTfdo2jbioXrfNK72u2U1SWT3
a8zZksJ6xAjHPv/Ef985T2RXbdp84hC3A+GiMP+e8RS9h8+ovsYownrXOTng/mOGtuao
VR7SvChgKIl80OuondFadOTBCOTDPR9o0KrW+g9TPEzWweTX/p8fatJNQBA8N4sQ+e7G
cQdbknGlH7iGR2g6RMsajddTbO0YGFp3XrPm7TakvV0qPGIaGhiPyuQEzCIyeK1BLYzC
8KVA==
X-Gm-Message-State: AOJu0YxWMU5yOw4pFSkuakDd/0bCTmGtdO8GbJY7q/Vt6K3FgUaXwNZG
mj9b3a1SnCn6oOGKKQJPKrCe6LNLMliOKdQa1PtXneZsadxJEJz7wFEs9A==
X-Google-Smtp-Source: AGHT+IFrQtmMj3BbHxG8D0ZMliGGbPEmkhKtiaBbDbc4sgeGTgeb1N06lTSH164ynVxGMgfNGQo+zg==
X-Received: by 2002:a17:902:d501:b0:1f4:9474:e454 with SMTP id
d9443c01a7336-1f494750e3bmr66585905ad.20.1716904628753;
Tue, 28 May 2024 06:57:08 -0700 (PDT)
Date: Tue, 28 May 2024 22:57:08 +0900
To: cygwin AT cygwin DOT com
Subject: Re: TeX Live 2024:: asympote 2.88-1 hangs after outputting a pdf
In-Reply-To: <b9ebc9cd-6e82-463d-8035-b6e145a4f84b@cornell.edu>
References: <20240527181731 DOT 3FD9 DOT 50F79699 AT gmail DOT com>
<b9ebc9cd-6e82-463d-8035-b6e145a4f84b AT cornell DOT edu>
Message-Id: <20240528225705.14CD.50F79699@gmail.com>
MIME-Version: 1.0
X-Mailer: Becky! ver. 2.81.05 [ja]
X-Antivirus: Avast (VPS 240528-2, 2024/5/28), 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 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>

On Mon, 27 May 2024 11:14:29 -0400, Ken Brown via Cygwin
> 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.
> 
> > [Switching to Thread 10728.0x4c0c]
> > 0x00007ffd8487d313 in KERNELBASE!DebugBreak () from /cygdrive/c/WINDOWS/System32/KERNELBASE.dll
> > (gdb) info threads
> >    Id   Target Id                      Frame
> >    1    Thread 10728.0x57c8 "asy"      0x00007ffd871b04a4 in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
> >    2    Thread 10728.0xa9c             0x00007ffd871b35a4 in ntdll!ZwWaitForWorkViaWorkerFactory () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
> >    3    Thread 10728.0x3ed0            0x00007ffd871b35a4 in ntdll!ZwWaitForWorkViaWorkerFactory () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
> >    4    Thread 10728.0xbd0             0x00007ffd871b35a4 in ntdll!ZwWaitForWorkViaWorkerFactory () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
> > * 5    Thread 10728.0x4c0c "sig"      0x00007ffd8487d313 in KERNELBASE!DebugBreak () from /cygdrive/c/WINDOWS/System32/KERNELBASE.dll
> >    7    Thread 10728.0x29d0 "asy"      0x00007ffd871b04a4 in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
> >    8    Thread 10728.0x4ec8 "asy"      0x00007ffd871b04a4 in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
> >    9    Thread 10728.0x2cfc "asy"      0x00007ffd871b04a4 in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
> >    10   Thread 10728.0x47bc "asy"      0x00007ffd871b04a4 in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
> >    11   Thread 10728.0x22d0 "asy"      0x00007ffd871b04a4 in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
> >    12   Thread 10728.0x4268 "asy"      0x00007ffd871b04a4 in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
> >    13   Thread 10728.0x2f94 "asy"      0x00007ffd871b04a4 in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
> >    14   Thread 10728.0x43cc "waitproc" 0x00007ffd871af9d4 in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
> 
> The one thing that strikes me about this is the large number of "asy" threads.  There was a recent bug report about multithreading in cygwin-3.5.3:
> 
>    https://cygwin.com/pipermail/cygwin/2024-May/255987.html
> 
> Can you try installing a 3.4.x version of cygwin and see if you still get the hang?

(1) Keeping asymptote 2.88-1, I tested with packages rolled back:

Package                Version        Status
cygwin                 3.4.10-1       OK
cygwin-debuginfo       3.4.10-1       OK
dash                   0.5.12-2       OK
libunistring-debuginfo 1.1-1          OK
libunistring-devel     1.1-1          OK
libunistring5          1.1-1          OK
tar                    1.35-1         OK

uname -svrmo 
CYGWIN_NT-10.0-22631 3.4.10-1.x86_64 2023-11-29 12:12 UTC x86_64 Cygwin

Then, `HOME=/tmp asy -vv -f pdf test` hanged.
But, asy invoked by gdb did not hang...

(2) asymptote 2.85-1 with same packages
(ignoring warning about texlive 2024):

Then, `HOME=/tmp asy -vv -f pdf test` hanged.
But, asy invoked by gdb did not hang...

(3) asymptote 2.85-1 with packages (latest except asymptote)
(ignoring warning about texlive 2024):

Package                Version          Status
asymptote              2.85-1         OK
cygwin                 3.5.3-1        OK
cygwin-debuginfo       3.5.3-1        OK
dash                   0.5.12-5       OK
libunistring-debuginfo 1.2-1          OK
libunistring-devel     1.2-1          OK
libunistring5          1.2-1          OK
tar                    1.35-2         OK

CYGWIN_NT-10.0-22631 3.5.3-1.x86_64 2024-04-03 17:25 UTC x86_64 Cygwin

Then, `HOME=/tmp asy -vv -f pdf test` hanged.
And, asy invoked by gdb got a siganl SIGTRAP and stopped.




Rolling back cygwin packages has almost no effect.
Very weird... 

Now, I suspect any recent Windows Update might have to do with the issue...
(just because no other idea comes to me).
Not confirmed 


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