delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/05/27/05:18:40

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 44R9IexH603000
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=ETan1EYA
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EC8853858CDB
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1716801518;
bh=9Ie+qwXjH49frLfqayyDu/agjnpmiMtRJwn/OvDZSEE=;
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=ETan1EYAKq2N/6r62OH/TfCrr1rybdUnyPVVTrLzarLnwhXJBEsEEc7vnkjyDeQGL
K32/apj7xU1fvdp7qJkNF90Dqx4jj1I8nEgKeXO9MKBxXwZBNZN4a+an++qCXvAKvo
ZeyfDnOJMbtv1egePX5CWrDLrwD5enmLFGby98Bc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 438D93858D28
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 438D93858D28
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716801458; cv=none;
b=PhqeTcmP1RAkIZQ9nt9sxE5yJe0K5WXNZOsCxYu4FXiFl52eTpCRAlsPBYO0BTCJdlZ6JOSIokNwBvAwMDNC7OUA1Iv8uocj6Dd6beCkeZ7qUZyrAm5w+c6BsjW9Qy1rbW58JYO0H9wCSjxxAyJNCJpIqITugm2gNmPPeqT0A70=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1716801458; c=relaxed/simple;
bh=fFBvYx3Dy8qIxVv+YZZvR5xvcl6MyG5cqtr4gBoFrMw=;
h=DKIM-Signature:Date:From:To:Subject:Message-Id:MIME-Version;
b=PUx/8f7aUYPbAsxnhLVb/zZYpy2oTrzVEu9WvG2RkjiPIOz+a2NmrdWkJJOtEm1b0uu+sSUrcMSJdp/JKXZuI+NXxBtmHxrxI04kcl55j60eRVsRG+C+/D1Oy6yowlvcihOtsG6O/zwuUkC7MsCt2m4EK0QyJpZi8GW+3etkzhw=
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=1716801454; x=1717406254;
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=fFBvYx3Dy8qIxVv+YZZvR5xvcl6MyG5cqtr4gBoFrMw=;
b=ZMU6TlJWVLGOdCJX4gQ+mNy+u4TnOD9SIGFlbEEPYZ5BYYUX/L8HYt1dJFxxmkmXNd
+y6bSfqfBKxxVysscqAD+gbDRjBpOEvZ0xPK5oUPWR5uoguFJh1nf/lYEYt27dKGE5ix
rxccsNpmPcM7G5dfm/i44pekWCzxAtr+zO1MUbSIQSmulZubu5XJpLigmBQS/FHi+4Q3
SfHIb0F1j7c3Dw4PEeSQYQLBpxBMWz6noM7cm4P3NWO8DAPvr7iO88j2BNR/ah9UQhxF
E7M5H3gUxNvjfQSkV20VeGvvoJe7m8EjpYnypbziNgu0WZD3AKmt45ulXqlXm5WH63cC
K91g==
X-Gm-Message-State: AOJu0Ywm4plM12UN/RbdRW6wNszumfLpjrL+wPqOKph2roIghklSvDwz
6fJgJL+ANwgTj0ec251FQFL7kMBWP1v4DEpLQ1FNP0s4gPoBbkEUB/aKYQ==
X-Google-Smtp-Source: AGHT+IG+HGqLTPw8Uj8tpyag9quetb5NRgg2fXvKW7k1hWBBcgEU0s7V0ZkNJLcgHH9OfE93DVDi5A==
X-Received: by 2002:a17:902:d4c8:b0:1f4:466f:8ca4 with SMTP id
d9443c01a7336-1f4483f4248mr97495845ad.0.1716801454041;
Mon, 27 May 2024 02:17:34 -0700 (PDT)
Date: Mon, 27 May 2024 18:17:33 +0900
To: cygwin AT cygwin DOT com
Subject: Re: TeX Live 2024:: asympote 2.88-1 hangs after outputting a pdf
In-Reply-To: <f12d6965-9ed9-4cae-bf6e-ebddc2c093b6@cornell.edu>
References: <20240526131145 DOT E733 DOT 50F79699 AT gmail DOT com>
<f12d6965-9ed9-4cae-bf6e-ebddc2c093b6 AT cornell DOT edu>
Message-Id: <20240527181731.3FD9.50F79699@gmail.com>
MIME-Version: 1.0
X-Mailer: Becky! ver. 2.81.05 [ja]
X-Antivirus: Avast (VPS 240527-0, 2024/5/27), 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, KAM_SHORT,
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>

On Sun, 26 May 2024 18:02:54 -0400, Ken Brown via Cygwin
> On 5/26/2024 12:11 AM, Lemures Lemniscati via Cygwin wrote:
> > But, now, asy hangs after outputting a pdf.
> >
> > How to reproduce:
> >
> > 1. Prepare test.asy:
> >
> > // test.asy
> > dot((0,0));
> > // test.asy
> >
> > 2. `asy -vv test.asy` will successfully write test.eps.
> >
> > 3. But, `asy -vv -f pdf test.asy` will hang after gs produces test.pdf...
> 
> Sorry, I can't reproduce this on my system.  Can you attach gdb to the hanging process to see where the hang occurs?

Here is a log from gdb. Will it help?
 run
 info threads
 info stack
 list


$ HOME=/tmp gdb --args asy -vv -f pdf test
GNU gdb (GDB) (Cygwin 13.2-1) 13.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from asy...
Reading symbols from /usr/lib/debug//usr/bin/asy.exe.dbg...
(gdb) run
Starting program: /usr/bin/asy -vv -f pdf test
[New Thread 10728.0xa9c]
[New Thread 10728.0x3ed0]
[New Thread 10728.0xbd0]
[New Thread 10728.0x4c0c]
[New Thread 10728.0x2434]
[New Thread 10728.0x29d0]
[New Thread 10728.0x4ec8]
[New Thread 10728.0x2cfc]
[New Thread 10728.0x47bc]
[New Thread 10728.0x22d0]
[New Thread 10728.0x4268]
[New Thread 10728.0x2f94]
Using configuration directory /tmp/.asy
Using history /tmp/.asy/history
Welcome to Asymptote version 2.88
cd /tmp
Processing test
Loading plain from /usr/share/asymptote/plain.asy
Including plain_constants from /usr/share/asymptote/plain_constants.asy
Loading version from /usr/share/asymptote/version.asy
Including plain_strings from /usr/share/asymptote/plain_strings.asy
Including plain_pens from /usr/share/asymptote/plain_pens.asy
Including plain_paths from /usr/share/asymptote/plain_paths.asy
Including plain_filldraw from /usr/share/asymptote/plain_filldraw.asy
Including plain_margins from /usr/share/asymptote/plain_margins.asy
Including plain_picture from /usr/share/asymptote/plain_picture.asy
Loading plain_scaling from /usr/share/asymptote/plain_scaling.asy
Loading simplex from /usr/share/asymptote/simplex.asy
Loading plain_bounds from /usr/share/asymptote/plain_bounds.asy
Including plain_scaling from /usr/share/asymptote/plain_scaling.asy
Including plain_prethree from /usr/share/asymptote/plain_prethree.asy
Including plain_Label from /usr/share/asymptote/plain_Label.asy
Including plain_arcs from /usr/share/asymptote/plain_arcs.asy
Including plain_boxes from /usr/share/asymptote/plain_boxes.asy
Including plain_shipout from /usr/share/asymptote/plain_shipout.asy
Including plain_markers from /usr/share/asymptote/plain_markers.asy
Including plain_arrows from /usr/share/asymptote/plain_arrows.asy
Including plain_debugger from /usr/share/asymptote/plain_debugger.asy
Loading test from test.asy
gs -q -dNOPAUSE -dBATCH -P -dSAFER -dALLOWPSTRANSPARENCY -sDEVICE=pdfwrite -dEPSCrop -dSubsetFonts=true -dEmbedAllFonts=true -dMaxSubsetPct=100 -dEncodeColorImages=true -dEncodeGrayImages=true -dCompatibilityLevel=1.5 -dTransferFunctionInfo=/Apply -dAutoRotatePages=/None -g612x792 -dDEVICEWIDTHPOINTS=3 -dDEVICEHEIGHTPOINTS=3 -sOutputFile=test.pdf -c .setsafe -f test_.eps
[Thread 10728.0x2434 exited with code 0]
[New Thread 10728.0x43cc]

Thread 5 "sig" received signal SIGTRAP, Trace/breakpoint trap.
[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
(gdb) info stack
#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)
    at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/mm/cygheap.cc:743
#8  0x00007ffd528116c6 in sigpacket::process (this=this AT entry=0x7ffd52a08500 <sigq+3520>)
    at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/exceptions.cc:1496
#9  0x00007ffd5286a9dc in wait_sig () at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/sigproc.cc:1455
#10 0x00007ffd527f4d5f in cygthread::callfunc (this=this AT entry=0x7ffd529e5560 <threads>, issimplestub=issimplestub AT entry=false)
    at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygthread.cc:48
#11 0x00007ffd527f5270 in cygthread::stub (arg=arg AT entry=0x7ffd529e5560 <threads>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygthread.cc:91
#12 0x00007ffd527f5e08 in _cygtls::call2 (this=0x28bce00, func=0x7ffd527f51ea <cygthread::stub(void*)>, arg=0x7ffd529e5560 <threads>,
    buf=buf AT entry=0x28bcd20) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:41
#13 0x00007ffd527f5e86 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.5.3-1/winsup/cygwin/cygtls.cc:28
#14 0x00007ffd8639257d in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/WINDOWS/System32/KERNEL32.DLL
#15 0x00007ffd8716aa48 in ntdll!RtlUserThreadStart () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#16 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) list
234         pthread_join(gl::mainthread,NULL);
235     #endif
236       }
237     #endif
238     #endif
239       exit(returnCode());
240     }
241
242     void exitHandler(int)
243     {
(gdb) quit
A debugging session is active.

        Inferior 1 [process 10728] will be killed.

Quit anyway? (y or n) y


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