(gdb) thread apply all bt full Thread 8 (Thread 0x7f9283aa0700 (LWP 3249)): #0 0x00007f928659cec9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib64/libpthread.so.0 No symbol table info available. #1 0x00007f9287e5b5f6 in decaf::internal::util::concurrent::PlatformThread::interruptibleWaitOnCondition (condition=0x1e28ce0, mutex=0x7f9278017ad0, mills=mills@entry=30000, nanos=nanos@entry=0, complete=...) at decaf/internal/util/concurrent/unix/PlatformThread.cpp:239 tv = {tv_sec = 1482342110, tv_usec = 743962} timeNow = delay = abstime = {tv_sec = 1482342140, tv_nsec = 743962000} result = false #2 0x00007f9287e5a0b8 in (anonymous namespace)::doWaitOnMonitor (interruptible=true, nanos=0, mills=30000, thread=0x1e27ff0, monitor=0x1e1ffb0) at decaf/internal/util/concurrent/Threading.cpp:750 count = 1 notified = false completion = { = {_vptr.CompletionCondition = 0x7f92883517e8 }, handle = 0x1e27ff0} interrupted = false timedOut = false #3 decaf::internal::util::concurrent::Threading::waitOnMonitor (monitor=0x1e1ffb0, mills=30000, nanos=0) at decaf/internal/util/concurrent/Threading.cpp:1565 self = 0x1e27ff0 #4 0x00007f9287d4f97c in activemq::transport::failover::FailoverTransportImpl::doDelay (this=0x1e26820) at activemq/transport/failover/FailoverTransport.cpp:191 lock_W = {_vptr.Lock = 0x7f9288469400 , locked = true, syncObject = 0x1e26888} #5 0x00007f9287d44f85 in activemq::transport::failover::FailoverTransport::iterate (this=0x1e24f60) at activemq/transport/failover/FailoverTransport.cpp:1021 failure = { = {_vptr.AtomicRefCounter = 0x7f9288383950 +16>, counter = 0x7f927800b590}, value = 0x7f927800c070, onDelete = 0x7f9287b25fb0 ::onDeleteFunc(decaf::lang::Exception*)>} #6 0x00007f9287cec632 in activemq::threads::CompositeTaskRunner::iterate (this=0x1e27df0) at activemq/threads/CompositeTaskRunner.cpp:224 task = 0x1e24f70 i = 2 lock_W = {_vptr.Lock = 0x7f9288469400 , locked = true, syncObject = 0x1e27e88} #7 0x00007f9287cec0a2 in activemq::threads::CompositeTaskRunner::run (this=0x1e27df0) at activemq/threads/CompositeTaskRunner.cpp:170 No locals. #8 0x00007f9287e575c2 in (anonymous namespace)::runCallback (arg=0x1e27ff0) at decaf/internal/util/concurrent/Threading.cpp:268 thread = 0x1e27ff0 #9 0x00007f9287e57d68 in (anonymous namespace)::threadEntryMethod (arg=0x1e27ff0) at decaf/internal/util/concurrent/Threading.cpp:256 thread = 0x1e27ff0 #10 0x00007f928659761a in start_thread () from /usr/lib64/libpthread.so.0 No symbol table info available. #11 0x00007f9285a365fd in clone () from /usr/lib64/libc.so.6 No symbol table info available. Thread 7 (Thread 0x7f928329f700 (LWP 3250)): #0 0x00007f928659cec9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib64/libpthread.so.0 No symbol table info available. #1 0x00007f9287e5b5f6 in decaf::internal::util::concurrent::PlatformThread::interruptibleWaitOnCondition (condition=0x1e2ccd0, mutex=0x1e2e5a0, mills=mills@entry=10000, nanos=nanos@entry=0, complete=...) at decaf/internal/util/concurrent/unix/PlatformThread.cpp:239 tv = {tv_sec = 1482342129, tv_usec = 685286} timeNow = delay = abstime = {tv_sec = 1482342139, tv_nsec = 685286000} result = false #2 0x00007f9287e5a0b8 in (anonymous namespace)::doWaitOnMonitor (interruptible=true, nanos=0, mills=10000, thread=0x1e2d570, monitor=0x1e205a0) at decaf/internal/util/concurrent/Threading.cpp:750 count = 1 notified = false completion = { = {_vptr.CompletionCondition = 0x7f92883517e8 }, handle = 0x1e2d570} interrupted = false timedOut = false #3 decaf::internal::util::concurrent::Threading::waitOnMonitor (monitor=0x1e205a0, mills=10000, nanos=0) at decaf/internal/util/concurrent/Threading.cpp:1565 self = 0x1e2d570 #4 0x00007f9287eda986 in decaf::util::TimerImpl::run (this=0x1e2d510) at decaf/util/Timer.cpp:102 currentTime = timeToSleep = 10000 lock_W = {_vptr.Lock = 0x7f9288469400 , locked = true, syncObject = 0x1e2d520} task = { = {_vptr.AtomicRefCounter = 0x7f92884329c8 +16>, counter = 0x7f927c0008e0}, value = 0x0, onDelete = 0x7f9287d58da0 ::onDeleteFunc(decaf::util::TimerTask*)>} #5 0x00007f9287e575c2 in (anonymous namespace)::runCallback (arg=0x1e2d570) at decaf/internal/util/concurrent/Threading.cpp:268 thread = 0x1e2d570 #6 0x00007f9287e57d68 in (anonymous namespace)::threadEntryMethod (arg=0x1e2d570) at decaf/internal/util/concurrent/Threading.cpp:256 thread = 0x1e2d570 #7 0x00007f928659761a in start_thread () from /usr/lib64/libpthread.so.0 No symbol table info available. #8 0x00007f9285a365fd in clone () from /usr/lib64/libc.so.6 No symbol table info available. Thread 6 (Thread 0x7f9282a9e700 (LWP 3251)): #0 0x00007f928659cb20 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib64/libpthread.so.0 No symbol table info available. ---Type to continue, or q to quit--- #1 0x00007f9287e5b4db in decaf::internal::util::concurrent::PlatformThread::interruptibleWaitOnCondition (condition=0x1e2e730, mutex=0x7f9274000900, complete=...) at decaf/internal/util/concurrent/unix/PlatformThread.cpp:210 No locals. #2 0x00007f9287e5a1d5 in (anonymous namespace)::doWaitOnMonitor (interruptible=true, nanos=, mills=0, thread=0x1e2ec70, monitor=0x1e20460) at decaf/internal/util/concurrent/Threading.cpp:752 count = 1 notified = false completion = { = {_vptr.CompletionCondition = 0x7f92883517e8 }, handle = 0x1e2ec70} interrupted = false timedOut = false #3 decaf::internal::util::concurrent::Threading::waitOnMonitor (monitor=0x1e20460, mills=0, nanos=) at decaf/internal/util/concurrent/Threading.cpp:1565 self = 0x1e2ec70 #4 0x00007f9287eda74c in decaf::util::TimerImpl::run (this=0x1e2ebc0) at decaf/util/Timer.cpp:79 currentTime = timeToSleep = lock_W = {_vptr.Lock = 0x7f9288469400 , locked = true, syncObject = 0x1e2ebd0} task = { = {_vptr.AtomicRefCounter = 0x7f92884329c8 +16>, counter = 0x7f92740008e0}, value = 0x0, onDelete = 0x7f9287d58da0 ::onDeleteFunc(decaf::util::TimerTask*)>} #5 0x00007f9287e575c2 in (anonymous namespace)::runCallback (arg=0x1e2ec70) at decaf/internal/util/concurrent/Threading.cpp:268 thread = 0x1e2ec70 #6 0x00007f9287e57d68 in (anonymous namespace)::threadEntryMethod (arg=0x1e2ec70) at decaf/internal/util/concurrent/Threading.cpp:256 thread = 0x1e2ec70 #7 0x00007f928659761a in start_thread () from /usr/lib64/libpthread.so.0 No symbol table info available. #8 0x00007f9285a365fd in clone () from /usr/lib64/libc.so.6 No symbol table info available. Thread 5 (Thread 0x7f9272ffd700 (LWP 4383)): #0 0x00007f928659cec9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib64/libpthread.so.0 No symbol table info available. #1 0x00007f9287e5b5f6 in decaf::internal::util::concurrent::PlatformThread::interruptibleWaitOnCondition (condition=0x7f927800dec0, mutex=0x7f9268000900, mills=mills@entry=29999, nanos=nanos@entry=0, complete=...) at decaf/internal/util/concurrent/unix/PlatformThread.cpp:239 tv = {tv_sec = 1482342128, tv_usec = 394058} timeNow = delay = abstime = {tv_sec = 1482342158, tv_nsec = 393058000} result = false #2 0x00007f9287e5a0b8 in (anonymous namespace)::doWaitOnMonitor (interruptible=true, nanos=0, mills=29999, thread=0x7f927800df30, monitor=0x1e200f0) at decaf/internal/util/concurrent/Threading.cpp:750 count = 1 notified = false completion = { = {_vptr.CompletionCondition = 0x7f92883517e8 }, handle = 0x7f927800df30} interrupted = false timedOut = false #3 decaf::internal::util::concurrent::Threading::waitOnMonitor (monitor=0x1e200f0, mills=29999, nanos=0) at decaf/internal/util/concurrent/Threading.cpp:1565 self = 0x7f927800df30 #4 0x00007f9287eda986 in decaf::util::TimerImpl::run (this=0x7f927800de10) at decaf/util/Timer.cpp:102 currentTime = timeToSleep = 29999 lock_W = {_vptr.Lock = 0x7f9288469400 , locked = true, syncObject = 0x7f927800de20} task = { = {_vptr.AtomicRefCounter = 0x7f92884329c8 +16>, counter = 0x7f9254003000}, value = 0x0, onDelete = 0x7f9287d58da0 ::onDeleteFunc(decaf::util::TimerTask*)>} #5 0x00007f9287e575c2 in (anonymous namespace)::runCallback (arg=0x7f927800df30) at decaf/internal/util/concurrent/Threading.cpp:268 thread = 0x7f927800df30 #6 0x00007f9287e57d68 in (anonymous namespace)::threadEntryMethod (arg=0x7f927800df30) at decaf/internal/util/concurrent/Threading.cpp:256 thread = 0x7f927800df30 #7 0x00007f928659761a in start_thread () from /usr/lib64/libpthread.so.0 No symbol table info available. #8 0x00007f9285a365fd in clone () from /usr/lib64/libc.so.6 No symbol table info available. Thread 4 (Thread 0x7f9280a9a700 (LWP 4384)): #0 0x00007f928659cec9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib64/libpthread.so.0 No symbol table info available. #1 0x00007f9287e5b5f6 in decaf::internal::util::concurrent::PlatformThread::interruptibleWaitOnCondition (condition=0x7f9278000c70, mutex=0x7f927800c160, mills=mills@entry=10000, nanos=nanos@entry=0, complete=...) at decaf/internal/util/concurrent/unix/PlatformThread.cpp:239 tv = {tv_sec = 1482342128, tv_usec = 393158} timeNow = delay = abstime = {tv_sec = 1482342138, tv_nsec = 393158000} result = false #2 0x00007f9287e5a0b8 in (anonymous namespace)::doWaitOnMonitor (interruptible=true, nanos=0, mills=10000, thread=0x7f927800c930, monitor=0x1e20190) at decaf/internal/util/concurrent/Threading.cpp:750 count = 1 notified = false completion = { = {_vptr.CompletionCondition = 0x7f92883517e8 }, handle = 0x7f927800c930} interrupted = false timedOut = false #3 decaf::internal::util::concurrent::Threading::waitOnMonitor (monitor=0x1e20190, mills=10000, nanos=0) at decaf/internal/util/concurrent/Threading.cpp:1565 ---Type to continue, or q to quit--- self = 0x7f927800c930 #4 0x00007f9287eda986 in decaf::util::TimerImpl::run (this=0x7f927800ec00) at decaf/util/Timer.cpp:102 currentTime = timeToSleep = 10000 lock_W = {_vptr.Lock = 0x7f9288469400 , locked = true, syncObject = 0x7f927800ec10} task = { = {_vptr.AtomicRefCounter = 0x7f92884329c8 +16>, counter = 0x7f9264002d80}, value = 0x0, onDelete = 0x7f9287d58da0 ::onDeleteFunc(decaf::util::TimerTask*)>} #5 0x00007f9287e575c2 in (anonymous namespace)::runCallback (arg=0x7f927800c930) at decaf/internal/util/concurrent/Threading.cpp:268 thread = 0x7f927800c930 #6 0x00007f9287e57d68 in (anonymous namespace)::threadEntryMethod (arg=0x7f927800c930) at decaf/internal/util/concurrent/Threading.cpp:256 thread = 0x7f927800c930 #7 0x00007f928659761a in start_thread () from /usr/lib64/libpthread.so.0 No symbol table info available. #8 0x00007f9285a365fd in clone () from /usr/lib64/libc.so.6 No symbol table info available. Thread 3 (Thread 0x7f9273fff700 (LWP 4385)): #0 0x00007f928659fb5d in read () from /usr/lib64/libpthread.so.0 No symbol table info available. #1 0x00007f92870a435b in apr_socket_recv () from /usr/lib64/libapr-1.so.0 No symbol table info available. #2 0x00007f9287e24c70 in decaf::internal::net::tcp::TcpSocket::read (this=0x7f927800daa0, buffer=0x7f9278008d80 "", size=, offset=0, length=8192) at decaf/internal/net/tcp/TcpSocket.cpp:675 aprSize = 8192 result = 0 #3 0x00007f9287e26f9e in decaf::internal::net::tcp::TcpSocketInputStream::doReadArrayBounded (this=, buffer=, size=, offset=, length=) at decaf/internal/net/tcp/TcpSocketInputStream.cpp:103 No locals. #4 0x00007f9287e72093 in decaf::io::InputStream::doReadArray (this=, buffer=, size=) at decaf/io/InputStream.cpp:135 No locals. #5 0x00007f9287e71e5e in decaf::io::InputStream::read (this=, buffer=, size=) at decaf/io/InputStream.cpp:70 No locals. #6 0x00007f9287e695cb in decaf::io::BufferedInputStream::bufferData (this=this@entry=0x7f927800b990, inputStream=inputStream@entry=0x7f927800be20, buffer=@0x7f9273ffeb80: 0x7f9278008d80 "") at decaf/io/BufferedInputStream.cpp:305 result = bytesread = #7 0x00007f9287e69a67 in decaf::io::BufferedInputStream::doReadArrayBounded (this=0x7f927800b990, buffer=0x7f927800ae12 "", size=4, offset=0, length=4) at decaf/io/BufferedInputStream.cpp:211 available = read = 0 lbuffer = 0x7f9278008d80 "" inputStream = 0x7f927800be20 required = 4 #8 0x00007f9287e71f5e in decaf::io::InputStream::read (this=, buffer=, size=, offset=, length=) at decaf/io/InputStream.cpp:81 No locals. #9 0x00007f9287e6d8f0 in decaf::io::DataInputStream::readAllData (this=this@entry=0x7f927800adf0, buffer=buffer@entry=0x7f927800ae12 "", length=length@entry=4) at decaf/io/DataInputStream.cpp:466 count = n = 0 #10 0x00007f9287e6e0b9 in decaf::io::DataInputStream::readInt (this=0x7f927800adf0) at decaf/io/DataInputStream.cpp:126 value = 0 #11 0x00007f9287da901c in activemq::wireformat::openwire::OpenWireFormat::unmarshal (this=0x7f927800dd00, transport=, dis=0x7f927800adf0) at activemq/wireformat/openwire/OpenWireFormat.cpp:226 data = { = {_vptr.AtomicRefCounter = 0x7f9273ffecf0, counter = 0x800000}, value = 0x800000, onDelete = 0x7f92859b778c } command = { = {_vptr.AtomicRefCounter = 0x7f928838c298 +16>, counter = 0x7f92580020b0}, value = 0x7f9258002090, onDelete = 0x7f9287b78c90 ::onDeleteFunc(activemq::commands::Command*)>} #12 0x00007f9287d00fe0 in activemq::transport::IOTransport::run (this=0x7f927800da70) at activemq/transport/IOTransport.cpp:271 command = { = {_vptr.AtomicRefCounter = 0x7f928838c298 +16>, counter = 0x7f92580020b0}, value = 0x7f9258002090, onDelete = 0x7f9287b78c90 ::onDeleteFunc(activemq::commands::Command*)>} #13 0x00007f9287e575c2 in (anonymous namespace)::runCallback (arg=0x7f9278002e70) at decaf/internal/util/concurrent/Threading.cpp:268 thread = 0x7f9278002e70 #14 0x00007f9287e57d68 in (anonymous namespace)::threadEntryMethod (arg=0x7f9278002e70) at decaf/internal/util/concurrent/Threading.cpp:256 thread = 0x7f9278002e70 #15 0x00007f928659761a in start_thread () from /usr/lib64/libpthread.so.0 No symbol table info available. #16 0x00007f9285a365fd in clone () from /usr/lib64/libc.so.6 No symbol table info available. Thread 2 (Thread 0x7f92737fe700 (LWP 4389)): #0 0x00007f928659cb20 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib64/libpthread.so.0 No symbol table info available. #1 0x00007f9287e5b4db in decaf::internal::util::concurrent::PlatformThread::interruptibleWaitOnCondition (condition=0x7f9258001f90, mutex=0x7f9264000900, complete=...) at decaf/internal/util/concurrent/unix/PlatformThread.cpp:210 No locals. #2 0x00007f9287e5a1d5 in (anonymous namespace)::doWaitOnMonitor (interruptible=true, nanos=, mills=0, thread=0x7f92580012a0, monitor=0x1e20140) at decaf/internal/util/concurrent/Threading.cpp:752 count = 1 notified = false completion = { = {_vptr.CompletionCondition = 0x7f92883517e8 }, handle = 0x7f92580012a0} interrupted = false timedOut = false #3 decaf::internal::util::concurrent::Threading::waitOnMonitor (monitor=0x1e20140, mills=0, nanos=) at decaf/internal/util/concurrent/Threading.cpp:1565 ---Type to continue, or q to quit--- self = 0x7f92580012a0 #4 0x00007f9287cec0f2 in activemq::threads::CompositeTaskRunner::run (this=0x7f9258000c90) at activemq/threads/CompositeTaskRunner.cpp:177 lock_W = {_vptr.Lock = 0x7f9288469400 , locked = true, syncObject = 0x7f92580011f0} #5 0x00007f9287e575c2 in (anonymous namespace)::runCallback (arg=0x7f92580012a0) at decaf/internal/util/concurrent/Threading.cpp:268 thread = 0x7f92580012a0 #6 0x00007f9287e57d68 in (anonymous namespace)::threadEntryMethod (arg=0x7f92580012a0) at decaf/internal/util/concurrent/Threading.cpp:256 thread = 0x7f92580012a0 #7 0x00007f928659761a in start_thread () from /usr/lib64/libpthread.so.0 No symbol table info available. #8 0x00007f9285a365fd in clone () from /usr/lib64/libc.so.6 No symbol table info available. Thread 1 (Thread 0x7f928869b880 (LWP 3229)): #0 0x00007f9285a2676d in read () from /usr/lib64/libc.so.6 No symbol table info available. #1 0x00007f92859aeae8 in __GI__IO_file_underflow () from /usr/lib64/libc.so.6 No symbol table info available. #2 0x00007f92859afb1e in __GI__IO_default_uflow () from /usr/lib64/libc.so.6 No symbol table info available. #3 0x00007f92859aa7c8 in getc () from /usr/lib64/libc.so.6 No symbol table info available. #4 0x00007f92862f7ddd in __gnu_cxx::stdio_sync_filebuf >::uflow() () from /usr/lib64/libstdc++.so.6 No symbol table info available. #5 0x00007f92863052d6 in std::istream::get() () from /usr/lib64/libstdc++.so.6 No symbol table info available. #6 0x0000000000401a00 in main (argc=, argv=) at ./consumers/SimpleAsyncConsumer.cpp:361 brokerURI = "failover://(tcp://127.0.0.1:61616,tcp://127.0.0.1:61618)?priorityBackup=true" destURI = "TEST.FOO" useTopics = false clientAck = false consumer = { = {_vptr.ExceptionListener = 0x603ca8 }, = { _vptr.MessageListener = 0x603cf0 }, = { = { _vptr.TransportListener = 0x603d18 }, }, connection = 0x1e24840, session = 0x1e321e8, destination = 0x1e322f0, consumer = 0x1e34cc0, useTopic = false, brokerURI = "failover://(tcp://127.0.0.1:61616,tcp://127.0.0.1:61618)?priorityBackup=true", destURI = "TEST.FOO", clientAck = false} (gdb)