[SciPy-Dev] segfault in test_qhull.TestRidgeIter2D.test_complicated

Zbyszek Szmek zbyszek@in.waw...
Mon Nov 15 05:49:04 CST 2010


On Mon, Nov 15, 2010 at 11:10:40AM +0100, Jens Nielsen wrote:
> I get a segmentation fault at the same point on ubuntu 10.10 both 64
> bit and 32 bit versions
> but only when linking against atlas. Linking against blas and lapack
> only is fine.
> 
> However using python 2.6 everything is fine even when using atlas.
I'm running on 64 bit, and I have atlas installed. Will try without atlas later.

> On Mon, Nov 15, 2010 at 2:07 AM, Pauli Virtanen <pav@iki.fi> wrote:
> > On Mon, 15 Nov 2010 00:54:46 +0000, Pauli Virtanen wrote:
> >> On Mon, 15 Nov 2010 01:15:07 +0100, Zbyszek Szmek wrote: [clip]
> >>> >>> import numpy as np; from scipy.spatial import qhull
> >>> >>> qhull.Delaunay(np.array([(0, 0), (0, 1), (1,0), (1,1) ]))
> >>
> >> Works for me on Python 2.6 and 3.1, with Numpy 1.5.x branch.
> >>
> >> 1) What compiler you used?
gcc (Debian 4.4.5-6) 4.4.5

> >> 2) Does it occur on Python 2 for you?
No.

> >> 3) Do you get it with Numpy 1.5.x?
Yes.

Detailed log:

Running unit tests for scipy.spatial
NumPy version 2.0.0.dev-9c8e7d7
NumPy is installed in /usr/local/lib/python3.2/site-packages/numpy
SciPy version 0.9.0.dev
SciPy is installed in /usr/local/lib/python3.2/site-packages/scipy
Python version 3.2a4 (py3k, Nov 13 2010, 14:15:45) [GCC 4.4.5]
nose version 0.11.0
.....................................................................................................................................................................................................................................................................[3]    6511 segmentation fault (core dumped)


Running unit tests for scipy.spatial
NumPy version 2.0.0.dev-9c8e7d7
NumPy is installed in /usr/local/lib/python3.1/dist-packages/numpy
SciPy version 0.9.0.dev
SciPy is installed in /usr/local/lib/python3.1/dist-packages/scipy
Python version 3.1.2 (release31-maint, Sep 26 2010, 16:45:30) [GCC 4.4.5]
nose version 0.11.0
.....................................................................................................................................................................................................................................................................[3]    14045 segmentation fault (core dumped)


Running unit tests for scipy.spatial
NumPy version 1.5.1rc2
NumPy is installed in /usr/local/lib/python3.1/dist-packages/numpy
SciPy version 0.9.0.dev
SciPy is installed in /usr/local/lib/python3.1/dist-packages/scipy
Python version 3.1.2 (release31-maint, Sep 26 2010, 16:45:30) [GCC 4.4.5]
nose version 0.11.0
...
test_kdtree.test_onetree_query(<scipy.spatial.kdtree.KDTree object at 0x2fd8550>, 0.1) ... ok
test_kdtree.test_onetree_query(<scipy.spatial.kdtree.KDTree object at 0x2fd8fd0>, 0.1) ... ok
test_kdtree.test_onetree_query(<scipy.spatial.kdtree.KDTree object at 0x2fd8fd0>, 0.001) ... ok
test_kdtree.test_onetree_query(<scipy.spatial.kdtree.KDTree object at 0x2fd8fd0>, 1e-05) ... ok
test_kdtree.test_onetree_query(<scipy.spatial.kdtree.KDTree object at 0x2fd8fd0>, 1e-06) ... ok
test_qhull.TestRidgeIter2D.test_complicated ... [1]    5492 segmentation fault


Running unit tests for scipy.spatial
NumPy version 1.5.1rc2
NumPy is installed in /usr/local/lib/python2.6/dist-packages/numpy
SciPy version 0.9.0.dev
SciPy is installed in /usr/local/lib/python2.6/dist-packages/scipy
Python version 2.6.6 (r266:84292, Oct  9 2010, 12:24:52) [GCC 4.4.5]
nose version 0.11.1
Ran 271 tests in 13.085s
OK
<nose.result.TextTestResult run=271 errors=0 failures=0>


On a different machine:
Running unit tests for scipy.spatial
NumPy version 2.0.0.dev-d1a184c
NumPy is installed in /home/zbyszek/usr/lib/python3.1/site-packages/numpy
SciPy version 0.9.0.dev
SciPy is installed in /home/zbyszek/usr/lib/python3.1/site-packages/scipy
Python version 3.1.2 (release31-maint, Sep 26 2010, 16:45:30) [GCC 4.4.5]
nose version 0.11.0
...
test_kdtree.test_onetree_query(<scipy.spatial.kdtree.KDTree object at 0x2480790>, 0.1) ... ok
test_kdtree.test_onetree_query(<scipy.spatial.kdtree.KDTree object at 0x2480710>, 0.1) ... ok
test_kdtree.test_onetree_query(<scipy.spatial.kdtree.KDTree object at 0x2480710>, 0.001) ... ok
test_kdtree.test_onetree_query(<scipy.spatial.kdtree.KDTree object at 0x2480710>, 1e-05) ... ok
test_kdtree.test_onetree_query(<scipy.spatial.kdtree.KDTree object at 0x2480710>, 1e-06) ... ok
test_qhull.TestRidgeIter2D.test_complicated ... Segmentation fault

I compiled from scratch on a different machine, so I don't think that this is some stupid
compilation error on my part.

-
Zbyszek


More information about the SciPy-Dev mailing list