[SciPy-User] Bus error 10 in statically linked scipy.test()
David Cournapeau
cournape at gmail.com
Wed May 8 10:37:35 EDT 2013
On Wed, May 8, 2013 at 3:20 PM, Terry Westley <scipy-user at sabonrai.com> wrote:
> Please let me know if there's a better mailing list for this question. This
> is not really a user nor a dev question, but I'm starting here...
>
> I'm trying to build a statically linked version of python interpreter with
> numpy and scipy.
>
> Numpy.test() runs to completion: FAILED (KNOWNFAIL=5, SKIP=25, errors=1). A
> shared library built with the same components results in "OK (KNOWNFAIL=5,
> SKIP=6)" so there's clearly a problem here.
>
> But I'm ignoring this error for now because scipy error is more serious: Bus
> Error 10. It gets a bus error without displaying any results whatsoever, so
> I've run a trace version of the tests as follows:
>
> import trace, scipy
> tracer = trace.Trace(count=False, trace=True)
> tracer.run('scipy.test("full", 10)')
>
> The trace is 152,000 lines so no way am I going to include that in this
> email. If you're interested and can help me:
> - text file, http://www.sabonrai.com/scipy-user/scipy-test-bus-error.txt,
> 7.34 MB
> - zipped, http://www.sabonrai.com/scipy-user/scipy-test-bus-error.zip, 321
> KB
>
> I can't make heads or tails of this trace output; I don't really know
> anything about scipy self test. It seems to fail shortly after importing vq
> and hierarchy from cluster.
>
> Environment:
> - Mac OS X 10.7.5
> - Python 2.7.3
> - Numpy 1.7.0
> - Scipy 0.12.0
> - Nose 1.3.0
> - clang: Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn),
> Target: x86_64-apple-darwin11.4.2
> - clang++: Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn),
> Target: x86_64-apple-darwin11.4.2
> - gfortran: GNU Fortran (MacPorts gcc46 4.6.3_9) 4.6.3
clang is known to cause issue when building scipy, though it is not
clear whether this is a scipy bug or a clang bug. I suggest you try
building with gcc instead.
cheers,
David
More information about the SciPy-User
mailing list