[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-tabpanelfocusedCommentId=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.
[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-tabpanelfocusedCommentId=12864873#action_12864873 ] Kapil Thangavelu commented on ZOOKEEPER-768: i've uploaded the core file here http://kapilt.com/files/zkpython-segfault-on-close-core.bz2 a little more poking around in gdb, shows the packet to be a ping one. (gdb) print hdr $8 = {xid = -2, zxid = 181, err = 0} 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.