Details
Description
A non-negative pn_messenger_set_timeout seems to result in pn_messenger_send hanging with the following backtrace:
Thread 2 (Thread 0x7fee4c037700 (LWP 16763)):
#0 0x0000003518ce99ad in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007fee4c079a42 in pn_driver_wait_2 ()
from /usr/local/lib64/libqpid-proton.so.1
#2 0x00007fee4c079cea in pn_driver_wait ()
from /usr/local/lib64/libqpid-proton.so.1
#3 0x00007fee4c0744e4 in pn_messenger_tsync ()
from /usr/local/lib64/libqpid-proton.so.1
#4 0x00007fee4c0747dc in pn_messenger_sync ()
from /usr/local/lib64/libqpid-proton.so.1
#5 0x00007fee4c076327 in pn_messenger_recv ()
from /usr/local/lib64/libqpid-proton.so.1
#6 0x0000000000400d31 in qpidListenerThread ()
#7 0x0000003519407d15 in start_thread (arg=0x7fee4c037700)
at pthread_create.c:308
#8 0x0000003518cf248d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114
Thread 1 (Thread 0x7fee4c039840 (LWP 16762)):
#0 0x0000003519408e60 in pthread_join (threadid=140661454239488,
--Type <return> to continue, or q <return> to quit--
thread_return=0x0) at pthread_join.c:92
#1 0x0000000000400f11 in main ()