#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 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.

 We both get killed by integer arithmetic, which points to a circular
 import problem. The Integer class is a particularly bad case of stuff that
 tries to define and compute everything upon import. At the same time it is
 interleaved with the rationals class, so it is full of circular imports.
 Which almost certainly equals half-constructed objects during the circular
 import fest.

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

Reply via email to