You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2009/10/26 20:30:59 UTC

[jira] Commented: (ZOOKEEPER-559) valgrind warnings running zkpython bindings

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770154#action_12770154 ] 

Patrick Hunt commented on ZOOKEEPER-559:
----------------------------------------

here's something additional from the zkpython unit tests (many of these):

==6532== Conditional jump or move depends on uninitialised value(s)
==6532==    at 0x807D692: PyInt_FromLong (intobject.c:89)
==6532==    by 0x80F8C30: do_mkvalue (modsupport.c:333)
==6532==    by 0x80F8DC1: do_mkvalue (modsupport.c:179)
==6532==    by 0x80F9534: va_build_value (modsupport.c:536)
==6532==    by 0x80F95B2: Py_BuildValue (modsupport.c:484)
==6532==    by 0x40360BE: build_stat (zookeeper.c:209)
==6532==    by 0x403980F: pyzoo_get (zookeeper.c:870)
==6532==    by 0x8061119: PyObject_Call (abstract.c:2492)
==6532==    by 0x80DB1CC: PyEval_EvalFrameEx (ceval.c:4005)
==6532==    by 0x80E00B7: PyEval_EvalCodeEx (ceval.c:2968)
==6532==    by 0x80DE5F7: PyEval_EvalFrameEx (ceval.c:3802)
==6532==    by 0x80E00B7: PyEval_EvalCodeEx (ceval.c:2968)
==6532== 
==6532== Use of uninitialised value of size 4
==6532==    at 0x807D6C8: PyInt_FromLong (intobject.c:91)
==6532==    by 0x80F8C30: do_mkvalue (modsupport.c:333)
==6532==    by 0x80F8DC1: do_mkvalue (modsupport.c:179)
==6532==    by 0x80F9534: va_build_value (modsupport.c:536)
==6532==    by 0x80F95B2: Py_BuildValue (modsupport.c:484)
==6532==    by 0x40360BE: build_stat (zookeeper.c:209)
==6532==    by 0x403980F: pyzoo_get (zookeeper.c:870)
==6532==    by 0x8061119: PyObject_Call (abstract.c:2492)
==6532==    by 0x80DB1CC: PyEval_EvalFrameEx (ceval.c:4005)
==6532==    by 0x80E00B7: PyEval_EvalCodeEx (ceval.c:2968)
==6532==    by 0x80DE5F7: PyEval_EvalFrameEx (ceval.c:3802)
==6532==    by 0x80E00B7: PyEval_EvalCodeEx (ceval.c:2968)


> valgrind warnings running zkpython bindings
> -------------------------------------------
>
>                 Key: ZOOKEEPER-559
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-559
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: contrib-bindings
>    Affects Versions: 3.3.0
>            Reporter: Patrick Hunt
>            Assignee: Henry Robinson
>             Fix For: 3.3.0
>
>         Attachments: valgrind-zk.tar.gz
>
>
> I'm seeing some weird behavior running zk-latencies.py
> http://github.com/phunt/zk-smoketest
> don't know if it's related to zkbindings itself, but I ran valgrind to see if it noticed any issues. see attached.
> afaict these issues are related to zkpython binding, however I'm not sure. I did run valgrind against the
> zookeeper c library tests and these issues were not highlighted. So I'm thinking this is zkpython errors, however
> I'm not 100% sure. 
> Henry can you take a look?
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.