#10705: unpickle_all called twice in a row = boom!
------------------------+---------------------------------------------------
   Reporter:  slabbe    |       Owner:  was       
       Type:  defect    |      Status:  new       
   Priority:  major     |   Milestone:  sage-4.6.2
  Component:  pickling  |    Keywords:            
     Author:            |    Upstream:  N/A       
   Reviewer:            |      Merged:            
Work_issues:            |  
------------------------+---------------------------------------------------
 Calling twice in a row the function `unpickle_all` breaks sage:

 {{{
 sage: sage.structure.sage_object.unpickle_all()
 x...
 Successfully unpickled 586 objects.
 Failed to unpickle 0 objects.
 sage: sage.structure.sage_object.unpickle_all()
 /Users/slabbe/Applications/sage-4.6.1/local/bin/sage-sage: line 300:
 7292 Abort trap              sage-ipython "$@" -i
 $
 }}}

 Doing some {{{print i, A}}} inside the loop of the function
 {{{unpickle_all}}} shows that the process stop on the 170th :

 {{{
 sage: sage.structure.sage_object.unpickle_all()
 ...
 163
 
_class__sage_combinat_sf_homogeneous_SymmetricFunctionAlgebra_homogeneous__.sobj
 164 _class__sage_combinat_sf_jack_JackPolynomials_j__.sobj
 165 _class__sage_combinat_sf_jack_JackPolynomials_p__.sobj
 166 _class__sage_combinat_sf_jack_JackPolynomials_q__.sobj
 167 _class__sage_combinat_sf_kschur_kSchurFunctions_t__.sobj
 168 _class__sage_combinat_sf_llt_LLT_cospin__.sobj
 169 _class__sage_combinat_sf_llt_LLT_spin__.sobj
 170 _class__sage_combinat_sf_macdonald_MacdonaldPolynomials_h__.sobj
 /Users/slabbe/Applications/sage-4.6.1/local/bin/sage-sage: line 300:
 6926 Abort trap              sage-ipython "$@" -i
  $
 }}}

 If a solution needs to change the `pickle_jar`, be aware, because it may
 results in conflicts because I am actually changing it at #10354.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10705>
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