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 2010/07/05 22:37:49 UTC

[jira] Created: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

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: Mahadev konar
            Priority: Critical
             Fix For: 3.3.2, 3.4.0


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.


[jira] Commented: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885722#action_12885722 ] 

Patrick Hunt commented on ZOOKEEPER-804:
----------------------------------------

I ran the c tests 3 times and it failed with the same error each time. Let me know if I can help you verify the fix.


> 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: Mahadev konar
>            Priority: Critical
>             Fix For: 3.3.2, 3.4.0
>
>
> 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.


[jira] Updated: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

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

Jared Cantwell updated ZOOKEEPER-804:
-------------------------------------

    Attachment: ZOOKEEPER-804-1.patch

Not sure what the protocol is here, but I'm gonna go ahead and attach a revised patch.

> 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-1.patch, 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.


[jira] Commented: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

Posted by "Jared Cantwell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920689#action_12920689 ] 

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

It seems like zookeeper_process unnecessarily calls api_prolog() and api_epilog() to begin with.  But given that api_prolog() is called at the beginning, if this new code path executes while a close is requested, then the threads will successfully exit, but the final part of zookeeper_close that releases the memory on the last reference will not execute (since the last reference will never be reached).  Unless I'm missing something, this will leak the zkhandle.

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


[jira] Commented: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

Posted by "Michi Mutsuzaki (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921923#action_12921923 ] 

Michi Mutsuzaki commented on ZOOKEEPER-804:
-------------------------------------------

+1.

> I can open a new bug and submit a patch that way if its preferred. 

No worry, it's not a big deal since this is a one line change. 

Thanks again, Jared!
--Michi

> 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-1.patch, 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.


[jira] Commented: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918466#action_12918466 ] 

Hudson commented on ZOOKEEPER-804:
----------------------------------

Integrated in ZooKeeper-trunk #958 (See [https://hudson.apache.org/hudson/job/ZooKeeper-trunk/958/])
    ZOOKEEPER-804. c unit tests failing due to "assertion cptr failed" (michi mutsuzaki via mahadev)


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


[jira] Updated: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

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

Michi Mutsuzaki updated ZOOKEEPER-804:
--------------------------------------

    Attachment: ZOOKEEPER-804.patch

This patch modifies zookeeper_process() function. After dequeue_completion() is called, it checks if zookeeper_close has been called. If it has been called, it returns ZINVALIDSTATE.

--Michi

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


[jira] Updated: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

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

Michi Mutsuzaki updated ZOOKEEPER-804:
--------------------------------------

    Status: Patch Available  (was: Open)

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


[jira] Commented: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918216#action_12918216 ] 

Patrick Hunt commented on ZOOKEEPER-804:
----------------------------------------

+1 -- I ran this a number of times (~10) and it passed each time. Ship it.

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


[jira] Updated: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

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

Patrick Hunt updated ZOOKEEPER-804:
-----------------------------------

    Status: Patch Available  (was: Reopened)

> 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-1.patch, 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.


[jira] Commented: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

Posted by "Michi Mutsuzaki (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921583#action_12921583 ] 

Michi Mutsuzaki commented on ZOOKEEPER-804:
-------------------------------------------

The patch looks good, but I can't seem to apply it. Has anybody seen this error?

$ cd branch-3.3
$ patch -p0 <  ZOOKEEPER-804.patch 
patching file src/c/src/zookeeper.c
Hunk #1 FAILED at 1947.
1 out of 1 hunk FAILED -- saving rejects to file src/c/src/zookeeper.c.rej

--Michi

> 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-1.patch, 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.


[jira] Commented: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921573#action_12921573 ] 

Patrick Hunt commented on ZOOKEEPER-804:
----------------------------------------

Thanks Jared, I missed your question on IRC (you had quit before I got back). What you've submitted is fine, in general though you should  just submit a patch against the current svn (so a diff against code which already had the original patch committed to it).

Michi, can you (also ben/mahadev) review this and let me know if it's ok to commit, I'll commit it if you guys sign off. Thanks all!


> 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-1.patch, 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.


[jira] Updated: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

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

Mahadev konar updated ZOOKEEPER-804:
------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I just committed this. thanks michi!

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


[jira] Updated: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

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

Patrick Hunt updated ZOOKEEPER-804:
-----------------------------------

    Attachment: ZOOKEEPER-804-1.patch

Updated patch to apply against latest trunk (hopefully branch too).

> 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-1.patch, ZOOKEEPER-804-1.patch, 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.


[jira] Commented: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

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


[jira] Commented: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

Posted by "Michi Mutsuzaki (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903260#action_12903260 ] 

Michi Mutsuzaki commented on ZOOKEEPER-804:
-------------------------------------------

I haven't been able to reproduce it, but it looks like we shouldn't assert(cptr) if zookeeper_close has been called (zookeeper.c line 1950). Can we do something like:

completion_list_t *cptr = dequeue_completion(&zh->sent_requests);
if (zh->close_requested == 1) {
    // zookeeper_close has been called. No need to assert cptr. Just free it if it's not NULL
    if (cptr) {
        destroy_completion_entry(cptr);
    }
   // some more cleanup?
   return ZINVALIDSTATE;
}

// zookeeper_close hadn't been called when we called dequeue_completion. cptr must not be NULL. 
assert(cptr);

--Michi

> 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: Mahadev konar
>            Priority: Critical
>             Fix For: 3.3.2, 3.4.0
>
>
> 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.


[jira] Updated: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

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

Patrick Hunt updated ZOOKEEPER-804:
-----------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

+1 on the second patch. Tested and it seems fine, committed to trunk/branch33 both.

> 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-1.patch, ZOOKEEPER-804-1.patch, 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.


[jira] Commented: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

Posted by "Jared Cantwell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921690#action_12921690 ] 

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

That probably failed because the first patch is already applied, so this patch doesn't exactly apply to your trunk.  I can open a new bug and submit a patch that way if its preferred.

> 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-1.patch, 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.


[jira] Commented: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

Posted by "Michi Mutsuzaki (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921558#action_12921558 ] 

Michi Mutsuzaki commented on ZOOKEEPER-804:
-------------------------------------------

Jared, thank you for volunteering to fix this. I haven't had a chance to take care of it.

--Michi

> 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-1.patch, 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.


[jira] Assigned: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

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

Michi Mutsuzaki reassigned ZOOKEEPER-804:
-----------------------------------------

    Assignee: Michi Mutsuzaki  (was: Mahadev konar)

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


[jira] Commented: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923116#action_12923116 ] 

Hudson commented on ZOOKEEPER-804:
----------------------------------

Integrated in ZooKeeper-trunk #973 (See [https://hudson.apache.org/hudson/job/ZooKeeper-trunk/973/])
    ZOOKEEPER-804. c unit tests failing due to "assertion cptr failed" (second patch)


> 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-1.patch, ZOOKEEPER-804-1.patch, 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.


[jira] Commented: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885716#action_12885716 ] 

Mahadev konar commented on ZOOKEEPER-804:
-----------------------------------------

this is the same issue as ZOOKEEPER-707. It should be very hard to reproduce. THis is surely a bug. I will upload a patch soon and we can get this in 3.3.2.


> 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: Mahadev konar
>            Priority: Critical
>             Fix For: 3.3.2, 3.4.0
>
>
> 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.


[jira] Reopened: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

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

Patrick Hunt reopened ZOOKEEPER-804:
------------------------------------


Reopening due to issue raised with the patch (see earlier comment).

Is this an issue that should be addressed or ok to resolve?

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


[jira] Commented: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918112#action_12918112 ] 

Mahadev konar commented on ZOOKEEPER-804:
-----------------------------------------

+1 for the patch. Pat can you please try it out and see it fixes the test cases? I will go ahead and commit if it passes for you.

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


[jira] Commented: (ZOOKEEPER-804) c unit tests failing due to "assertion cptr failed"

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885725#action_12885725 ] 

Mahadev konar commented on ZOOKEEPER-804:
-----------------------------------------

great... I cant reproduce it on my machine. I rarely see this error.

> 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: Mahadev konar
>            Priority: Critical
>             Fix For: 3.3.2, 3.4.0
>
>
> 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.