#13864: Configure Python with pydebug when SAGE_DEBUG is set
----------------------------------------------------------+-----------------
Reporter: jpflori | Owner:
jason
Type: task | Status:
needs_work
Priority: major | Milestone:
sage-pending
Component: misc | Resolution:
Keywords: python spkg | Work issues:
make sure Sage builds and starts
Report Upstream: N/A | Reviewers:
Volker Braun
Authors: Jean-Pierre Flori | Merged in:
Dependencies: #13865, #13867, #13868, #13876, #13832 | Stopgaps:
----------------------------------------------------------+-----------------
Comment (by SimonKing):
Wow! You know what actually fails? The following one-liner!
{{{
sage: K = GF(Integer(9), 'x')
python: Modules/gcmodule.c:326: visit_decref: Assertion `gc->gc.gc_refs !=
0' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff6d95d95 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff6d95d95 in raise () from /lib64/libc.so.6
#1 0x00007ffff6d972ab in abort () from /lib64/libc.so.6
#2 0x00007ffff6d8e8fe in __assert_fail_base () from /lib64/libc.so.6
#3 0x00007ffff6d8e9a2 in __assert_fail () from /lib64/libc.so.6
#4 0x00007ffff7b129c9 in visit_decref (op=0x6407cd8, data=0x0) at
Modules/gcmodule.c:326
#5 0x00007ffff7a1cbce in dict_traverse (op=0x6465ac0,
visit=0x7ffff7b1290e <visit_decref>, arg=0x0) at Objects/dictobject.c:2088
#6 0x00007ffff7b12a3e in subtract_refs (containers=0x7ffff7dc14e0
<generations>) at Modules/gcmodule.c:345
#7 0x00007ffff7b13a73 in collect (generation=0) at Modules/gcmodule.c:874
#8 0x00007ffff7b13d96 in collect_generations () at Modules/gcmodule.c:996
#9 0x00007ffff7b14a4a in _PyObject_GC_Malloc (basicsize=56) at
Modules/gcmodule.c:1457
#10 0x00007ffff7b14a82 in _PyObject_GC_New (tp=0x7ffff7d9a3c0
<PyList_Type>) at Modules/gcmodule.c:1467
#11 0x00007ffff7a02405 in PyList_New (size=49) at Objects/listobject.c:142
#12 0x00007ffff2f86395 in Pdata_popList (self=0x6368f90, start=100) at
/home/simon/SAGE/debug/sage-5.6.beta1/spkg/build/python-2.7.3.p5/src/Modules/cPickle.c:306
#13 0x00007ffff2f940ee in do_append (self=0x622f4e8, x=100) at
/home/simon/SAGE/debug/sage-5.6.beta1/spkg/build/python-2.7.3.p5/src/Modules/cPickle.c:4401
#14 0x00007ffff2f94603 in load_appends (self=0x622f4e8) at
/home/simon/SAGE/debug/sage-5.6.beta1/spkg/build/python-2.7.3.p5/src/Modules/cPickle.c:4450
#15 0x00007ffff2f95875 in load (self=0x622f4e8) at
/home/simon/SAGE/debug/sage-5.6.beta1/spkg/build/python-2.7.3.p5/src/Modules/cPickle.c:4835
#16 0x00007ffff2f96bf9 in Unpickler_load (self=0x622f4e8, unused=0x0) at
/home/simon/SAGE/debug/sage-5.6.beta1/spkg/build/python-2.7.3.p5/src/Modules/cPickle.c:5393
...
}}}
However,
{{{
sage: K = GF(Integer(3), 'x')
}}}
works fine.
So, non-prime finite fields it is, then!
I don't know about ZODB. What is it doing, and how can I upgrade it?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13864#comment:80>
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 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/sage-trac?hl=en.