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

Robert Cimrman cimrman3 at ntc.zcu.cz
Wed Feb 28 06:31:40 EST 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 ?

Hi Nils,

It did appear with recent versions of swig, but I am not sure whether it
is a swig problem (they could just add a new warning), or a problem in
my wrappers. I have just asked on swig ML...

r.



More information about the SciPy-Dev mailing list