[SciPy-dev] UMFPACKv4.4 and swig memory leak of type 'void *'

Robert Cimrman cimrman3@ntc.zcu...
Wed Apr 4 03:37:42 CDT 2007


Nils Wagner wrote:
> Hi all,
> 
> scipy.test(1,10) reports a lot of memory leaks, e.g.
> 
> Getting factors of complex matrixswig/python detected a memory leak of
> type 'void *', no destructor found.
> Getting factors of real matrixswig/python detected a memory leak of type
> 'void *', no destructor found.
> Solve with UMFPACK: double precision complexswig/python detected a
> memory leak of type 'void *', no destructor found.
> swig/python detected a memory leak of type 'void *', no destructor found.
>  ... ok
> Solve: single precision complexUse minimum degree ordering on A'+A.
>  ... ok
> Solve with UMFPACK: double precisionswig/python detected a memory leak
> of type 'void *', no destructor found.
> swig/python detected a memory leak of type 'void *', no destructor found.
>  ... ok
> 
> Is this a swig problem ?
> 
> I am using
> 
> Numpy version 1.0.2.dev3562
> Scipy version 0.5.3.dev2774

Hi Nils,

it was not a swig problem but mine (passing bad 'own' flag in a
typemap)). One can be really blind...

Now it seems fixed. (rev. 2896)

r.


More information about the Scipy-dev mailing list