[Numpy-discussion] "Segmentation fault (core dumped)" as result of matrix multiplication

Pauli Virtanen pav at iki.fi
Tue May 6 08:28:32 EDT 2008


ti, 2008-05-06 kello 14:15 +0200, Marius Nijhuis kirjoitti:
> Hello, 
> 
> I encountered the error "Segmentation fault (core dumped)" during a
> rather standard multiplication, without excessive memory us.  This
> looks likes a bug to me?
> I am using Python 2.5, Numpy 1.0.4 under Ubuntu 7.10. 
> 
> Here is what I am doing: i have two arrays, points1 and points2.
> 
> points1.shape=(n,k)
> points2.shape=(m,k)
> 
> The problem only happens if n or m (or both) are 1. The arrays are
> then still 2-dimensional. k is usually in the order of 60.

If you got the arrays by unpickling them and you are using a SSE2
enabled Atlas, this sounds like bug #551
(http://scipy.org/scipy/numpy/ticket/551#comment:22) to me. Is this the
case? Can you reproduce a segmentation fault with the simple C-only test
case?

-- 
Pauli Virtanen





More information about the NumPy-Discussion mailing list