[SciPy-user] Bus error on Intel mac pro w/Leopard, gcc 4.2, numpy from svn head
Tue Jun 17 13:05:23 CDT 2008
On Tue, Jun 17, 2008 at 06:24, Anand Patil
> I found the bit of PyMC that was making views of views & changed it,
> and the problem seems to be gone (now that I have announced that I'm
> sure it'll come back this afternoon)... so this isn't a personal
> emergency anymore. So thanks for the tip about views.
Okay, good. Can you post your patch? That might give us some clues.
> I tried reproducing the bug as follows:
> In : from numpy import *
> In : A = zeros(10)
> In : for i in xrange(100000000):
> ...: B = A.view(ndarray)
> but no errors happened.
In : from numpy import *
In : A = zeros(1, dtype=uint8)
In : B = A[:]
In : for i in xrange(1000000):
...: B = B[:]
In : del B
zsh: segmentation fault ipython
"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