#16165: old pari triggers segfault in Expression.roots(rings=CC)
-------------------------------------+-------------------------------------
Reporter: rws | Owner:
Type: defect | Status: needs_review
Priority: critical | Milestone: sage-pending
Component: interfaces | Resolution:
Keywords: pari, roots | Merged in:
Authors: Ralf Stephan | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/rws/segfault_in_expression_roots_rings_cc_|
5ae104354f3375f1fbc7076252c0d30282a68952
Dependencies: #15767 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by pbruin):
It is reproducible in GP if one first changes the precision from 128 bits
(38 digits, PARI's default) to 64 bits (19 digits), which is the precision
used to handle Sage's 53-bit precision reals:
{{{
(20:43) gp > \p19
(20:43) gp > polroots(1.0*(1+x+x^2)^3)
*** at top-level: polroots(1.0*(1+x+x^
*** ^--------------------
*** polroots: bug in PARI/GP (Segmentation Fault), please report
}}}
This is indeed fixed in PARI/GP 2.7.0.
--
Ticket URL: <http://trac.sagemath.org/ticket/16165#comment:5>
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.