#16165: segfault in Expression.roots(rings=CC)
--------------------------+-------------------------------
   Reporter:  rws         |            Owner:
       Type:  defect      |           Status:  new
   Priority:  critical    |        Milestone:  sage-6.2
  Component:  interfaces  |         Keywords:  pari, roots
  Merged in:              |          Authors:
  Reviewers:              |  Report Upstream:  N/A
Work issues:              |           Branch:
     Commit:              |     Dependencies:
   Stopgaps:              |
--------------------------+-------------------------------
 {{{
 sage: f=(1+x+x^2)^3
 sage: f.roots(ring=CC)
 ---------------------------------------------------------------------------
 SignalError                               Traceback (most recent call
 last)
 <ipython-input-2-e28890a572d2> in <module>()
 ----> 1 f.roots(ring=CC)

 /home/ralf/sage/local/lib/python2.7/site-
 packages/sage/symbolic/expression.so in
 sage.symbolic.expression.Expression.roots
 (sage/symbolic/expression.cpp:38111)()

 /home/ralf/sage/local/lib/python2.7/site-
 packages/sage/rings/polynomial/polynomial_element.so in
 sage.rings.polynomial.polynomial_element.Polynomial.roots
 (sage/rings/polynomial/polynomial_element.c:36164)()

 /home/ralf/sage/local/lib/python2.7/site-packages/sage/libs/pari/gen.so in
 sage.libs.pari.gen.gen.polroots (sage/libs/pari/gen.c:42565)()

 /home/ralf/sage/local/lib/python2.7/site-packages/sage/ext/c_lib.so in
 sage.ext.c_lib.sig_raise_exception (sage/ext/c_lib.c:1208)()

 SignalError: Segmentation fault
 sage: gp_version()
 ((2, 5, 5), 'GP/PARI CALCULATOR Version 2.5.5 (released)')
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/16165>
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.

Reply via email to