[SciPy-user] Bus error on Intel mac pro w/Leopard, gcc 4.2, numpy from svn head

Robert Kern robert.kern@gmail....
Mon Jun 16 14:10:59 CDT 2008


On Mon, Jun 16, 2008 at 12:06, Anand Patil
<anand.prabhakar.patil@gmail.com> wrote:
> Robert,
>
> Thanks for the reply.
>
> On 16 Jun 2008, at 17:49, Robert Kern wrote:
>
>> On Mon, Jun 16, 2008 at 10:58, Anand Patil
>>
>> It could be either. The long chain of array_dealloc() calls means that
>> you have a view of a view of a view ... of and array. When the tail
>> end of the view chain gets decrefed to 0 and deallocated, it will
>> decref its reference to the array it is a view of (myarray.base, if
>> you want to check this out at the Python level). If that was the only
>> reference, it gets deallocated and decrefs its .base array.
>>
>> It is possible, though unlikely, that a cycle got formed somehow.
>>
>> Does your program crash using the www.python.org binary built with
>> gcc 4.0.1?
>
> Actually, I wasn't able to get my Python environment set up with the
> python.org binary . I need OpenMP, which means I need gcc 4.2 ... but
> the python.org binary has no-cpp-precomp and Wno-long-double baked in.

Good enough reason.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco


More information about the SciPy-user mailing list