You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2013/05/13 16:55:16 UTC

[jira] [Created] (PROTON-309) Messenger crashes if given a message that lacks a "to" address

Ken Giusti created PROTON-309:
---------------------------------

             Summary: Messenger crashes if given a message that lacks a "to" address
                 Key: PROTON-309
                 URL: https://issues.apache.org/jira/browse/PROTON-309
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: 0.4
            Reporter: Ken Giusti
            Priority: Minor
             Fix For: 0.5


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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira