[Scipy-tickets] [SciPy] #295: ndimage: segfault on incorrect parameters to correlate

SciPy scipy-tickets at scipy.net
Tue Jan 2 03:11:26 CST 2007


#295: ndimage: segfault on incorrect parameters to correlate
--------------------+-------------------------------------------------------
 Reporter:  stefan  |        Owner:  stefan
     Type:  defect  |       Status:  new   
 Priority:  normal  |    Milestone:        
Component:  Other   |      Version:        
 Severity:  normal  |   Resolution:        
 Keywords:          |  
--------------------+-------------------------------------------------------
Comment (by stefan):

 Scipy r2467
 Numpy r3491
 Platform Linux, 32-bit

 {{{
 ==24134== Invalid read of size 4
 ==24134==    at 0x6E1B980: NI_Correlate (ni_filters.c:237)
 ==24134==    by 0x6E180CD: Py_Correlate (nd_image.c:161)
 ==24134==    by 0x80B9019: PyEval_EvalFrame (in /usr/bin/python2.4)
 ==24134==    by 0x80B8D93: PyEval_EvalFrame (in /usr/bin/python2.4)
 ==24134==    by 0x80BA4B8: PyEval_EvalCodeEx (in /usr/bin/python2.4)
 ==24134==    by 0x80B86E9: PyEval_EvalFrame (in /usr/bin/python2.4)
 ==24134==    by 0x80BA4B8: PyEval_EvalCodeEx (in /usr/bin/python2.4)
 ==24134==    by 0x80BA526: PyEval_EvalCode (in /usr/bin/python2.4)
 ==24134==    by 0x80DDB19: PyRun_FileExFlags (in /usr/bin/python2.4)
 ==24134==    by 0x80DDD06: PyRun_SimpleFileExFlags (in /usr/bin/python2.4)
 ==24134==  Address 0x424CEC8 is 0 bytes after a block of size 24 alloc'd
 ==24134==    at 0x4021396: malloc (vg_replace_malloc.c:149)
 ==24134==    by 0x6E29C8A: NI_InitFilterOffsets (ni_support.c:478)
 ==24134==    by 0x6E1B564: NI_Correlate (ni_filters.c:197)
 ==24134==    by 0x6E180CD: Py_Correlate (nd_image.c:161)
 ==24134==    by 0x80B9019: PyEval_EvalFrame (in /usr/bin/python2.4)
 ==24134==    by 0x80B8D93: PyEval_EvalFrame (in /usr/bin/python2.4)
 ==24134==    by 0x80BA4B8: PyEval_EvalCodeEx (in /usr/bin/python2.4)
 ==24134==    by 0x80B86E9: PyEval_EvalFrame (in /usr/bin/python2.4)
 ==24134==    by 0x80BA4B8: PyEval_EvalCodeEx (in /usr/bin/python2.4)
 ==24134==    by 0x80BA526: PyEval_EvalCode (in /usr/bin/python2.4)
 }}}

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


More information about the Scipy-tickets mailing list