#14211: Crash due to missing sig_on in Expression.__nonzero__
-------------------------------------------------+-------------------------
       Reporter:  mjo                            |        Owner:  burcin
           Type:  defect                         |       Status:  new
       Priority:  critical                       |    Milestone:  sage-6.7
      Component:  symbolics                      |   Resolution:
       Keywords:                                 |    Merged in:
        Authors:                                 |    Reviewers:
Report Upstream:  Reported upstream. Developers  |  Work issues:
  deny it's a bug.                               |       Commit:
         Branch:                                 |     Stopgaps:
   Dependencies:                                 |
-------------------------------------------------+-------------------------

Comment (by rws):

 Replying to [comment:11 nbruin]:
 > Are you sure this is the sole problem, though?
 I have reopened the Pynac issue. The crash is in exactly the same call
 tree. It happens while trying to multiply the rhs with `-1` to get `lhs-
 rhs`. So:
 {{{
 sage: f(x)=matrix()
 sage: bool(f(x)==1)
 True
 sage: bool(1==f(x))
 <crash>
 }}}
 Also no, I don't think it's the sole problem. Either Sage or Pynac will
 have to check somewhere before evaluating that all mutable Python objects
 of the expression are switched to immutable (or make immutable copies).

--
Ticket URL: <http://trac.sagemath.org/ticket/14211#comment:12>
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