[SciPy-dev] UMFPACKv4.4 and swig memory leak of type 'void *'
Nils Wagner
nwagner at iam.uni-stuttgart.de
Wed Feb 28 04:38:12 EST 2007
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
cat /proc/cpuinfo yields
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
stepping : 6
cpu MHz : 1596.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall
nx lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips : 3726.92
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
stepping : 6
cpu MHz : 1596.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall
nx lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips : 3724.17
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
amd_info:
libraries = ['amd']
library_dirs = ['/usr/local/src/UMFPACKv4.4/AMD/Lib']
define_macros = [('SCIPY_AMD_H', None)]
swig_opts = ['-I/usr/local/src/UMFPACKv4.4/AMD/Include']
include_dirs = ['/usr/local/src/UMFPACKv4.4/AMD/Include']
umfpack_info:
libraries = ['umfpack', 'amd']
library_dirs = ['/usr/local/src/UMFPACKv4.4/UMFPACK/Lib',
'/usr/local/src/UMFPACKv4.4/AMD/Lib']
define_macros = [('SCIPY_UMFPACK_H', None), ('SCIPY_AMD_H', None)]
swig_opts = ['-I/usr/local/src/UMFPACKv4.4/UMFPACK/Include',
'-I/usr/local/src/UMFPACKv4.4/AMD/Include']
include_dirs = ['/usr/local/src/UMFPACKv4.4/UMFPACK/Include',
'/usr/local/src/UMFPACKv4.4/AMD/Include']
rpm -qi swig
Name : swig Relocations: (not relocatable)
Version : 1.3.29 Vendor: SUSE LINUX
Products GmbH, Nuernberg, Germany
Release : 29 Build Date: Mon 27 Nov 2006
10:46:51 PM CET
Install Date: Mon 19 Feb 2007 09:04:53 AM CET Build Host:
lanner.suse.de
Group : Development/Languages/C and C++ Source RPM:
swig-1.3.29-29.src.rpm
Size : 3602040 License: BSD License and
BSD-like
Signature : DSA/SHA1, Mon 27 Nov 2006 10:57:29 PM CET, Key ID
a84edae89c800aca
Packager : http://bugs.opensuse.org
URL : http://www.swig.org
Summary : Simplified Wrapper and Interface Generator
Nils
More information about the SciPy-Dev
mailing list