#19904: Segfault in SR(QQbar)
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-7.0
      Component:  symbolics          |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Ralf Stephan       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/rws/segfault_in_sr_qqbar_        |  994a8d5c95863fc9f231b870e91cfc12323cad2a
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Ralf Stephan', 'oldvalue': ''}):

 * status:  new => needs_review
 * commit:   => 994a8d5c95863fc9f231b870e91cfc12323cad2a
 * author:   => Ralf Stephan


Comment:

 It's not Pynac that crashes. The runtime error is just not caught. When
 fixed it will give:
 {{{
 /home/ralf/sage/src/sage/structure/coerce.pyx in
 sage.structure.coerce.CoercionModel_cache_maps.bin_op
 (build/cythonized/sage/structure/coerce.c:9736)()
    1067         # We should really include the underlying error.
    1068         # This causes so much headache.
 -> 1069         raise TypeError(arith_error_message(x,y,op))
    1070
    1071     cpdef canonical_coercion(self, x, y):

 TypeError: unsupported operand parent(s) for '+': 'Algebraic Field' and
 'Number Field in I with defining polynomial x^2 + 1'
 }}}
 ----
 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=994a8d5c95863fc9f231b870e91cfc12323cad2a
 994a8d5]||{{{19904: catch exceptions from GiNaC::decide_relational()}}}||

--
Ticket URL: <http://trac.sagemath.org/ticket/19904#comment:4>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to