Upstream patch to remove abort() that occur during memory overflow
Mustafa Mohamad
mus-m at outlook.com
Thu Sep 3 14:09:47 UTC 2020
Dear developers,
Below we at the Julia team would love to see the following patch upstreamed:
https://github.com/JuliaLang/julia/blob/master/deps/patches/gmp_alloc_overflow_func.patch
Rationale:
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
Thanks for your consideration.
Best,
Mustafa
More information about the gmp-bugs
mailing list