[SciPy-dev] scipy 0.6.0 tests kill python interpreter

Robert Kern robert.kern@gmail....
Sat Dec 1 16:06:07 CST 2007


Ondrej Certik wrote:
> On Dec 1, 2007 10:44 PM, Robert Kern <robert.kern@gmail.com> wrote:
>> Ondrej Certik wrote:
>>> Hi,
>>>
>>> if I install scipy 0.6.0 on Debian and run tests, it kills the
>>> interpreter with Illegal instruction.
>>>
>>> More details here:
>>>
>>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452991
>>>
>>> Is anyone able to reproduce it on their system, or is it just related
>>> to Debian? Could you please send me
>>> the correct run of tests, so that I can discover where exactly it differs?
>> Try scipy.test(verbosity=1). This will print the name of the test before it runs
>> the test. Also, try running Python under gdb so we can get a backtrace.
> 
> It doesn't seem to help much:
> 
>>>> import scipy
> s>>> scipy.test(verbosity=1)

My apologies.

  scipy.test(verbosity=2)

> But when running through gdb, it says:
> 
>   warnings.warn('Mode "reflect" may yield incorrect results on '
> .............................................................................................
> Program received signal SIGILL, Illegal instruction.
> [Switching to Thread 0xb7e278c0 (LWP 28932)]
> 0xb6b83d43 in ?? ()
>    from /usr/lib/python2.4/site-packages/scipy/ndimage/_nd_image.so
> (gdb) bt
> #0  0xb6b83d43 in ?? ()
>    from /usr/lib/python2.4/site-packages/scipy/ndimage/_nd_image.so
> #1  0xbf99bdd8 in ?? ()
> #2  0xb6b87211 in NI_GenericFilter ()
>    from /usr/lib/python2.4/site-packages/scipy/ndimage/_nd_image.so
> Backtrace stopped: frame did not save the PC
> (gdb)
> 
> 
> I don't have time to dig into this and fix it myself, but if you tell
> me what else to try, I will.

Building scipy with debug symbols might help make the gdb backtrace more
helpful, but let's wait for the results of verbosity=2.

  python setup.py build_ext -g build

-- 
Robert Kern

"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-dev mailing list