Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4615

C сlient LOG_DEBUG after api_epilog uses freed handle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • c client
    • None

    Description

       

      api_epilog(zh, 0);
      LOG_DEBUG(LOGCALLBACK(zh), "completion thread terminated"); 
      api_epilog(zh, 0);
      LOG_DEBUG(LOGCALLBACK(zh), "IO thread terminated"); 

      Handle zh is freed in api_epilog.
      LOG_CALLBACK(zh) uses freed handle and may cause segmentation fault.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            bibmaster Dmitry Sokolov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: