[NumPy-Tickets] [NumPy] #1536: empty function problem

NumPy Trac numpy-tickets@scipy....
Tue Jul 6 08:39:09 CDT 2010


#1536: empty function problem
--------------------+-------------------------------------------------------
 Reporter:  sdnxpt  |       Owner:  somebody   
     Type:  defect  |      Status:  new        
 Priority:  normal  |   Milestone:  Unscheduled
Component:  Other   |     Version:  1.4.0rc1   
 Keywords:  empty   |  
--------------------+-------------------------------------------------------
 Hi,

 I use Python 2.6.5 installed on Ubuntu 10.04, and the following part of
 code
 {{{
 v = np.ones(self.n)
 }}}
 generates this error:

 *** glibc detected *** /usr/bin/python2.6: free(): invalid next size
 (fast): 0x000000000355e1b0 ***
 ======= Backtrace: =========
 /lib/libc.so.6(+0x775b6)[0x7fec5335a5b6]
 /lib/libc.so.6(cfree+0x73)[0x7fec53360e53]
 /usr/local/lib/python2.6/dist-
 packages/numpy-1.4.1-py2.6-linux-x86_64.egg/numpy/core/multiarray.so(+0x4183c)[0x7fec5005a83c]
 /usr/bin/python2.6[0x46a50d]
 /usr/local/lib/python2.6/dist-
 packages/numpy-1.4.1-py2.6-linux-x86_64.egg/numpy/core/multiarray.so(+0x4fbd8)[0x7fec50068bd8]
 /usr/local/lib/python2.6/dist-
 packages/numpy-1.4.1-py2.6-linux-x86_64.egg/numpy/core/multiarray.so(+0x5aded)[0x7fec50073ded]
 /usr/bin/python2.6(PyEval_EvalFrameEx+0x516e)[0x4a7c5e]
 /usr/bin/python2.6(PyEval_EvalFrameEx+0x5a60)[0x4a8550]
 /usr/bin/python2.6(PyEval_EvalCodeEx+0x911)[0x4a9671]
 /usr/bin/python2.6[0x537620]
 /usr/bin/python2.6(PyObject_Call+0x47)[0x41f0c7]
 /usr/bin/python2.6[0x427dff]
 /usr/bin/python2.6(PyObject_Call+0x47)[0x41f0c7]
 /usr/bin/python2.6[0x477bff]
 /usr/bin/python2.6[0x46f47f]
 /usr/bin/python2.6(PyObject_Call+0x47)[0x41f0c7]
 /usr/bin/python2.6(PyEval_EvalFrameEx+0x4888)[0x4a7378]
 /usr/bin/python2.6(PyEval_EvalCodeEx+0x911)[0x4a9671]
 /usr/bin/python2.6(PyEval_EvalFrameEx+0x4d19)[0x4a7809]
 /usr/bin/python2.6(PyEval_EvalCodeEx+0x911)[0x4a9671]
 /usr/bin/python2.6(PyEval_EvalFrameEx+0x4d19)[0x4a7809]
 /usr/bin/python2.6(PyEval_EvalCodeEx+0x911)[0x4a9671]
 /usr/bin/python2.6[0x537620]
 /usr/bin/python2.6(PyObject_Call+0x47)[0x41f0c7]
 /usr/bin/python2.6(PyEval_CallObjectWithKeywords+0x43)[0x4a1b03]
 /usr/local/lib/python2.6/dist-
 packages/numpy-1.4.1-py2.6-linux-x86_64.egg/numpy/core/multiarray.so(+0x2ee94)[0x7fec50047e94]
 /usr/bin/python2.6(_PyObject_Str+0x61)[0x454a81]
 /usr/bin/python2.6(PyString_Format+0x85c)[0x4670ac]
 /usr/bin/python2.6[0x41f75f]
 /usr/bin/python2.6(PyNumber_Remainder+0x1e)[0x42251e]
 /usr/bin/python2.6(PyEval_EvalFrameEx+0x2624)[0x4a5114]
 /usr/bin/python2.6(PyEval_EvalFrameEx+0x5a60)[0x4a8550]

 On Windows i don't have this problem.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1536>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list