You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Henry Robinson (JIRA)" <ji...@apache.org> on 2010/05/06 19:31:04 UTC

[jira] Commented: (ZOOKEEPER-768) zkpython segfault on close (assertion error in io thread)

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

Henry Robinson commented on ZOOKEEPER-768:
------------------------------------------

Thanks Kapil - I'll take a look. From the stack trace it looks as though a pending completion callback is null and therefore something weird is going on with a completion dispatcher being freed before it is finished being used. As per usual I can't reproduce on my machine, but this is enough information to dig into it. 

> zkpython segfault on close (assertion error in io thread)
> ---------------------------------------------------------
>
>                 Key: ZOOKEEPER-768
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-768
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: contrib-bindings
>    Affects Versions: 3.4.0
>         Environment: ubuntu lucid (10.04), zookeeper trunk (java/c/zkpython)
>            Reporter: Kapil Thangavelu
>         Attachments: zkpython-segfault-client-log.txt, zkpython-segfault-stack-traces.txt, zkpython-segfault.py
>
>
> While trying to create a test case showing slow average add_auth, i stumbled upon a test case that reliably segfaults for me, albeit with variable amount of iterations (anwhere from 0 to 20 typically). fwiw, I've got about 220 processes in my test environment (ubuntu lucid 10.04). The test case opens a connection, adds authentication to it, and closes the connection, in a loop. I'm including the sample program and the gdb stack traces from the core file. I can upload the core file if thats helpful.

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