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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment