#13864: Configure Python with pydebug when SAGE_DEBUG is set
-------------------------------------+--------------------------------------
Reporter: jpflori | Owner: jason
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-5.6
Component: misc | Resolution:
Keywords: python spkg | Work issues:
Report Upstream: N/A | Reviewers: Volker Braun
Authors: Jean-Pierre Flori | Merged in:
Dependencies: #13865 | Stopgaps:
-------------------------------------+--------------------------------------
Comment (by jpflori):
Ok now I also get:
{{{
./sage -sh
... gdb python
... r -v
...
import sage.rings.padics.padic_ext_element # dynamically loaded from
/home/jp/boulot/sage/sage-5.6.beta0/local/lib/python2.7/site-
packages/sage/rings/padics/padic_ext_element.so
Fatal Python error: UNREF invalid object
Program received signal SIGABRT, Aborted.
0x00007ffff6cdfdd5 in raise () from /lib/x86_64-linux-gnu/libc.so.6
}}}
with bt
{{{
(gdb) bt
#0 0x00007ffff6cdfdd5 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff6ce2efb in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff7afa73c in Py_FatalError (
msg=0x7ffff7b441d1 "UNREF invalid object") at Python/pythonrun.c:1677
#3 0x00007ffff7a2c31e in _Py_ForgetReference (op=0x1e18440)
at Objects/object.c:2223
#4 0x00007ffff7a2c371 in _Py_Dealloc (op=0x1e18440) at
Objects/object.c:2242
#5 0x00007fffde01b3ac in initpadic_ZZ_pX_element ()
at sage/rings/padics/padic_ZZ_pX_element.cpp:9650
#6 0x00007ffff7aea57e in _PyImport_LoadDynamicModule (
name=0x7ffffffe4910 "sage.rings.padics.padic_ZZ_pX_element",
pathname=0x7ffffffe3810
"/home/jp/boulot/sage/sage-5.6.beta0/local/lib/python2.7/site-
packages/sage/rings/padics/padic_ZZ_pX_element.so", fp=0x1e13800)
at ./Python/importdl.c:53
#7 0x00007ffff7ae64a5 in load_module (
name=0x7ffffffe4910 "sage.rings.padics.padic_ZZ_pX_element",
fp=0x1e13800,
pathname=0x7ffffffe3810
"/home/jp/boulot/sage/sage-5.6.beta0/local/lib/python2.7/site-
packages/sage/rings/padics/padic_ZZ_pX_element.so", type=3,
loader=0x0) at Python/import.c:1831
#8 0x00007ffff7ae8776 in import_submodule (mod=0x1acc600,
subname=0x7ffffffe4922 "padic_ZZ_pX_element",
fullname=0x7ffffffe4910 "sage.rings.padics.padic_ZZ_pX_element")
at Python/import.c:2595
#9 0x00007ffff7ae7c9a in load_next (mod=0x1acc600, altmod=0x1acc600,
p_name=0x7ffffffe48f8,
buf=0x7ffffffe4910 "sage.rings.padics.padic_ZZ_pX_element",
p_buflen=0x7ffffffe4908) at Python/import.c:2415
}}}
and seems to be caused by
{{{
big = two**128 + one
#this should not fit in a long, since it's supposed to be bigger than any
valid absolute precision.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13864#comment:25>
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.