[Scipy-tickets] [SciPy] #331: crash when using scipy.signal.lfilter on multidimensional array

SciPy scipy-tickets@scipy....
Fri Jan 11 13:40:09 CST 2008


#331: crash when using scipy.signal.lfilter on multidimensional array
--------------------------+-------------------------------------------------
 Reporter:  landtuna      |        Owner:  cdavid  
     Type:  defect        |       Status:  assigned
 Priority:  normal        |    Milestone:  0.7     
Component:  scipy.signal  |      Version:          
 Severity:  normal        |   Resolution:          
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by nils):

 {{{
 >>> import scipy
 >>> import numpy
 >>> numpy.__version__
 '1.0.5.dev4694'
 >>> scipy.__version__
 '0.7.0.dev3812'
 >>> a = numpy.ones((2,2,2,2))
 >>> from scipy import signal
 >>> scipy.signal.lfilter([1,1], [1], a)
 *** glibc detected *** free(): invalid next size (normal): 0x082904b0 ***

 Program received signal SIGABRT, Aborted.
 [Switching to Thread 1077176000 (LWP 15829)]
 0xffffe410 in ?? ()
 (gdb) bt
 #0  0xffffe410 in ?? ()
 #1  0xbfffe194 in ?? ()
 #2  0x00000006 in ?? ()
 #3  0x00003dd5 in ?? ()
 #4  0x402542c1 in raise () from /lib/tls/libc.so.6
 #5  0x40255b75 in abort () from /lib/tls/libc.so.6
 #6  0x402887aa in __libc_message () from /lib/tls/libc.so.6
 #7  0x4028e007 in malloc_printerr () from /lib/tls/libc.so.6
 #8  0x4028f6cb in free () from /lib/tls/libc.so.6
 #9  0x412dc2ae in sigtools_linear_filter (dummy=0x0, args=0x0) at
 sigtoolsmodule.c:629
 #10 0x4007b583 in PyCFunction_Call () from /usr/lib/libpython2.4.so.1.0
 #11 0x400b2a91 in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
 #12 0x400b4bc1 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
 #13 0x400b2b65 in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
 #14 0x400b4bc1 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
 #15 0x400b4e95 in PyEval_EvalCode () from /usr/lib/libpython2.4.so.1.0
 #16 0x400cf618 in run_node () from /usr/lib/libpython2.4.so.1.0
 #17 0x400d10c8 in PyRun_InteractiveOneFlags () from
 /usr/lib/libpython2.4.so.1.0
 #18 0x400d1236 in PyRun_InteractiveLoopFlags () from
 /usr/lib/libpython2.4.so.1.0
 #19 0x400d1347 in PyRun_AnyFileExFlags () from
 /usr/lib/libpython2.4.so.1.0
 #20 0x400d750a in Py_Main () from /usr/lib/libpython2.4.so.1.0
 #21 0x0804871a in main (argc=0, argv=0x0) at ccpython.cc:10
 }}}

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


More information about the Scipy-tickets mailing list