Closed Bo-Yuan-Huang closed 3 years ago
Tracing the root cause, the exception is thrown here: https://github.com/Bo-Yuan-Huang/ILAng/blob/a58890818e2b8df5c0b9fc4cc48bd07501b33ccc/src/smt-inout/chc_inv_in.cc#L926
This issue is only observed in OSX with Release build. The ILANG_BUILD_INVSYN
is temporarily set OFF
in the corresponding CI. Remember to turn on once fixed.
https://github.com/Bo-Yuan-Huang/ILAng/blob/a58890818e2b8df5c0b9fc4cc48bd07501b33ccc/azure-pipelines.yml#L52
Thanks for letting me know! I think the root cause might be that I'm doing some hacky things around the pointers which assumes a fixed memory layout of the class members, however the optimization in release mode will not guarantee that. Will look into it. Thanks!
Describe the bug There are (nondeterministically) memory allocation exception when parsing STM formulas.
To Reproduce Steps to reproduce the behavior:
Release
build typeTestVlgVerifInvSyn.LoadInvFromBeginning
Environment (please complete the following information):
Additional context First issued in #188. Multiple tests involving the
smt-parser
have the same issue,TestVlgVerifInvSyn.LoadInvFromBeginning
is one of the set.Error message: