[ https://issues.apache.org/jira/browse/ZOOKEEPER-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788887#action_12788887 ]
Mahadev konar commented on ZOOKEEPER-458: ----------------------------------------- it still fails in the same place and with the same back trace: {quote} 0 0x00002adc6886c225 in free () from /lib/libc.so.6 #1 0x00000000004053fb in __gnu_cxx::new_allocator<std::string>::deallocate (this=0x7fff42e84c88, __p=0x3e700000000) at /usr/include/c++/4.3/ext/new_allocator.h:98 #2 0x0000000000405855 in std::_Deque_base<std::string, std::allocator<std::string> >::_M_deallocate_node (this=0x7fff42e84c88, __p=0x3e700000000) at /usr/include/c++/4.3/bits/stl_deque.h:454 #3 0x0000000000405886 in std::_Deque_base<std::string, std::allocator<std::string> >::_M_destroy_nodes (this=0x7fff42e84c88, __nstart=0x1854368, __nfinish=0x1854370) at /usr/include/c++/4.3/bits/stl_deque.h:557 #4 0x000000000040592b in ~_Deque_base (this=0x7fff42e84c88) at /usr/include/c++/4.3/bits/stl_deque.h:480 #5 0x00000000004059a8 in ~deque (this=0x7fff42e84c88) at /usr/include/c++/4.3/bits/stl_deque.h:776 #6 0x00000000004059fa in ~Message (this=0x7fff42e84c80) at /usr/include/cppunit/Message.h:39 #7 0x00000000004351bc in Zookeeper_simpleSystem::testConnectIndex1 (this=0x184fde0) at /homes/mahadev/zookeeper-trunk/src/c/tests/TestClient.cc:846 #8 0x0000000000431cc6 in CppUnit::TestCaller<Zookeeper_simpleSystem>::runTest (this=0x1850040) at /usr/include/cppunit/TestCaller.h:166 #9 0x000000000045bb6a in CppUnit::TestCaseMethodFunctor::operator() () #10 0x0000000000466d54 in CppUnit::DefaultProtector::protect () #11 0x00000000004685cf in CppUnit::ProtectorChain::protect () #12 0x0000000000463622 in CppUnit::TestResult::protect () #13 0x000000000045b92a in CppUnit::TestCase::run () #14 0x0000000000469173 in CppUnit::TestComposite::doRunChildTests () #15 0x0000000000469096 in CppUnit::TestComposite::run () #16 0x0000000000469173 in CppUnit::TestComposite::doRunChildTests () #17 0x0000000000469096 in CppUnit::TestComposite::run () #18 0x0000000000462e7a in CppUnit::TestResult::runTest () #19 0x00000000004653d2 in CppUnit::TestRunner::run () #20 0x00000000004047ea in main (argc=1, argv=0x7fff42e85918) at /homes/mahadev/zookeeper-trunk/src/c/tests/TestDriver.cc:152 {quote} > 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: Steven Cheng > Fix For: 3.3.0 > > Attachments: ZOOKEEPER-458.patch, ZOOKEEPER-458.patch, > ZOOKEEPER-458.patch, ZOOKEEPER-458.patch, ZOOKEEPER-458.patch, > 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.