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 18:12:59 UTC

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

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.


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

Posted by "Lei Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lei Zhang updated ZOOKEEPER-559:
--------------------------------

    Assignee: Lei Zhang  (was: Henry Robinson)

Can we make this a duplicate of 792?

> 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: Lei Zhang
>             Fix For: 3.4.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.


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

Posted by "Henry Robinson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henry Robinson updated ZOOKEEPER-559:
-------------------------------------

    Fix Version/s:     (was: 3.3.0)
                   3.4.0

This is probably indicating a bug, but it shouldn't block 3.3.0.

> 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.4.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.


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

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-559:
-----------------------------------

    Attachment: valgrind-zk.tar.gz

valgrind output for zkpython bindings running zk-smoketest scripts (smoketest and latencytest)


> 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.


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

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
    [ 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.