Steven Cheng updated ZOOKEEPER-458:

    Attachment: ZOOKEEPER-458.patch

Tried to make some test cases that would trigger just one handle_error(), 
seemed like the easiest way would be to have zk connect to a non-existing 
server and try an operation.

The first test gives me a glibc error when I run it

*** glibc detected *** ./zktest-st: corrupted double-linked list: 0x08dc5d70 ***
======= Backtrace: =========
     [exec] make: *** [run-check] Aborted
     [exec] Zookeeper_operations::testOperationConnectionLoss1 : assertion

This seems like a bug.  I'll look into it some more later.

> connect_index in zookeeper handle might get out of bound.
> ---------------------------------------------------------
>                 Key: ZOOKEEPER-458
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-458
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>            Reporter: Mahadev konar
>            Assignee: Mahadev konar
>             Fix For: 3.3.0
>         Attachments: ZOOKEEPER-458.patch, ZOOKEEPER-458.patch
> connect_index in zookeeper handle might get out of bound. the zokoeeper_init 
> method checks for index == count and sets it to zero. If the index becomes 
> greater than count, then it will go out of bounds.

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