#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):
Replying to [comment:28 SimonKing]:
> Replying to [comment:26 jpflori]:
> > Replying to [comment:24 vbraun]:
> > > Replying to [comment:17 SimonKing]:
> > > > Interestingly, the error on my laptop looks different from what
Volker reported in comment:15:
> > > > ...
> > > > dlopen("/home/simon/SAGE/debug/sage-5.5.rc0/local/lib/python2.7
/site-packages/sage/rings/integer.so", 2);
> > > > python: Modules/gcmodule.c:326: visit_decref: Assertion
`gc->gc.gc_refs != 0' failed.
> > > > ...
> > >
> > > You die in a garbage collection cycle, presumably because you have <
32 GB RAM (= my desktop). So the garbage collector runs earlier.
> > Are you sure?
> > I'd say this really looks like the weakref mess fixed up in 0.17.3.
>
> After upgrading to Cython 0.17.3, I get an error that seems to confirm
what Volker stated.
>
Do you get the same one as before? i.e. with a failing assert?
Or the one that Volker got (and I now get)? i.e. with a Fatal UNREF?
Just asking ot be really sure we (or I :) ) did not get confused.
And I just tested that adding -DPy_DEBUG does not help with the FATAL
thing.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13864#comment:31>
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.