[SciPy-dev] Check reading the nested fields of a nested array

Travis Oliphant oliphant.travis at ieee.org
Tue Apr 25 04:00:28 EDT 2006


Nils Wagner wrote:
> Nils Wagner wrote:
>   
>> Travis Oliphant wrote:
>>   
>>     
>>> Nils Wagner wrote:
>>>   
>>>     
>>>       
>>>> 0.9.7.2404 on a 64 bit system
>>>>
>>>> numpy.test(1,10) results in
>>>>   
>>>> Check reading the nested fields of a nested array (1st level)*** glibc 
>>>> detected *** malloc(): memory corruption (fast): 0x00000000007dee40 ***
>>>>   
>>>>     
>>>>       
>>>>         
>>> Can you check to see which check-in caused the problem.  Go back to 
>>> revision 2403, 2402, and so forth.
>>>
>>> Also, please remove the build directory and the installed numpy to be 
>>> sure changes to the C-API are not causing problems.
>>>
>>> The trace-back is not really giving a clue.  Perhaps if you ran under 
>>> valgrind better help could be given.  Are there any warnings emmitted 
>>> during compilation?
>>>
>>>
>>> Could somebody else with a 64-bit system verify?
>>>
>>>     
>>>       
> BTW, the problem is not restricted to 64-bit systems. I just installed 
> the latest svn version of numpy
> on a 32-bit system and got
> Check reading the nested fields of a nested array (1st level)*** glibc 
> detected *** free(): invalid next size (fast): 0x081d5870 ***
> Abort
>
>   
Please remove your installation of numpy and your build directory and 
try again.  I do not get these errors.  

The copyswap function changed arguments and appears to be at the root of 
these problems.

-Travis




More information about the SciPy-Dev mailing list