#15820: Implement sequences of bounded integers
-------------------------------------+-------------------------------------
Reporter: SimonKing | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.4
Component: algebra | Resolution:
Keywords: sequence bounded | Merged in:
integer | Reviewers:
Authors: Simon King | Work issues:
Report Upstream: N/A | Commit:
Branch: | 6dfb1cb1c6dc5704e2a8918cf2aeabdd8dbef69a
u/SimonKing/ticket/15820 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by fredrik.johansson):
If it's an "invalid read of size 8" and "0 bytes after a block" in
mpn_copyi, chances are it's not a bug. GMP/MPIR will sometimes read 16
aligned bytes at a time when there are just 8 bytes left to copy, on
certain architectures where this is safe. This might be the case in
mpn_rshift too.
If you're absolutely sure that your code should be correct there, you
could try compiling MPIR with assembly optimizations disabled and see if
the error goes away. Or easier, temporarily replace the mpn_rshift in your
code with a plain C implementation (e.g. the one in mpn/generic/rshift.c
in MPIR).
The "Conditional jump or move depends on uninitialised value" is
absolutely a bug.
--
Ticket URL: <http://trac.sagemath.org/ticket/15820#comment:151>
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.