#715: Parents probably not reclaimed due to too much caching
-------------------------------------------------------------------+--------
       Reporter:  robertwb                                         |         
Owner:  somebody                                 
           Type:  defect                                           |        
Status:  needs_review                             
       Priority:  major                                            |     
Milestone:  sage-5.4                                 
      Component:  coercion                                         |    
Resolution:                                           
       Keywords:  weak cache coercion Cernay2012                   |   Work 
issues:                                           
Report Upstream:  N/A                                              |     
Reviewers:  Jean-Pierre Flori, Simon King, Nils Bruin
        Authors:  Simon King, Jean-Pierre Flori                    |     Merged 
in:                                           
   Dependencies:  #9138, #11900, #11599, to be merged with #11521  |      
Stopgaps:                                           
-------------------------------------------------------------------+--------

Comment (by SimonKing):

 Replying to [comment:261 nbruin]:
 > But doctesting doesn't run it through `sage`. It executes `python
 failing_test_under_gdb.py`. if I'm not mistaken. If you can run the exact
 same command and input file that `sage -t` runs and not get a segv where
 `sage -t` does, there is something really strange. I guess you might want
 to control for environment variables as well, but other than that there
 should really not be a difference.

 {{{
 bash-3.2$ ../../sage -python -t ~/SAGE/work/signal11/my_test_86673.py
 }}}

 So, running it in pure python works, of course.

 According to the sage-doctest script, I thought that the command to run
 the test under gdb is as follows:
 {{{
 bash-3.2$ gdb --args ../../sage -python -t
 ~/SAGE/work/signal11/my_test_86673.py
 GNU gdb 6.3.50-20050815 (Apple version gdb-1515) (Sat Jan 15 08:33:48 UTC
 2011)
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 details.
 This GDB was configured as "x86_64-apple-
 darwin"..."/scratch/sking/sage-5.4.beta0/sage": not in executable format:
 File format not recognized

 (gdb) r
 Starting program:
 No executable file specified.
 Use the "file" or "exec-file" command.
 }}}
 So, it didn't work.

 What is the command to run the test in python under gdb?

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