Status: Valid
Owner: ----
Labels: Type-Defect Priority-Critical
New issue 3235 by [email protected]: Sage error in master
http://code.google.com/p/sympy/issues/detail?id=3235
$sage -python bin/test sympy/external/tests/test_sage.py
init2.c:52: MPFR assertion failed: p >= 2 && p <=
((mpfr_prec_t)((mpfr_prec_t)(~(mpfr_prec_t)0)>>1))
------------------------------------------------------------------------
Unhandled SIGABRT: An abort() occurred in Sage.
This probably occurred because a *compiled* component of Sage has a bug
in it and is not properly wrapped with sig_on(), sig_off(). You might
want to run Sage under gdb with 'sage -gdb' to debug this.
Sage will now terminate.
------------------------------------------------------------------------
local/bin/sage-sage: line 460: 10341 Abort trap: 6 python "$@"
This is with the latest version of sage. The problem is somewhere in the
import of sympy.integrals.
I bisected it to the commit:
commit ffdb509def66d9856cb152b3b906d4adae9b2bc6
Author: Chris Smith <[email protected]>
Date: Mon Mar 19 19:07:12 2012 +0545
do not rely on is_real for comparable test
When foo.is_number and foo.is_real is used to determine whether
something is positive or negative there are two problems:
1) this discriminates against expressions for which is_real is None
2) this doesn't allow is_positive|negative to answer False for
complex numbers -- they answer None at present
When evaluating is_real|integer, the presence of more than one
argument that does not have that attribute necessitates returning None
rather than False since those two properties may cancel out. A key
word to allow this option has been added to the
operations._eval_template_is_attr function.
I'll try to track down where exactly in the code the problem is occuring.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.