-
-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPIR large numbers give a segmentation fault #15363
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Author: Jeroen Demeyer |
Dependencies: #9640 |
comment:4
Attachment: 15363_mpir_malloc.patch.gz |
comment:5
after importing the patch in Sage 5.12, I get with
Paul |
comment:6
Did you apply the dependency #9640? |
comment:8
obviously not... Paul |
comment:9
the example in the description no longer gives a Seg. fault, all doctests still pass, Paul |
Reviewer: Paul Zimmermann |
Merged: sage-5.13.beta3 |
This is essentially due to MPIR not checking for errors in
malloc()
(nor does it have a mechanism for returning errors to the user).This could be "solved" within Sage by adding checking in
sage_mpir_malloc()
and friends.Depends on #14029
Depends on #13311
Depends on #9640
CC: @zimmermann6
Component: c_lib
Author: Jeroen Demeyer
Reviewer: Paul Zimmermann
Merged: sage-5.13.beta3
Issue created by migration from https://trac.sagemath.org/ticket/15363
The text was updated successfully, but these errors were encountered: