You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Ben Wilder (JIRA)" <ji...@apache.org> on 2013/02/11 20:03:13 UTC
[jira] [Resolved] (AMQCPP-458) Segment Fault in ~Thread when thread
creation fails
[ https://issues.apache.org/jira/browse/AMQCPP-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Wilder resolved AMQCPP-458.
-------------------------------
Resolution: Invalid
Looks to be fixed in 3.5.0
> Segment Fault in ~Thread when thread creation fails
> ---------------------------------------------------
>
> Key: AMQCPP-458
> URL: https://issues.apache.org/jira/browse/AMQCPP-458
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Affects Versions: 3.4.1
> Reporter: Ben Wilder
> Assignee: Timothy Bish
> Priority: Trivial
>
> Crash occurs in freeing Thread if the original creation of the thread failed. Since it is rare that a thread creation fails this probally isn't a big deal:
> Conditions:
> - call throws CMSException with message "Failed to create new Thread."
> - When freeing the allocated cms::Connection object, it looks like it is trying to join the thread that it failed to create.
> Backtrace:
> #0 0x0000003845407fc3 in pthread_join () from /lib64/libpthread.so.0
> #1 0x00007fb62fc20409 in decaf::lang::Thread::~Thread (this=0x4319210, __in_chrg=<value optimized out>) at decaf/lang/Thread.cpp:351
> #2 0x00007fb62fc20519 in decaf::lang::Thread::~Thread (this=0x4319210, __in_chrg=<value optimized out>) at decaf/lang/Thread.cpp:361
> #3 0x00007fb62faf0b72 in ~Pointer (this=0x431ce50) at ./decaf/lang/Pointer.h:145
> #4 reset (this=0x431ce50) at ./decaf/lang/Pointer.h:158
> #5 activemq::transport::IOTransport::close (this=0x431ce50) at activemq/transport/IOTransport.cpp:206
> #6 0x00007fb62faf1a0a in activemq::transport::TransportFilter::close (this=<value optimized out>) at activemq/transport/TransportFilter.cpp:106
> #7 0x00007fb62fb342ac in activemq::transport::tcp::TcpTransport::close (this=0x431cef0) at activemq/transport/tcp/TcpTransport.cpp:74
> #8 0x00007fb62fb34466 in activemq::transport::tcp::TcpTransport::~TcpTransport (this=0x431cef0, __in_chrg=<value optimized out>)
> at activemq/transport/tcp/TcpTransport.cpp:54
> #9 0x00007fb62fb345c9 in activemq::transport::tcp::TcpTransport::~TcpTransport (this=0x431cef0, __in_chrg=<value optimized out>)
> at activemq/transport/tcp/TcpTransport.cpp:59
> #10 0x00007fb62faf149e in ~Pointer (this=0x431abd0, __in_chrg=<value optimized out>) at ./decaf/lang/Pointer.h:145
> #11 activemq::transport::TransportFilter::~TransportFilter (this=0x431abd0, __in_chrg=<value optimized out>)
> at activemq/transport/TransportFilter.cpp:37
> #12 0x00007fb62fb2b56f in activemq::transport::inactivity::InactivityMonitor::~InactivityMonitor (this=0x431abd0,
> __in_chrg=<value optimized out>) at activemq/transport/inactivity/InactivityMonitor.cpp:254
> #13 0x00007fb62fb2b5f9 in activemq::transport::inactivity::InactivityMonitor::~InactivityMonitor (this=0x431abd0,
> __in_chrg=<value optimized out>) at activemq/transport/inactivity/InactivityMonitor.cpp:254
> #14 0x00007fb62faf149e in ~Pointer (this=0x431a130, __in_chrg=<value optimized out>) at ./decaf/lang/Pointer.h:145
> #15 activemq::transport::TransportFilter::~TransportFilter (this=0x431a130, __in_chrg=<value optimized out>)
> at activemq/transport/TransportFilter.cpp:37
> #16 0x00007fb62fb66039 in activemq::wireformat::openwire::OpenWireFormatNegotiator::~OpenWireFormatNegotiator (this=0x431a130,
> __in_chrg=<value optimized out>) at activemq/wireformat/openwire/OpenWireFormatNegotiator.cpp:56
> #17 0x00007fb62faf149e in ~Pointer (this=0x4319df0, __in_chrg=<value optimized out>) at ./decaf/lang/Pointer.h:145
> #18 activemq::transport::TransportFilter::~TransportFilter (this=0x4319df0, __in_chrg=<value optimized out>)
> at activemq/transport/TransportFilter.cpp:37
> #19 0x00007fb62faf4f99 in activemq::transport::correlator::ResponseCorrelator::~ResponseCorrelator (this=0x4319df0,
> __in_chrg=<value optimized out>) at activemq/transport/correlator/ResponseCorrelator.cpp:70
> #20 0x00007fb62fa4ae95 in decaf::lang::Pointer<activemq::transport::Transport, decaf::util::concurrent::atomic::AtomicRefCounter>::~Pointer (
> this=0x7fffac1de080, __in_chrg=<value optimized out>) at ./decaf/lang/Pointer.h:145
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira