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

Nils Wagner nwagner@iam.uni-stuttgart...
Tue Apr 10 07:08:43 CDT 2007


Robert Cimrman wrote:
> 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.
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>   
Hi Robert,

Thanks a lot !

Nils

 


More information about the Scipy-dev mailing list