[MacPorts] #61536: asymptote @2.65 build on Big Sur causes kernel panic.
MacPorts
noreply at macports.org
Wed Nov 18 12:20:52 UTC 2020
#61536: asymptote @2.65 build on Big Sur causes kernel panic.
------------------------+----------------------
Reporter: snowflake | Owner: mojca
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.99
Resolution: | Keywords:
Port: asymptote |
------------------------+----------------------
Comment (by snowflake):
Asymptote process ```asy``` has a severe memory leak - tens of GB.
In ```/Library/Logs/DiagnosticReports``` I found a file
```Kernel-2020-11-18-100514.panic``` .
It is in JSON with a large chunk of modified Base64. I extracted the
Base64, deleted the ```\``` characters and decoded it. It turned out to
be a long list of the processes running
at the time of the panic. There were 4 instances of ```asy``` and each
was taking more then 10GB of memory footprint. Using ```locate```, I
found that ```asy``` was in the work folder for the ```asymptote``` build.
I initially surmised that the panic was due to an obscure bug in the
compiler, but I am probably wrong. It's either a bug in ```asymptote``` or
the compiler is producing duff code.
--
Ticket URL: <https://trac.macports.org/ticket/61536#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list