#10113: Calling seed() incorrectly causes Sage to crash with SIGSEGV 
(Segmentation
Fault)
----------------------------+-----------------------------------------------
       Reporter:  drkirkby  |         Owner:  jason   
           Type:  defect    |        Status:  new     
       Priority:  major     |     Milestone:  sage-5.0
      Component:  misc      |    Resolution:          
       Keywords:            |   Work issues:          
Report Upstream:  N/A       |     Reviewers:          
        Authors:            |     Merged in:          
   Dependencies:            |      Stopgaps:          
----------------------------+-----------------------------------------------

Comment (by SimonKing):

 Now that's strange. I inserted print statements into the new `__cinit__`
 and the existing `__init__` and `__dealloc__` methods of
 sage.misc.randstate.randstate, namely printing `id(self)`. It turns out
 that, when doing `seed(a,b)`, `__dealloc__` is called on an object without
 `__cinit__` called previously.

 How can that happen?

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