[Numpy-tickets] [NumPy] #327: Memory error in ufuncobject

NumPy numpy-tickets at scipy.net
Fri Oct 6 20:28:51 CDT 2006


#327: Memory error in ufuncobject
------------------------+---------------------------------------------------
 Reporter:  stefan      |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  1.0 Release
Component:  numpy.core  |     Version:             
 Severity:  normal      |    Keywords:             
------------------------+---------------------------------------------------
 Upon running

 {{{
 from numpy import arange, add
 data = arange(5)
 data = add.outer(data,data)
 }}}

 Valgrind reports the following error:

 {{{
 ==4854== Conditional jump or move depends on uninitialised value(s)
 ==4854==    at 0x45541B1: construct_loop (ufuncobject.c:1181)
 ==4854==    by 0x4554AEC: PyUFunc_GenericFunction (ufuncobject.c:1475)
 ==4854==    by 0x4555BD3: ufunc_generic_call (ufuncobject.c:2786)
 ==4854==    by 0x4556727: ufunc_outer (ufuncobject.c:3379)
 ==4854==    by 0x80B8BD0: PyEval_EvalFrame (in /usr/bin/python2.4)
 ==4854==    by 0x80B9FC8: PyEval_EvalCodeEx (in /usr/bin/python2.4)
 ==4854==    by 0x80BA036: PyEval_EvalCode (in /usr/bin/python2.4)
 ==4854==    by 0x80DD569: PyRun_FileExFlags (in /usr/bin/python2.4)
 ==4854==    by 0x80DD756: PyRun_SimpleFileExFlags (in /usr/bin/python2.4)
 ==4854==    by 0x8055C81: Py_Main (in /usr/bin/python2.4)
 }}}

 which looks like it is caused by the new axis optimisation code.

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/327>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list