#12480: NTL segfault on OS X 10.7
-----------------------------+---------------------------------------------
Reporter: jdemeyer | Owner: was
Type: defect | Status: closed
Priority: critical | Milestone: sage-5.0
Component: | Resolution: fixed
interfaces | Merged in: sage-5.0.beta8
Keywords: | Reviewers: William Stein, Jeroen Demeyer
Authors: David Roe | Work issues:
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
Dependencies: |
-----------------------------+---------------------------------------------
Comment (by saraedum):
Replying to [comment:14 roed]:
> The changes look good, except the removal of the three checks for n < 0
in `pow_mpz_t_tmp` and `pow_ZZ_tmp` where a ValueError is raised. While I
understand that Cython will ignore those errors, I think the right option
is to open another ticket and modify what is done, rather than just
removing the checks. With these changes it's easier for these functions
to segfault on incorrect input.
Does this refer to how Cython used to work? Does it make sense to add an
`except NULL` to the function definition now? I stumbled upon this while
working on #13591.
--
Ticket URL: <http://trac.sagemath.org/ticket/12480#comment:19>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.