Avro
  1. Avro
  2. AVRO-869

Lifetimes of streams and encoder/decoders not managed propertly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: c++
    • Labels:
      None

      Description

      Encoders and decoders are designed to be used with a single OutputStream and InputStream respectively. Init() dunction is used to attach a new OutputStream/InputStream with Encoder/Decoder in place of the current one. There is no way to cleanly detach the current stream. The init method cleans up the current stream before detaching it. If the old stream is not valid, it tries to clean up and crash.

      The forthcoming patch will fix this issue.

      1. AVRO-869.patch
        1 kB
        Thiruvalluvan M. G.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Thiruvalluvan M. G.
            Reporter:
            Thiruvalluvan M. G.
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development