Re: Upstream patch to remove abort() that occur during memory overflow

2020-09-03 Thread Niels Möller
Mustafa Mohamad 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

Upstream patch to remove abort() that occur during memory overflow

2020-09-03 Thread Mustafa Mohamad
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