Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2798

C++ Messaging Client .NET binding fails to clone managed objects correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7
    • .NET Client
    • None
    • A case where managed code asserts while creating a managed object.

    Description

      The specific case that failed was
      request = receiver.fetch();
      address = request.ReplyTo;
      sender = session.CreateSender(address);

      The bug occurs during the cloning of the Address object from the request.ReplyTo. After that line of code there are two managed objects that have pointers to the same unmanaged object. When the CreateSender function asserts then the process will get an accvio during shutdown.

      Attachments

        1. crash-double-free-02.patch
          30 kB
          Charles E. Rolke

        Activity

          People

            tross Ted Ross
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: