Opened 2 years ago

Last modified 18 months ago

#65584 assigned defect

asymptote 2.70_3 fails to build under macOS Monterey 12.5 on M1

Reported by: murrayE Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: monterey, arm64 Cc:
Port: asymptote

Description

Error seems to be around here:

:info:build ../asy -dir ../base -config "" -render=0 -f pdf -noprc diatom.asy
:info:build   implicitshipout=false;
:info:build                  ^
:info:build ../base/plain.asy: 58.18: runtime: Stack overflow or segmentation fault: rerun with -nothreads
:info:build make[1]: *** [diagonal.pdf] Abort trap: 6
:info:build make[1]: *** Deleting file `diagonal.pdf'
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build perl ./asy-list.pl asy.list 2.70
:info:build   implicitshipout=false;
:info:build                  ^
:info:build ../base/plain.asy: 58.18: runtime: Stack overflow or segmentation fault: rerun with -nothreads
:info:build make[1]: *** [diatom.pdf] Abort trap: 6
:info:build make[1]: *** Deleting file `diatom.pdf'
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70/doc'
:info:build make: *** [man] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70" && /usr/bin/make -j10 -w all 
:info:build Exit code: 2
:error:build Failed to build asymptote: command execution failed
:debug:build Error code: CHILDSTATUS 7125 2
:debug:build Backtrace: command execution failed

Attachments (3)

main.log (267.1 KB) - added by murrayE 2 years ago.
main.log
asy-crashlog-ventura-Intel.txt (24.1 KB) - added by kencu (Ken) 2 years ago.
port install asymptote -nothreads.log.zip (18.6 KB) - added by LenoreHorner 18 months ago.
--nothreads failure log

Download all attachments as: .zip

Change History (10)

Changed 2 years ago by murrayE

Attachment: main.log added

main.log

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Cc: mojca removed
Owner: set to mojca
Status: newassigned

comment:2 Changed 2 years ago by barracuda156

The latest version fails on Rosetta also with PDF-related errors:

cd doc && /usr/bin/make man
cd doc && /usr/bin/make faq
Creating asy-keywords.el
./asy -dir base -config "" -render=0 -l > asy.list
make[1]: Entering directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_graphics_asymptote/asymptote/work/asymptote-2.81/doc'
make[1]: `faq' is up to date.
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_graphics_asymptote/asymptote/work/asymptote-2.81/doc'
make[1]: Entering directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_graphics_asymptote/asymptote/work/asymptote-2.81/doc'
../asy -dir ../base -config "" -render=0 -h 2>&1 | grep -iv Asymptote > options
../asy -dir ../base -config "" -render=0 -f pdf -noprc Bode.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc CAD1.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc CDlabel.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc GaussianSurface.asy
make[1]: *** [Bode.pdf] Bus error
make[1]: *** Waiting for unfinished jobs....
/bin/sh: line 1: 99860 Bus error               ./asy -dir base -config "" -render=0 -l > asy.list
make: *** [asy-keywords.el] Error 138
make: *** Waiting for unfinished jobs....
make[1]: *** [GaussianSurface.pdf] Bus error
make[1]: *** [CAD1.pdf] Bus error
make[1]: *** [CDlabel.pdf] Bus error
make[1]: *** [options] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_graphics_asymptote/asymptote/work/asymptote-2.81/doc'
make: *** [man] Error 2

Changed 2 years ago by kencu (Ken)

comment:3 Changed 2 years ago by kencu (Ken)

something similar happens on Ventura, but much different build.

make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70/doc'
../asy -dir ../base -config "" -render=0 -h 2>&1 | grep -iv Asymptote > options
../asy -dir ../base -config "" -render=0 -f pdf -noprc Bode.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc CAD1.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc CDlabel.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc GaussianSurface.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc HermiteSpline.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc Hobbycontrol.asy
../asy -dir ../base -config "" -render=0 -f pdf -noprc Hobbydir.asy
ls base/*.asy | grep -v plain\* | \
          grep -v three_\* | grep -v featpost3D | xargs ./asy -dir base -config "" -render=0 -l >> asy.list
make[1]: *** [Hobbycontrol.pdf] Abort trap: 6
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CAD1.pdf] Abort trap: 6
make[1]: *** [Hobbydir.pdf] Abort trap: 6
make[1]: *** [CDlabel.pdf] Abort trap: 6
make[1]: *** [HermiteSpline.pdf] Abort trap: 6
make[1]: *** [Bode.pdf] Abort trap: 6
make[1]: *** [GaussianSurface.pdf] Abort trap: 6
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70/doc'

comment:4 Changed 2 years ago by murrayE

Under Ventura I'm seeing slightly different build make log entries there before getting build make: [man] Error 2

:info:build ls base/*.asy | grep -v plain\* | \
:info:build           grep -v three_\* | grep -v featpost3D | xargs ./asy -dir base -config "" -render=0 -l >> asy.list
:info:build make[1]: *** [bezier.pdf] Abort trap: 6
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build make[1]: *** [Hobbycontrol.pdf] Abort trap: 6
:info:build make[1]: *** [CAD1.pdf] Abort trap: 6
:info:build make[1]: *** [Hobbydir.pdf] Abort trap: 6
:info:build make[1]: *** [CDlabel.pdf] Abort trap: 6
:info:build make[1]: *** [HermiteSpline.pdf] Abort trap: 6
:info:build make[1]: *** [Bode.pdf] Abort trap: 6
:info:build make[1]: *** [GaussianSurface.pdf] Abort trap: 6
:info:build make[1]: *** [axis3.pdf] Abort trap: 6
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_asymptote/asymptote/work/asymptote-2.70/doc'

comment:5 Changed 2 years ago by LenoreHorner

I'm seeing the same abort traps on Ventura on an M1 MacBook Pro. How are people getting around this?

comment:6 Changed 21 months ago by kencu (Ken)

this seems to be the crash on an M1:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               asy [75198]
Path:                  /opt/local/var/macports/*/asy
Identifier:            asy
Version:               ???
Code Type:             ARM-64 (Native)
Parent Process:        Exited process [75192]
Responsible:           Terminal [67180]
User ID:               502

Date/Time:             2023-02-13 09:16:45.4900 -0800
OS Version:            macOS 13.1 (22C65)
Report Version:        12
Anonymous UUID:        E7B3B7BD-1CF3-EC99-ECAA-ABB252180946

Sleep/Wake UUID:       EA8F0098-17F7-41F0-9883-A01101076E3B

Time Awake Since Boot: 580000 seconds
Time Since Wake:       1954 seconds

System Integrity Protection: enabled

Crashed Thread:        10

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called


Thread 0::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x18be91564 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x18becd638 _pthread_cond_wait + 1232
2   asy                           	       0x10508f734 gl::wait(_opaque_pthread_cond_t&, _opaque_pthread_mutex_t&) + 48
3   asy                           	       0x104ed34b4 camp::glrenderWrapper() + 44
4   asy                           	       0x1050b7218 main + 304
5   dyld                          	       0x18bba3e50 start + 2544

Thread 1:: GC-marker-0
0   libsystem_kernel.dylib        	       0x18be91564 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x18becd638 _pthread_cond_wait + 1232
2   libgc.1.dylib                 	       0x105637640 GC_wait_marker + 28
3   libgc.1.dylib                 	       0x10562f9c4 GC_help_marker + 104
4   libgc.1.dylib                 	       0x10563601c GC_mark_thread + 296
5   libsystem_pthread.dylib       	       0x18becd06c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x18bec7e2c thread_start + 8

Thread 2:: GC-marker-1
0   libsystem_kernel.dylib        	       0x18be91564 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x18becd638 _pthread_cond_wait + 1232
2   libgc.1.dylib                 	       0x105637640 GC_wait_marker + 28
3   libgc.1.dylib                 	       0x10562f9c4 GC_help_marker + 104
4   libgc.1.dylib                 	       0x10563601c GC_mark_thread + 296
5   libsystem_pthread.dylib       	       0x18becd06c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x18bec7e2c thread_start + 8

Thread 3:: GC-marker-2
0   libsystem_kernel.dylib        	       0x18be91564 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x18becd638 _pthread_cond_wait + 1232
2   libgc.1.dylib                 	       0x105637640 GC_wait_marker + 28
3   libgc.1.dylib                 	       0x10562f9c4 GC_help_marker + 104
4   libgc.1.dylib                 	       0x10563601c GC_mark_thread + 296
5   libsystem_pthread.dylib       	       0x18becd06c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x18bec7e2c thread_start + 8

Thread 4:: GC-marker-3
0   libsystem_kernel.dylib        	       0x18be91564 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x18becd638 _pthread_cond_wait + 1232
2   libgc.1.dylib                 	       0x105637640 GC_wait_marker + 28
3   libgc.1.dylib                 	       0x10562f9c4 GC_help_marker + 104
4   libgc.1.dylib                 	       0x10563601c GC_mark_thread + 296
5   libsystem_pthread.dylib       	       0x18becd06c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x18bec7e2c thread_start + 8

Thread 5:: GC-marker-4
0   libsystem_kernel.dylib        	       0x18be91564 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x18becd638 _pthread_cond_wait + 1232
2   libgc.1.dylib                 	       0x105637640 GC_wait_marker + 28
3   libgc.1.dylib                 	       0x10562f9c4 GC_help_marker + 104
4   libgc.1.dylib                 	       0x10563601c GC_mark_thread + 296
5   libsystem_pthread.dylib       	       0x18becd06c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x18bec7e2c thread_start + 8

Thread 6:: GC-marker-5
0   libsystem_kernel.dylib        	       0x18be91564 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x18becd638 _pthread_cond_wait + 1232
2   libgc.1.dylib                 	       0x105637640 GC_wait_marker + 28
3   libgc.1.dylib                 	       0x10562f9c4 GC_help_marker + 104
4   libgc.1.dylib                 	       0x10563601c GC_mark_thread + 296
5   libsystem_pthread.dylib       	       0x18becd06c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x18bec7e2c thread_start + 8

Thread 7:: GC-marker-6
0   libsystem_kernel.dylib        	       0x18be91564 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x18becd638 _pthread_cond_wait + 1232
2   libgc.1.dylib                 	       0x105637640 GC_wait_marker + 28
3   libgc.1.dylib                 	       0x10562f9c4 GC_help_marker + 104
4   libgc.1.dylib                 	       0x10563601c GC_mark_thread + 296
5   libsystem_pthread.dylib       	       0x18becd06c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x18bec7e2c thread_start + 8

Thread 8:: GC-marker-7
0   libsystem_kernel.dylib        	       0x18be91564 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x18becd638 _pthread_cond_wait + 1232
2   libgc.1.dylib                 	       0x105637640 GC_wait_marker + 28
3   libgc.1.dylib                 	       0x10562f9c4 GC_help_marker + 104
4   libgc.1.dylib                 	       0x10563601c GC_mark_thread + 296
5   libsystem_pthread.dylib       	       0x18becd06c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x18bec7e2c thread_start + 8

Thread 9:: GC-marker-8
0   libsystem_kernel.dylib        	       0x18be91564 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x18becd638 _pthread_cond_wait + 1232
2   libgc.1.dylib                 	       0x105637640 GC_wait_marker + 28
3   libgc.1.dylib                 	       0x10562f9c4 GC_help_marker + 104
4   libgc.1.dylib                 	       0x10563601c GC_mark_thread + 296
5   libsystem_pthread.dylib       	       0x18becd06c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x18bec7e2c thread_start + 8

Thread 10 Crashed:
0   libsystem_kernel.dylib        	       0x18be961b0 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x18becccec pthread_kill + 288
2   libsystem_c.dylib             	       0x18be062c8 abort + 180
3   libsystem_malloc.dylib        	       0x18bd24b1c malloc_vreport + 908
4   libsystem_malloc.dylib        	       0x18bd28330 malloc_report + 64
5   libsystem_malloc.dylib        	       0x18bd34e60 find_zone_and_free + 308
6   asy                           	       0x104ee0378 camp::texfile::~texfile() + 48
7   asy                           	       0x104fd15d4 run::gen_runlabel3(vm::stack*) + 3236
8   asy                           	       0x105042d64 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1280
9   asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
10  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
11  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
12  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
13  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
14  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
15  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
16  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
17  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
18  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
19  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
20  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
21  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
22  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
23  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
24  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
25  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
26  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
27  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
28  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
29  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
30  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
31  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
32  asy                           	       0x105042d90 vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*) + 1324
33  asy                           	       0x105060950 ifile::postRun(trans::coenv&, vm::interactiveStack&) + 28
34  asy                           	       0x10505fc44 icore::doRun(bool, transMode) + 336
35  asy                           	       0x10505feb8 icore::process(bool) + 196
36  asy                           	       0x105060abc ifile::process(bool) + 264
37  asy                           	       0x105061fc0 processFile(std::__1::basic_string<char, std::__1::char_traits<char>, gc_allocator_ignore_off_page<char> > const&, bool) + 44
38  asy                           	       0x1050b6ccc asymain(void*) + 1096
39  libgc.1.dylib                 	       0x105635b10 GC_inner_start_routine + 92
40  libgc.1.dylib                 	       0x105632848 GC_call_with_stack_base + 36
41  libsystem_pthread.dylib       	       0x18becd06c _pthread_start + 148
42  libsystem_pthread.dylib       	       0x18bec7e2c thread_start + 8


Thread 10 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x0000000000000000   x5: 0x0000000000000000   x6: 0x0000000000000001   x7: 0x000000016b4b41f0
    x8: 0x0f3a2a19beb97266   x9: 0x0f3a2a18d5f50266  x10: 0xcccccccccccccccd  x11: 0x000000000000000a
   x12: 0x0000000000000000  x13: 0x0000000000000037  x14: 0x0000000000000000  x15: 0x00000000ffff7dff
   x16: 0x0000000000000148  x17: 0x00000001ec0747f0  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x000000016b4c7000  x21: 0x0000000000001003  x22: 0x000000016b4c70e0  x23: 0x000000016b4bc240
   x24: 0x0000000000000000  x25: 0x0000000000000000  x26: 0x0000000105355b8b  x27: 0x000000016b4c7000
   x28: 0x0000000000000018   fp: 0x000000016b4bbb90   lr: 0x000000018becccec
    sp: 0x000000016b4bbb70   pc: 0x000000018be961b0 cpsr: 0x40001000
   far: 0x0000000105398000  esr: 0x56000080  Address size fault

Binary Images:
       0x18be8d000 -        0x18bec5ff3 libsystem_kernel.dylib (*) <aebf397e-e2ef-3a49-be58-23d4558511f6> /usr/lib/system/libsystem_kernel.dylib
       0x18bec6000 -        0x18bed2ffb libsystem_pthread.dylib (*) <132084c6-c347-3489-9ac2-fcaad21cdb73> /usr/lib/system/libsystem_pthread.dylib
       0x104eac000 -        0x10513ffff asy (*) <04d55b58-34f1-3fcd-844c-062d53b714e6> /opt/local/var/macports/*/asy
       0x18bb9e000 -        0x18bc28b63 dyld (*) <487cfdeb-9b07-39bf-bfb9-970b61aea2d1> /usr/lib/dyld
       0x105624000 -        0x10563bfff libgc.1.dylib (*) <80ff79fb-6bda-3529-a496-b8c84c9c9be7> /opt/local/lib/libgc.1.dylib
       0x18bd8d000 -        0x18be0dff3 libsystem_c.dylib (*) <756cd0d2-3241-3a74-8c59-02632dcee221> /usr/lib/system/libsystem_c.dylib
       0x18bd16000 -        0x18bd41ff7 libsystem_malloc.dylib (*) <04185997-16d2-30da-8691-7c82612635a3> /usr/lib/system/libsystem_malloc.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=981.8M resident=0K(0%) swapped_out_or_unallocated=981.8M(100%)
Writable regions: Total=821.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=821.0M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                   32K        1 
MALLOC                           211.2M       22 
MALLOC guard page                   96K        6 
MALLOC_MEDIUM (reserved)         120.0M        1         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                        176K       11 
Stack                             69.3M       11 
VM_ALLOCATE                       35.8M       58 
__AUTH                             573K      133 
__AUTH_CONST                      10.3M      270 
__DATA                            3734K      274 
__DATA_CONST                      14.3M      293 
__DATA_DIRTY                       678K       97 
__FONT_DATA                        2352        1 
__LINKEDIT                       770.1M       23 
__OBJC_CONST                      1162K      108 
__OBJC_RO                         65.4M        1 
__OBJC_RW                         1986K        1 
__TEXT                           211.7M      306 
dyld private memory                256K        1 
shared memory                       16K        1 
===========                     =======  ======= 
TOTAL                              1.9G     1620 
TOTAL, minus reserved VM space     1.4G     1620 



-----------
Full Report
-----------

{"app_name":"asy","timestamp":"2023-02-13 09:16:45.00 -0800","app_version":"","slice_uuid":"04d55b58-34f1-3fcd-844c-062d53b714e6","build_version":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 13.1 (22C65)","roots_installed":0,"incident_id":"3355E2EE-AB56-4201-B525-E3A2B37B982B","name":"asy"}
{
  "uptime" : 580000,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 502,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,1",
  "coalitionID" : 1157,
  "osVersion" : {
    "train" : "macOS 13.1",
    "build" : "22C65",
    "releaseType" : "User"
  },
  "captureTime" : "2023-02-13 09:16:45.4900 -0800",
  "incident" : "3355E2EE-AB56-4201-B525-E3A2B37B982B",
  "pid" : 75198,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-02-13 09:16:43.0163 -0800",
  "procStartAbsTime" : 14007334856432,
  "procExitAbsTime" : 14007394187964,
  "procName" : "asy",
  "procPath" : "\/opt\/local\/var\/macports\/*\/asy",
  "parentProc" : "Exited process",
  "parentPid" : 75192,
  "coalitionName" : "com.apple.Terminal",
  "crashReporterKey" : "E7B3B7BD-1CF3-EC99-ECAA-ABB252180946",
  "responsiblePid" : 67180,
  "responsibleProc" : "Terminal",
  "wakeTime" : 1954,
  "sleepWakeUUID" : "EA8F0098-17F7-41F0-9883-A01101076E3B",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "asi" : {"libsystem_c.dylib":["abort() called"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 10,
  "threads" : [{"id":10506759,"queue":"com.apple.main-thread","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":1980212,"symbol":"gl::wait(_opaque_pthread_cond_t&, _opaque_pthread_mutex_t&)","symbolLocation":48,"imageIndex":2},{"imageOffset":160948,"symbol":"camp::glrenderWrapper()","symbolLocation":44,"imageIndex":2},{"imageOffset":2142744,"symbol":"main","symbolLocation":304,"imageIndex":2},{"imageOffset":24144,"symbol":"start","symbolLocation":2544,"imageIndex":3}]},{"id":10506793,"name":"GC-marker-0","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":79424,"symbol":"GC_wait_marker","symbolLocation":28,"imageIndex":4},{"imageOffset":47556,"symbol":"GC_help_marker","symbolLocation":104,"imageIndex":4},{"imageOffset":73756,"symbol":"GC_mark_thread","symbolLocation":296,"imageIndex":4},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":10506794,"name":"GC-marker-1","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":79424,"symbol":"GC_wait_marker","symbolLocation":28,"imageIndex":4},{"imageOffset":47556,"symbol":"GC_help_marker","symbolLocation":104,"imageIndex":4},{"imageOffset":73756,"symbol":"GC_mark_thread","symbolLocation":296,"imageIndex":4},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":10506795,"name":"GC-marker-2","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":79424,"symbol":"GC_wait_marker","symbolLocation":28,"imageIndex":4},{"imageOffset":47556,"symbol":"GC_help_marker","symbolLocation":104,"imageIndex":4},{"imageOffset":73756,"symbol":"GC_mark_thread","symbolLocation":296,"imageIndex":4},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":10506796,"name":"GC-marker-3","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":79424,"symbol":"GC_wait_marker","symbolLocation":28,"imageIndex":4},{"imageOffset":47556,"symbol":"GC_help_marker","symbolLocation":104,"imageIndex":4},{"imageOffset":73756,"symbol":"GC_mark_thread","symbolLocation":296,"imageIndex":4},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":10506797,"name":"GC-marker-4","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":79424,"symbol":"GC_wait_marker","symbolLocation":28,"imageIndex":4},{"imageOffset":47556,"symbol":"GC_help_marker","symbolLocation":104,"imageIndex":4},{"imageOffset":73756,"symbol":"GC_mark_thread","symbolLocation":296,"imageIndex":4},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":10506798,"name":"GC-marker-5","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":79424,"symbol":"GC_wait_marker","symbolLocation":28,"imageIndex":4},{"imageOffset":47556,"symbol":"GC_help_marker","symbolLocation":104,"imageIndex":4},{"imageOffset":73756,"symbol":"GC_mark_thread","symbolLocation":296,"imageIndex":4},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":10506800,"name":"GC-marker-6","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":79424,"symbol":"GC_wait_marker","symbolLocation":28,"imageIndex":4},{"imageOffset":47556,"symbol":"GC_help_marker","symbolLocation":104,"imageIndex":4},{"imageOffset":73756,"symbol":"GC_mark_thread","symbolLocation":296,"imageIndex":4},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":10506801,"name":"GC-marker-7","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":79424,"symbol":"GC_wait_marker","symbolLocation":28,"imageIndex":4},{"imageOffset":47556,"symbol":"GC_help_marker","symbolLocation":104,"imageIndex":4},{"imageOffset":73756,"symbol":"GC_mark_thread","symbolLocation":296,"imageIndex":4},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":10506802,"name":"GC-marker-8","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":79424,"symbol":"GC_wait_marker","symbolLocation":28,"imageIndex":4},{"imageOffset":47556,"symbol":"GC_help_marker","symbolLocation":104,"imageIndex":4},{"imageOffset":73756,"symbol":"GC_mark_thread","symbolLocation":296,"imageIndex":4},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"triggered":true,"id":10506829,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":1},{"value":6095061488},{"value":1097235749280510566},{"value":1097235745375322726},{"value":14757395258967641293},{"value":10},{"value":0},{"value":55},{"value":0},{"value":4294934015},{"value":328},{"value":8254867440},{"value":0},{"value":6},{"value":6095138816},{"value":4099},{"value":6095139040},{"value":6095094336},{"value":0},{"value":0},{"value":4382350219},{"value":6095138816},{"value":24}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6642519276},"cpsr":{"value":1073745920},"fp":{"value":6095092624},"sp":{"value":6095092592},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6642295216,"matchesCrashFrame":1},"far":{"value":4382621696}},"frames":[{"imageOffset":37296,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":0},{"imageOffset":27884,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":1},{"imageOffset":496328,"symbol":"abort","symbolLocation":180,"imageIndex":5},{"imageOffset":60188,"symbol":"malloc_vreport","symbolLocation":908,"imageIndex":6},{"imageOffset":74544,"symbol":"malloc_report","symbolLocation":64,"imageIndex":6},{"imageOffset":126560,"symbol":"find_zone_and_free","symbolLocation":308,"imageIndex":6},{"imageOffset":213880,"symbol":"camp::texfile::~texfile()","symbolLocation":48,"imageIndex":2},{"imageOffset":1201620,"symbol":"run::gen_runlabel3(vm::stack*)","symbolLocation":3236,"imageIndex":2},{"imageOffset":1666404,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1280,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1666448,"symbol":"vm::stack::runWithOrWithoutClosure(vm::lambda*, vm::frame*, vm::frame*)","symbolLocation":1324,"imageIndex":2},{"imageOffset":1788240,"symbol":"ifile::postRun(trans::coenv&, vm::interactiveStack&)","symbolLocation":28,"imageIndex":2},{"imageOffset":1784900,"symbol":"icore::doRun(bool, transMode)","symbolLocation":336,"imageIndex":2},{"imageOffset":1785528,"symbol":"icore::process(bool)","symbolLocation":196,"imageIndex":2},{"imageOffset":1788604,"symbol":"ifile::process(bool)","symbolLocation":264,"imageIndex":2},{"imageOffset":1793984,"symbol":"processFile(std::__1::basic_string<char, std::__1::char_traits<char>, gc_allocator_ignore_off_page<char> > const&, bool)","symbolLocation":44,"imageIndex":2},{"imageOffset":2141388,"symbol":"asymain(void*)","symbolLocation":1096,"imageIndex":2},{"imageOffset":72464,"symbol":"GC_inner_start_routine","symbolLocation":92,"imageIndex":4},{"imageOffset":59464,"symbol":"GC_call_with_stack_base","symbolLocation":36,"imageIndex":4},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6642257920,
    "size" : 233460,
    "uuid" : "aebf397e-e2ef-3a49-be58-23d4558511f6",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6642491392,
    "size" : 53244,
    "uuid" : "132084c6-c347-3489-9ac2-fcaad21cdb73",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4377460736,
    "size" : 2703360,
    "uuid" : "04d55b58-34f1-3fcd-844c-062d53b714e6",
    "path" : "\/opt\/local\/var\/macports\/*\/asy",
    "name" : "asy"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6639181824,
    "size" : 568164,
    "uuid" : "487cfdeb-9b07-39bf-bfb9-970b61aea2d1",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4385292288,
    "size" : 98304,
    "uuid" : "80ff79fb-6bda-3529-a496-b8c84c9c9be7",
    "path" : "\/opt\/local\/lib\/libgc.1.dylib",
    "name" : "libgc.1.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6641209344,
    "size" : 528372,
    "uuid" : "756cd0d2-3241-3a74-8c59-02632dcee221",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6640721920,
    "size" : 180216,
    "uuid" : "04185997-16d2-30da-8691-7c82612635a3",
    "path" : "\/usr\/lib\/system\/libsystem_malloc.dylib",
    "name" : "libsystem_malloc.dylib"
  }
],
  "sharedCache" : {
  "base" : 6638534656,
  "size" : 3434283008,
  "uuid" : "00a1fbb6-43e1-3c11-8483-faf0db659249"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=981.8M resident=0K(0%) swapped_out_or_unallocated=981.8M(100%)\nWritable regions: Total=821.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=821.0M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nKernel Alloc Once                   32K        1 \nMALLOC                           211.2M       22 \nMALLOC guard page                   96K        6 \nMALLOC_MEDIUM (reserved)         120.0M        1         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                        176K       11 \nStack                             69.3M       11 \nVM_ALLOCATE                       35.8M       58 \n__AUTH                             573K      133 \n__AUTH_CONST                      10.3M      270 \n__DATA                            3734K      274 \n__DATA_CONST                      14.3M      293 \n__DATA_DIRTY                       678K       97 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       770.1M       23 \n__OBJC_CONST                      1162K      108 \n__OBJC_RO                         65.4M        1 \n__OBJC_RW                         1986K        1 \n__TEXT                           211.7M      306 \ndyld private memory                256K        1 \nshared memory                       16K        1 \n===========                     =======  ======= \nTOTAL                              1.9G     1620 \nTOTAL, minus reserved VM space     1.4G     1620 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "60f8ddccefea4203d95cbeef",
      "factorPackIds" : {

      },
      "deploymentId" : 240000022
    },
    {
      "rolloutId" : "62b4513af75dc926494899c6",
      "factorPackIds" : {
        "COREOS_ICD" : "62fbe3cfa9a700130f60b3ea"
      },
      "deploymentId" : 240000019
    }
  ],
  "experiments" : [

  ]
}
}

comment:7 Changed 18 months ago by LenoreHorner

I tried again, this time using

port install asymptote -nothreads

but build still fails. It looks like its in the documentation though. I didn't see a -doc variant or I would try that. I'm going to try to attach the -nothreads log.

Changed 18 months ago by LenoreHorner

--nothreads failure log

Note: See TracTickets for help on using tickets.