Upstream patch to remove abort() that occur during memory overflow
nisse at lysator.liu.se
Thu Sep 3 17:22:28 UTC 2020
Mustafa Mohamad <mus-m at outlook.com> writes:
> Currently GMP aborts which sends SIGBART and forcibly aborts Julia or any linked program. With the above patch, GMP will instead throw a __GMP_ALLOC_OVERFLOW_FUNC
> Instead of forcibly aborting
Hi, I understand aborting may be undesirable, but can you provide a bit
more context. How do you handle the callback on overflow? If you longjmp
out, how do you arrange so that your mpz variables are in a consistent
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.
More information about the gmp-bugs