Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-309

Messenger crashes if given a message that lacks a "to" address

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • proton-0.4
    • proton-0.5
    • proton-c
    • None

    Description

      Accidentally did not set "to" address before putting my message.

      Got this crash - notice target=0x0 to pn_messenger_target():

      #0 __strlen_sse2_pminub () at ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:39
      #1 0x00007f835cb4f74c in pn_messenger_resolve (messenger=0x1806e90, address=0x0, name=0x7fff83e746c0)
      at /home/kgiusti/work/proton/qpid-proton/proton-c/src/messenger/messenger.c:902
      #2 0x00007f835cb4fdf8 in pn_messenger_link (messenger=0x1806e90, address=0x0, sender=true) at /home/kgiusti/work/proton/qpid-proton/proton-c/src/messenger/messenger.c:1012
      #3 0x00007f835cb4ffd6 in pn_messenger_target (messenger=0x1806e90, target=0x0) at /home/kgiusti/work/proton/qpid-proton/proton-c/src/messenger/messenger.c:1048
      #4 0x00007f835cb507c5 in pn_messenger_put (messenger=0x1806e90, msg=0x1803f60) at /home/kgiusti/work/proton/qpid-proton/proton-c/src/messenger/messenger.c:1203

      Attachments

        Issue Links

          Activity

            People

              rhs Rafael H. Schloming
              kgiusti Ken Giusti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: