[SciPy-dev] *** glibc detected *** free(): invalid pointer: 0x403931d8 ***

Nils Wagner nwagner at mecha.uni-stuttgart.de
Sat Dec 17 01:54:14 CST 2005


On Sat, 17 Dec 2005 00:42:28 -0700
  Travis Oliphant <oliphant.travis at ieee.org> wrote:
> Nils Wagner wrote:
> 
>>Hi all,
>>
>>I am using the latest svn versions.
>>python setup.py install works fine in core
>>but the same in scipy results in
>>  *** glibc detected *** free(): invalid pointer: 
>>0x403931d8 ***
>>
>>  
>>
> I found a stray use of the free function (instead of 
>_pya_free) which 
> could be the cause of this.  I've fixed it in SVN.  I'd 
>like some more 
> tests on the use of the Python memory allocator to see 
>if it makes any 
> kind of difference (small array tests would be the most 
>useful---I don't 
> expect any difference on large array tests).   Changing 
>the 
> PyArray_USE_PYMEM constant in arrayobject.h  switches 
>which allocator is 
> used.
> 
> -Travis
> 
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev

here is the problem

_configtest.o(.text+0x21): In function `main':
/home/nwagner/svn/core/_configtest.c:5: undefined 
reference to `exp'
collect2: ld returned 1 exit status

Nils
  




More information about the Scipy-dev mailing list