Sac2c segfault with apex UTTakeDrop
When compiling the apex UnitTest, UTTakeDrop, sac2c produces a segfault on my system and on my server, however, it does not produce a segfault for Bob on his system. I don't think it is a memory issue, since I have over 60Gb free while it is compiling, and sac2c never uses more than 5Gb or 10Gb while compiling UTTakeDrop, so it is not reaching any memory limit.
This should be fairly easy to reproduce within the docker image I have created via docker run -it -v $(pwd):/app registry.bkaw.ca/spacequacker/sacstdlib:latest bash
, running this within some junk directory which contains UTTakeDrop.sac, which is attached.
My sac2c version is the following: sac2c 1.3.3-MijasCosta-1079-g648dba build-type: DEBUG built-by: "spacequacker" at 2023-07-19T19:42:08
BugReport is attached. The up-to-date sac source file is here. Dockerfile For some additional background information, the apex issue is here.