#4198: [with patch, positive review] matrix_cyclo_dense.pyx leaks in _get_unsafe
----------------------+-----------------------------------------------------
 Reporter:  mabshoff  |        Owner:  mabshoff  
     Type:  defect    |       Status:  closed    
 Priority:  major     |    Milestone:  sage-3.1.3
Component:  memleak   |   Resolution:  fixed     
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by mabshoff):

 The valgrind trace was the following:
 {{{
 ==19392== 8 bytes in 1 blocks are definitely lost in loss record 71 of
 22,499
 ==19392==    at 0x4A1BE1B: malloc (vg_replace_malloc.c:207)
 ==19392==    by 0x6360947: __gmpz_init (in /scratch/mabshoff/release-
 cycle/sage-3.1.3.alpha1/local/lib/libgmp.so.3.4.1)
 ==19392==    by 0x19D0A675:
 
__pyx_f_4sage_6matrix_18matrix_cyclo_dense_18Matrix_cyclo_dense_get_unsafe(__pyx_obj_4sage_6matrix_18matrix_cyclo_dense_Matrix_cyclo_dense*,
 long, long) (matrix_cyclo_dense.cpp:3773)
 ==19392==    by 0x16397A16:
 __pyx_pf_4sage_6matrix_7matrix1_6Matrix_dense_rows (matrix1.c:3933)
 ==19392==    by 0x415832: PyObject_Call (abstract.c:1861)
 ==19392==    by 0x47D750: PyEval_CallObjectWithKeywords (ceval.c:3442)
 ==19392==    by 0x16392247: __pyx_pf_4sage_6matrix_7matrix1_6Matrix_rows
 (matrix1.c:3366)
 ==19392==    by 0x415832: PyObject_Call (abstract.c:1861)
 ==19392==    by 0x164CEEE9:
 __pyx_pf_4sage_6matrix_7matrix0_6Matrix_linear_combination_of_rows
 (matrix0.c:10569)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4198#comment:4>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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