[
https://issues.apache.org/jira/browse/AMQCPP-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish resolved AMQCPP-368.
---------------------------------
Resolution: Won't Fix
This is an extremely old version of the client, a newer release most likely
address this issue.
> Core dump in exception message formatting
> -----------------------------------------
>
> Key: AMQCPP-368
> URL: https://issues.apache.org/jira/browse/AMQCPP-368
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: Openwire
> Affects Versions: 2.1.3
> Environment: Linux RHEL5.5u4 64bit, ActiveMQ v5.4.2
> Reporter: Carl Nygard
> Assignee: Timothy Bish
>
> SIGSEGV while trying to format output when negotiating openwire format.
> Problem seemed to be triggered by issues in activemq when message store was
> full. Under normal conditions the client works fine.
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000032952797c0 in strlen () from /lib64/libc.so.6
> (gdb) where
> #0 0x00000032952797c0 in strlen () from /lib64/libc.so.6
> #1 0x0000003295246b69 in vfprintf () from /lib64/libc.so.6
> #2 0x000000329526988a in vsnprintf () from /lib64/libc.so.6
> #3 0x00002aaaaec10bef in
> activemq::exceptions::ActiveMQException::buildMessage
> (this=<value optimized out>,
> format=0x2aaaaed41a18 "No valid response received for command: %s, check
> broker.", vargs=<value optimized out>)
> at activemq/exceptions/ActiveMQException.cpp:76
> #4 0x00002aaaaec236a8 in
> activemq::transport::CommandIOException::CommandIOException (this=0x6f5b10,
> file=0x2aaaaed419e0 "activemq/transport/filters/ResponseCorrelator.cpp",
> lineNumber=146,
> msg=0x2aaaaed41a18 "No valid response received for command: %s, check
> broker.") at activemq/transport/CommandIOException.h:67
> #5 0x00002aaaaec72612 in
> activemq::transport::filters::ResponseCorrelator::request (this=<value
> optimized out>, command=0x94db38)
> at activemq/transport/filters/ResponseCorrelator.cpp:148
> #6 0x00002aaaaec48c1a in
> activemq::connector::openwire::OpenWireFormatNegotiator::request
> (this=0x921380, command=0x94db38)
> at activemq/connector/openwire/OpenWireFormatNegotiator.cpp:102
> #7 0x00002aaaaec4fe9f in
> activemq::connector::openwire::OpenWireConnector::syncRequest (this=<value
> optimized out>, command=0x2aaaaed41a40)
> at activemq/connector/openwire/OpenWireConnector.cpp:1349
> #8 0x00002aaaaec51581 in
> activemq::connector::openwire::OpenWireConnector::send (this=0x6fd560,
> message=<value optimized out>,
> producerInfo=<value optimized out>)
> at activemq/connector/openwire/OpenWireConnector.cpp:838
> #9 0x00002aaaaebe970c in activemq::core::ActiveMQSession::send (
> this=<value optimized out>, message=0x94db30, producer=0x6a8600)
> at activemq/core/ActiveMQSession.cpp:673
> #10 0x00002aaaaebf5130 in activemq::core::ActiveMQProducer::send (
> this=0x6a8600, destination=<value optimized out>, message=0x94db30,
> deliveryMode=-1754409308, priority=4, timeToLive=0)
> at activemq/core/ActiveMQProducer.cpp:192
> #11 0x00002aaaaebf4c4a in activemq::core::ActiveMQProducer::send (
> this=0x101010101010101, destination=0x2aaaaed41a40,
> message=0x7fffffffb0b8)
> at activemq/core/ActiveMQProducer.cpp:147
> #12 0x00002aaaaebf4f6b in activemq::core::ActiveMQProducer::send (
> this=0x6a8600, message=0x94db30) at activemq/core/ActiveMQProducer.cpp:106
> #13 0x00000038b6c04832 in ActiveMQ::Client::Send (this=0x6d84d0, msg=...)
> at client.cpp:50
> #14 0x00002aaab0692b9d in CAmqforwarderMsgHandler::OnMessage (this=0xc01e70,
> vFields=..., pDB=<value optimized out>, oLogHandler=...,
> oEventHandler=<value optimized out>) at AmqforwarderMsgHandler.cpp:203
> #15 0x00002aaab0692dda in CAmqforwarderMsgHandler::OnReceived (this=0xc01e70,
> pMHInfo=0x7fffffffba00, pMHRet=0x7fffffffba40, oLogHandler=...,
> oEventHandler=...) at AmqforwarderMsgHandler.cpp:135
> #16 0x00002aaaab8f87ea in CMsgDef::OnReceived(zMSGHANDLER_PARAMS*,
> zMSGHANDLER_RETURN*, CSOObjectPtr<CLogHandler>, CSOObjectPtr<CEventHandler>)
> ()
> from /usr/lib64/libcommcore-msgdef.so.2
> #17 0x000000000043a28d in CInterface::OnReceived (this=0xaa3ac0,
> ---Type <return> to continue, or q <return> to quit---q
> poMsgDef=0xbebfQuit
> (gdb) quit
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira