[Scipy-tickets] [SciPy] #814: scipy.odr: Valgrind errors

SciPy scipy-tickets@scipy....
Tue Dec 16 03:26:34 CST 2008


#814: scipy.odr: Valgrind errors
-----------------------+----------------------------------------------------
 Reporter:  pv         |       Owner:  cdavid
     Type:  defect     |      Status:  new   
 Priority:  normal     |   Milestone:  0.8   
Component:  scipy.odr  |     Version:  devel 
 Severity:  normal     |    Keywords:        
-----------------------+----------------------------------------------------
 Valgrind reports errors in scipy.odr. (64-bit machine, debian etch)
 {{{
 Running unit tests for scipy-0.7.0.dev5264-py2.5-linux-x86_64.egg.scipy
 NumPy version 1.2.1
 NumPy is installed in /usr/local/lib/python2.5/site-
 packages/numpy-1.2.1-py2.5-linux-x86_64.egg/numpy
 SciPy version 0.7.0.dev5264
 SciPy is installed in /home/pauli/tmp/dist/lib/python2.5/site-
 packages/scipy-0.7.0.dev5264-py2.5-linux-x86_64.egg/scipy
 Python version 2.5 (release25-maint, Jul 23 2008, 18:15:29) [GCC 4.1.2
 20061115 (prerelease) (Debian 4.1.1-21)]
 nose version 0.10.4
 ...
 test_explicit (test_odr.TestODR) ... ==5540==
 ==5540== Source and destination overlap in memcpy(0x15046FC8, 0x15046FC8,
 24)
 ==5540==    at 0x4A1D053: memcpy (mc_replace_strmem.c:116)
 ==5540==    by 0x12C28216: fcn_callback (__odrpack.c:86)
 ==5540==    by 0x12C4690D: doddrv_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4771C: dodcnt_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C559D2: dodrc_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C277CA: odr (__odrpack.c:1218)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ==5540==    by 0x47F621: PyEval_EvalFrameEx (ceval.c:3566)
 ==5540==    by 0x48064F: PyEval_EvalFrameEx (ceval.c:3652)
 ==5540==    by 0x48064F: PyEval_EvalFrameEx (ceval.c:3652)
 ==5540==
 ==5540== Source and destination overlap in memcpy(0x15046FC8, 0x15046FC8,
 24)
 ==5540==    at 0x4A1D053: memcpy (mc_replace_strmem.c:116)
 ==5540==    by 0x12C28216: fcn_callback (__odrpack.c:86)
 ==5540==    by 0x12C4A07B: djck_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4725B: doddrv_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4771C: dodcnt_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C559D2: dodrc_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C277CA: odr (__odrpack.c:1218)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ==5540==    by 0x47F621: PyEval_EvalFrameEx (ceval.c:3566)
 ==5540==    by 0x48064F: PyEval_EvalFrameEx (ceval.c:3652)
 ==5540==
 ==5540== Source and destination overlap in memcpy(0x15046FC8, 0x15046FC8,
 24)
 ==5540==    at 0x4A1D053: memcpy (mc_replace_strmem.c:116)
 ==5540==    by 0x12C28216: fcn_callback (__odrpack.c:86)
 ==5540==    by 0x12C2A0E1: dpvb_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C485D7: djckm_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4A3B5: djck_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4725B: doddrv_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4771C: dodcnt_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C559D2: dodrc_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C277CA: odr (__odrpack.c:1218)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ==5540==
 ==5540== Source and destination overlap in memcpy(0x15046FC8, 0x15046FC8,
 24)
 ==5540==    at 0x4A1D053: memcpy (mc_replace_strmem.c:116)
 ==5540==    by 0x12C28216: fcn_callback (__odrpack.c:86)
 ==5540==    by 0x12C2A241: dpvd_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C487CF: djckm_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4A6FD: djck_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4725B: doddrv_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4771C: dodcnt_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C559D2: dodrc_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C277CA: odr (__odrpack.c:1218)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ==5540==
 ==5540== Source and destination overlap in memcpy(0x15046FC8, 0x15046FC8,
 24)
 ==5540==    at 0x4A1D053: memcpy (mc_replace_strmem.c:116)
 ==5540==    by 0x12C28216: fcn_callback (__odrpack.c:86)
 ==5540==    by 0x12C41A80: dodmn_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4587B: doddrv_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4771C: dodcnt_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C559D2: dodrc_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C277CA: odr (__odrpack.c:1218)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ==5540==    by 0x47F621: PyEval_EvalFrameEx (ceval.c:3566)
 ==5540==    by 0x48064F: PyEval_EvalFrameEx (ceval.c:3652)
 ==5540==
 ==5540== Source and destination overlap in memcpy(0x15046FC8, 0x15046FC8,
 24)
 ==5540==    at 0x4A1D053: memcpy (mc_replace_strmem.c:116)
 ==5540==    by 0x12C28216: fcn_callback (__odrpack.c:86)
 ==5540==    by 0x12C52B66: devjac_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C40B67: dodmn_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4587B: doddrv_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4771C: dodcnt_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C559D2: dodrc_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C277CA: odr (__odrpack.c:1218)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ==5540==    by 0x47F621: PyEval_EvalFrameEx (ceval.c:3566)
 ==5540==
 ==5540== Source and destination overlap in memcpy(0x15046FC8, 0x15046FC8,
 24)
 ==5540==    at 0x4A1D053: memcpy (mc_replace_strmem.c:116)
 ==5540==    by 0x12C28216: fcn_callback (__odrpack.c:86)
 ==5540==    by 0x12C52B66: devjac_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4379E: dodmn_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4587B: doddrv_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4771C: dodcnt_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C559D2: dodrc_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C277CA: odr (__odrpack.c:1218)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ==5540==    by 0x47F621: PyEval_EvalFrameEx (ceval.c:3566)
 ==5540==
 ==5540== Conditional jump or move depends on uninitialised value(s)
 ==5540==    at 0x42E01E: PyInt_FromLong (intobject.c:87)
 ==5540==    by 0x49F03B: do_mkvalue (modsupport.c:333)
 ==5540==    by 0x49F452: do_mkvalue (modsupport.c:179)
 ==5540==    by 0x49FA91: va_build_value (modsupport.c:536)
 ==5540==    by 0x49FBEC: Py_BuildValue (modsupport.c:484)
 ==5540==    by 0x12C24FF4: gen_output (__odrpack.c:437)
 ==5540==    by 0x12C27842: odr (__odrpack.c:1230)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ==5540==    by 0x47F621: PyEval_EvalFrameEx (ceval.c:3566)
 ==5540==    by 0x48064F: PyEval_EvalFrameEx (ceval.c:3652)
 ==5540==
 ==5540== Use of uninitialised value of size 8
 ==5540==    at 0x42E020: PyInt_FromLong (intobject.c:88)
 ==5540==    by 0x49F03B: do_mkvalue (modsupport.c:333)
 ==5540==    by 0x49F452: do_mkvalue (modsupport.c:179)
 ==5540==    by 0x49FA91: va_build_value (modsupport.c:536)
 ==5540==    by 0x49FBEC: Py_BuildValue (modsupport.c:484)
 ==5540==    by 0x12C24FF4: gen_output (__odrpack.c:437)
 ==5540==    by 0x12C27842: odr (__odrpack.c:1230)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ==5540==    by 0x47F621: PyEval_EvalFrameEx (ceval.c:3566)
 ==5540==    by 0x48064F: PyEval_EvalFrameEx (ceval.c:3652)
 ok
 test_implicit (test_odr.TestODR) ... ==5540==
 ==5540== Source and destination overlap in memcpy(0xA82E598, 0xA82E598,
 40)
 ==5540==    at 0x4A1D053: memcpy (mc_replace_strmem.c:116)
 ==5540==    by 0x12C28216: fcn_callback (__odrpack.c:86)
 ==5540==    by 0x12C4690D: doddrv_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C47E14: dodcnt_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C559D2: dodrc_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C277CA: odr (__odrpack.c:1218)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ==5540==    by 0x47F621: PyEval_EvalFrameEx (ceval.c:3566)
 ==5540==    by 0x48064F: PyEval_EvalFrameEx (ceval.c:3652)
 ==5540==    by 0x48064F: PyEval_EvalFrameEx (ceval.c:3652)
 ==5540==
 ==5540== Source and destination overlap in memcpy(0xA82E598, 0xA82E598,
 40)
 ==5540==    at 0x4A1D053: memcpy (mc_replace_strmem.c:116)
 ==5540==    by 0x12C28216: fcn_callback (__odrpack.c:86)
 ==5540==    by 0x12C4B470: djacfd_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C52A1D: devjac_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C40B67: dodmn_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4587B: doddrv_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C47E14: dodcnt_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C559D2: dodrc_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C277CA: odr (__odrpack.c:1218)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ==5540==
 ==5540== Source and destination overlap in memcpy(0xA82E598, 0xA82E598,
 40)
 ==5540==    at 0x4A1D053: memcpy (mc_replace_strmem.c:116)
 ==5540==    by 0x12C28216: fcn_callback (__odrpack.c:86)
 ==5540==    by 0x12C4BAEB: djacfd_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C52A1D: devjac_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C40B67: dodmn_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4587B: doddrv_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C47E14: dodcnt_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C559D2: dodrc_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C277CA: odr (__odrpack.c:1218)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ok
 test_lorentz (test_odr.TestODR) ... ok
 test_multi (test_odr.TestODR) ... ==5540==
 ==5540== Source and destination overlap in memcpy(0xDD5CD28, 0xDD5CD28,
 40)
 ==5540==    at 0x4A1D053: memcpy (mc_replace_strmem.c:116)
 ==5540==    by 0x12C28216: fcn_callback (__odrpack.c:86)
 ==5540==    by 0x12C4D01C: djaccd_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C521DE: devjac_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C40B67: dodmn_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4587B: doddrv_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4771C: dodcnt_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C559D2: dodrc_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C277CA: odr (__odrpack.c:1218)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ==5540==
 ==5540== Source and destination overlap in memcpy(0xDD5CD28, 0xDD5CD28,
 40)
 ==5540==    at 0x4A1D053: memcpy (mc_replace_strmem.c:116)
 ==5540==    by 0x12C28216: fcn_callback (__odrpack.c:86)
 ==5540==    by 0x12C4D323: djaccd_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C521DE: devjac_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C40B67: dodmn_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4587B: doddrv_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4771C: dodcnt_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C559D2: dodrc_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C277CA: odr (__odrpack.c:1218)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ==5540==
 ==5540== Source and destination overlap in memcpy(0xDD5CD28, 0xDD5CD28,
 40)
 ==5540==    at 0x4A1D053: memcpy (mc_replace_strmem.c:116)
 ==5540==    by 0x12C28216: fcn_callback (__odrpack.c:86)
 ==5540==    by 0x12C4DBFF: djaccd_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C521DE: devjac_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C40B67: dodmn_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4587B: doddrv_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4771C: dodcnt_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C559D2: dodrc_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C277CA: odr (__odrpack.c:1218)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ==5540==
 ==5540== Source and destination overlap in memcpy(0xDD5CD28, 0xDD5CD28,
 40)
 ==5540==    at 0x4A1D053: memcpy (mc_replace_strmem.c:116)
 ==5540==    by 0x12C28216: fcn_callback (__odrpack.c:86)
 ==5540==    by 0x12C4E064: djaccd_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C521DE: devjac_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C40B67: dodmn_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4587B: doddrv_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C4771C: dodcnt_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C559D2: dodrc_ (in .../scipy/odr/__odrpack.so)
 ==5540==    by 0x12C277CA: odr (__odrpack.c:1218)
 ==5540==    by 0x4152C2: PyObject_Call (abstract.c:1858)
 ==5540==    by 0x478E50: PyEval_CallObjectWithKeywords (ceval.c:3435)
 ==5540==    by 0x478753: builtin_apply (bltinmodule.c:169)
 ok
 }}}

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


More information about the Scipy-tickets mailing list