#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:  #10352, #13832, #13865, #13867, #13868, #13876, #13878, 
#13882, #13883, #13889, #13896  |      Stopgaps:                                
  
----------------------------------------------------------------------------------------------------------+

Old description:

> Instructions for getting a debug version of Python:
>
> * Download and untar sage-5.6.beta1
> * Copy the Cython spkg from #13896 to spkg/standard
> * Copy the Python spkg from #13867 to spkg/standard
> * Copy the Singular spkg from #13876 to spkg/standard.
> * Copy the ZODB spkg from #10352 to spkg/standard
> * Run
>   {{{
> export SAGE_DEBUG=yes
> make
>   }}}
>   and wait.
> * Apply the patches from #13868, #13880, #13882 and #13883 to the Sage
> library
> * Run `sage -br`
>
> This gives you a Sage version that starts up, but some doctests segfault.
> Probably because we just found some bugs ;-)

New description:

 Instructions for getting a debug version of Python:

 * Download and untar sage-5.6.beta1
 * Copy the Cython spkg from #13896 to spkg/standard
 * Copy the Python spkg from #13867 to spkg/standard
 * Copy the Singular spkg from #13876 to spkg/standard.
 * Copy the ZODB spkg from #10352 to spkg/standard
 * Run
   {{{
 export SAGE_DEBUG=yes
 make
   }}}
   and wait. At the end, Sage will die in a SIGABRT during "Testing
 startup".
 * Apply the patches from #13868, #13880, #13882 and #13883 to the Sage
 library
 * Run `sage -br`

 This gives you a Sage version that starts up, but some doctests segfault.
 Probably because we just found some bugs ;-)

--

Comment (by SimonKing):

 Replying to [comment:113 SimonKing]:
 > Replying to [comment:112 vbraun]:
 > > I still get the crash in "testing startup". In fact without #13868 its
 pretty obvious that you must crash as soon as an integer from the free
 pool is being collected. You need to use integers for a bit to
 create->dealloc to pool->alloc from pool->dealloc but for me that happens
 during startup already.
 >
 > I am now rebuilding on bsd.math from scratch, were I took care to remove
 "old" (version-wise, not timestamp-wise) spkgs. Let's see what happens.

 Yep, I get SIGABRT now. Good.

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