Core was generated by `qpid-send -t --connection-options {protocol:'amqp1.0'} -a 'test-queue' --conten'. Program terminated with signal 11, Segmentation fault. #0 pn_encoder_writef8 (ctx=0x13d0bd0, data=0x13d05e0, node=0x13e6a50) at /usr/src/debug/qpid-proton-0.7/proton-c/src/codec/encoder.c:149 149 encoder->position[0] = value; (gdb) info threads 2 Thread 0x7f4431beb840 (LWP 3450) pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:183 • 1 Thread 0x7f4431134700 (LWP 3451) pn_encoder_writef8 (ctx=0x13d0bd0, data=0x13d05e0, node=0x13e6a50) at /usr/src/debug/qpid-proton-0.7/proton-c/src/codec/encoder.c:149 (gdb) t a a bt Thread 2 (Thread 0x7f4431beb840 (LWP 3450)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:183 #1 0x000000302d6466e0 in qpid::sys::Condition::wait (this=, mutex=) at /usr/src/debug/qpid-cpp-0.30/src/qpid/sys/posix/Condition.h:59 #2 0x000000302d63c70c in wait (this=0x13d2390) at /usr/src/debug/qpid-cpp-0.30/src/qpid/sys/Monitor.h:41 #3 qpid::messaging::amqp::ConnectionContext::wait (this=0x13d2390) at /usr/src/debug/qpid-cpp-0.30/src/qpid/messaging/amqp/ConnectionContext.cpp:542 #4 0x000000302d63c9e0 in qpid::messaging::amqp::ConnectionContext::newSession (this=0x13d2390, transactional=, n=) at /usr/src/debug/qpid-cpp-0.30/src/qpid/messaging/amqp/ConnectionContext.cpp:682 #5 0x000000302d6479eb in qpid::messaging::amqp::ConnectionHandle::newSession (this=, transactional=, name=) at /usr/src/debug/qpid-cpp-0.30/src/qpid/messaging/amqp/ConnectionHandle.cpp:72 #6 0x000000302d6913e2 in qpid::messaging::Connection::createSession (this=, name=) at /usr/src/debug/qpid-cpp-0.30/src/qpid/messaging/Connection.cpp:82 #7 0x0000000000406191 in main (argc=, argv=) at /usr/src/debug/qpid-cpp-0.30/src/tests/qpid-send.cpp:357 Thread 1 (Thread 0x7f4431134700 (LWP 3451)): #0 pn_encoder_writef8 (ctx=0x13d0bd0, data=0x13d05e0, node=0x13e6a50) at /usr/src/debug/qpid-proton-0.7/proton-c/src/codec/encoder.c:149 #1 pni_encoder_enter (ctx=0x13d0bd0, data=0x13d05e0, node=0x13e6a50) at /usr/src/debug/qpid-proton-0.7/proton-c/src/codec/encoder.c:276 #2 0x000000302ce1a6d5 in pni_data_traverse (data=0x13d05e0, enter=0x302ce1f2f0 , exit=0x302ce1f1b0 , ctx=0x13d0bd0) at /usr/src/debug/qpid-proton-0.7/proton-c/src/codec/codec.c:1239 #3 0x000000302ce1ee40 in pn_encoder_encode (encoder=0x13d0bd0, src=, dst=, size=4294967296) at /usr/src/debug/qpid-proton-0.7/proton-c/src/codec/encoder.c:381 #4 0x000000302ce1ff41 in pn_post_frame (disp=0x13d12e0, ch=0, fmt=) at /usr/src/debug/qpid-proton-0.7/proton-c/src/dispatcher/dispatcher.c:243 #5 0x000000302ce2615b in pn_process_ssn_setup (transport=0x13d2670, endpoint=0x13e8b90) at /usr/src/debug/qpid-proton-0.7/proton-c/src/transport/transport.c:1267 #6 0x000000302ce24552 in pn_phase (transport=0x13d2670, phase=0x302ce26070 ) at /usr/src/debug/qpid-proton-0.7/proton-c/src/transport/transport.c:1739 #7 0x000000302ce2575f in pn_process (transport=0x13d2670) at /usr/src/debug/qpid-proton-0.7/proton-c/src/transport/transport.c:1750 #8 0x000000302ce28bd0 in pn_output_write_amqp (io_layer=, bytes=0x13d7e10 "", size=16384) at /usr/src/debug/qpid-proton-0.7/proton-c/src/transport/transport.c:1806 #9 0x000000302ce24e24 in transport_produce (transport=0x13d2670) at /usr/src/debug/qpid-proton-0.7/proton-c/src/transport/transport.c:1848 #10 pn_transport_pending (transport=0x13d2670) at /usr/src/debug/qpid-proton-0.7/proton-c/src/transport/transport.c:2122 #11 0x000000302ce25132 in pn_transport_output (transport=0x13d2670, bytes=0x7f44301a900f "", size=65535) at /usr/src/debug/qpid-proton-0.7/proton-c/src/transport/transport.c:1876 #12 0x000000302d639f72 in qpid::messaging::amqp::ConnectionContext::encodePlain (this=0x13d2390, buffer=0x7f44301a900f "", size=65535) at /usr/src/debug/qpid-cpp-0.30/src/qpid/messaging/amqp/ConnectionContext.cpp:753 #13 0x000000302d63a4a2 in qpid::messaging::amqp::ConnectionContext::encode (this=0x13d2390, buffer=0x7f44301a900f "", size=65535) at /usr/src/debug/qpid-cpp-0.30/src/qpid/messaging/amqp/ConnectionContext.cpp:879 #14 0x000000302d65d7fd in qpid::messaging::amqp::TcpTransport::write (this=0x13e3970) at /usr/src/debug/qpid-cpp-0.30/src/qpid/messaging/amqp/TcpTransport.cpp:110 #15 0x000000302af333f8 in operator() (this=0x7f442c000980, h=...) at /usr/include/boost/function/function_template.hpp:1013 #16 qpid::sys::posix::AsynchIO::writeable (this=0x7f442c000980, h=...) at /usr/src/debug/qpid-cpp-0.30/src/qpid/sys/posix/AsynchIO.cpp:582 #17 0x000000302afb8ab3 in boost::function1::operator() (this=, a0=) at /usr/include/boost/function/function_template.hpp:1013 #18 0x000000302afb741e in qpid::sys::DispatchHandle::processEvent (this=0x7f442c000988, type=qpid::sys::Poller::WRITABLE) at /usr/src/debug/qpid-cpp-0.30/src/qpid/sys/DispatchHandle.cpp:287 #19 0x000000302af5956d in process (this=0x13c5b80) at /usr/src/debug/qpid-cpp-0.30/src/qpid/sys/Poller.h:131 #20 qpid::sys::Poller::run (this=0x13c5b80) at /usr/src/debug/qpid-cpp-0.30/src/qpid/sys/epoll/EpollPoller.cpp:522 #21 0x000000302af4db1a in qpid::sys::(anonymous namespace)::runRunnable (p=) at /usr/src/debug/qpid-cpp-0.30/src/qpid/sys/posix/Thread.cpp:35 #22 0x00000030252079d1 in start_thread (arg=0x7f4431134700) at pthread_create.c:301 #23 0x0000003024ee88fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115