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

Jared Cantwell commented on ZOOKEEPER-804:
------------------------------------------

Should the return statement of this patch be:

return api_epilog(zh,ZINVALIDSTATE);

Otherwise, it seems possible that the reference counting could get off in this 
case.

> c unit tests failing due to "assertion cptr failed"
> ---------------------------------------------------
>
>                 Key: ZOOKEEPER-804
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-804
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.0
>         Environment: gcc 4.4.3, ubuntu lucid lynx, dual core laptop (intel)
>            Reporter: Patrick Hunt
>            Assignee: Michi Mutsuzaki
>            Priority: Critical
>             Fix For: 3.3.2, 3.4.0
>
>         Attachments: ZOOKEEPER-804.patch
>
>
> I'm seeing this frequently:
>      [exec] Zookeeper_simpleSystem::testPing : elapsed 18006 : OK
>      [exec] Zookeeper_simpleSystem::testAcl : elapsed 1022 : OK
>      [exec] Zookeeper_simpleSystem::testChroot : elapsed 3145 : OK
>      [exec] Zookeeper_simpleSystem::testAuth ZooKeeper server started : 
> elapsed 25687 : OK
>      [exec] zktest-mt: 
> /home/phunt/dev/workspace/gitzk/src/c/src/zookeeper.c:1952: 
> zookeeper_process: Assertion `cptr' failed.
>      [exec] make: *** [run-check] Aborted
>      [exec] Zookeeper_simpleSystem::testHangingClient
> Mahadev 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.

Reply via email to