[Scipy-tickets] [SciPy] #1483: scipy.interpolate.interp1d thows "ILLEGAL INSTRUCTION"

SciPy Trac scipy-tickets@scipy....
Fri Jul 22 17:20:11 CDT 2011


#1483: scipy.interpolate.interp1d thows "ILLEGAL INSTRUCTION"
-------------------------------+--------------------------------------------
 Reporter:  hamogu             |       Owner:  somebody   
     Type:  defect             |      Status:  new        
 Priority:  normal             |   Milestone:  Unscheduled
Component:  scipy.interpolate  |     Version:  0.9.0      
 Keywords:  interp1d kind      |  
-------------------------------+--------------------------------------------
 scipy.interpolate.interp1d crashes python, with kind = 'quatratic',
 'cubic', 3,...
 Basically everything I tried except kind = 'linear' crashed scipy.

 {{{
 >>> import numpy as np
 >>> import scipy.interpolate
 >>> f =  scipy.interpolate.interp1d(np.arange(100), np.arange(100),kind =
 'quadratic')
 Illegal instruction
 ~/>
 }}}

 As per instruction on http://www.scipy.org/BugReport I also add output
 from gdb here:

 {{{
 This GDB was configured as "x86_64-redhat-linux-gnu".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 Reading symbols from /usr/local/bin/python2.6...done.
 (gdb) run -c "import numpy as np; import scipy.interpolate;  f =
 scipy.interpolate.interp1d(np.arange(100), np.arange(100),kind =
 'quadratic')"
 Starting program: /usr/local/bin/python2.6 -c "import numpy as np; import
 scipy.interpolate;  f =  scipy.interpolate.interp1d(np.arange(100),
 np.arange(100),kind = 'quadratic')"
 warning: no loadable sections found in added symbol-file system-supplied
 DSO at 0x2aaaaaaab000
 [Thread debugging using libthread_db enabled]
 Traceback (most recent call last):
   File "/usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.8-gdb.py",
 line 19, in ?
     import os
   File "/usr/local/lib/python2.6/os.py", line 758
     bs = b""
            ^
 SyntaxError: invalid syntax
 [New Thread 0x40a00940 (LWP 32409)]
 [New Thread 0x41401940 (LWP 32410)]
 [New Thread 0x41e02940 (LWP 32411)]
 [Thread 0x41401940 (LWP 32410) exited]
 [New Thread 0x42803940 (LWP 32412)]
 [Thread 0x41e02940 (LWP 32411) exited]
 [Thread 0x40a00940 (LWP 32409) exited]
 [New Thread 0x43204940 (LWP 32413)]
 [New Thread 0x43c05940 (LWP 32414)]
 [Thread 0x43204940 (LWP 32413) exited]
 [Thread 0x43c05940 (LWP 32414) exited]
 [Thread 0x42803940 (LWP 32412) exited]
 [New Thread 0x42803940 (LWP 32415)]
 [New Thread 0x43c05940 (LWP 32416)]

 Program received signal SIGILL, Illegal instruction.
 [Switching to Thread 0x42803940 (LWP 32415)]
 0x00002aaaaf670840 in ATL_dupKBmm24_2_1_b1 () from
 /usr/lib64/atlas/libatlas.so.3

 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1483>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list