Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
proton-0.4
-
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
- duplicates
-
PROTON-368 Calling pn_messenger_put with a message with no address causes a segmentation fault
- Closed