[SciPy-dev] Illegal instruction in ndimage test

Stefan van der Walt stefan at sun.ac.za
Wed Sep 26 18:11:07 EDT 2007


On Wed, Sep 26, 2007 at 04:06:49PM -0400, Tom Loredo wrote:
> 
> Hi folks-
> 
> My thanks to John Ollinger for the global context change to address
> SELinux issues.  But it turns out that wasn't the cause of the
> "Illegal instruction" crash I was getting, as far as I can tell.
> The SELinux warning appears before scipy.test(1,1) crashes, and
> the crash continues to happen at the same place even after the
> context change (and even if I turn off text relocation protection
> in SELinux).
> 
> Running scipy.test(1,10) helps pin down what's crashing:
> 
> [snip]
> gaussian filter 6 ... ok
> gaussian gradient magnitude filter 1 ... ok
> gaussian gradient magnitude filter 2 ... ok
> gaussian laplace filter 1 ... ok
> gaussian laplace filter 2 ... ok
> generation of a binary structure 1 ... ok
> generation of a binary structure 2 ... ok
> generation of a binary structure 3 ... ok
> generation of a binary structure 4 ... ok
> generic filter 1Illegal instruction
> 
> Hunting around, I found the offending test in ndimage/tests.  If
> I rename this directory (so the tests are skipped), the tests
> proceed without crashing.

This looks like

http://projects.scipy.org/scipy/scipy/ticket/404

I'd be grateful if you can help me narrow it down.

Cheers
Stéfan



More information about the SciPy-Dev mailing list