Patch: support callback on allocation overflow instead of calling abort()
Colin Caine
cmcaine at gmail.com
Tue Oct 6 03:41:42 UTC 2020
This is used by Julia to raise an OutOfMemory exception rather than having
the Julia process itself abort.
Others on stackoverflow, etc, have experienced similar problems with
undesired aborts(), so this patch would probably be useful to a variety of
users. (see:
https://github.com/JuliaLang/julia/issues/8286#issuecomment-323500953)
More information is available here and in the linked issues and PRs:
https://github.com/JuliaLang/julia/pull/31215
Thanks,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmp_alloc_overflow_func.patch
Type: text/x-patch
Size: 5426 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-bugs/attachments/20201006/d8f60b41/attachment.bin>
More information about the gmp-bugs
mailing list