Opened 11 years ago

Closed 4 years ago

#10705 closed defect (wontfix)

unpickle_all called twice = boom!

Reported by: slabbe Owned by: was
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: pickling Keywords:
Cc: Merged in:
Authors: Reviewers: Sébastien Labbé, Peter Bruin
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by slabbe)

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
 $ 

Change History (11)

comment:1 Changed 11 years ago by slabbe

  • Summary changed from unpickle_all called twice in a row = boom! to unpickle_all called twice = boom!

comment:2 Changed 9 years ago by slabbe

  • Description modified (diff)

comment:3 Changed 9 years ago by andrew.mathas

See #13636 for another seg fault associated with pickling.

Version 0, edited 9 years ago by andrew.mathas (next)

comment:4 Changed 8 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:5 Changed 8 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:6 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:7 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:8 Changed 4 years ago by slabbe

  • Status changed from new to needs_review

comment:9 Changed 4 years ago by slabbe

  • Milestone changed from sage-6.4 to sage-8.0
  • Status changed from needs_review to positive_review

This is not a problem anymore on 8.0.rc0.

comment:10 Changed 4 years ago by pbruin

  • Milestone changed from sage-8.0 to sage-duplicate/invalid/wontfix
  • Reviewers set to Sébastien Labbé, Peter Bruin

A doctest to check that this is fixed was added in #5838.

comment:11 Changed 4 years ago by embray

  • Resolution set to wontfix
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.