You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "John Rocha (JIRA)" <ji...@apache.org> on 2013/02/12 23:37:12 UTC

[jira] [Created] (AMQCPP-462) Producer aborts/core dump during ActiveMQCPP::shutdownLibrary()

John Rocha created AMQCPP-462:
---------------------------------

             Summary: Producer aborts/core dump during ActiveMQCPP::shutdownLibrary()
                 Key: AMQCPP-462
                 URL: https://issues.apache.org/jira/browse/AMQCPP-462
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: Decaf
    Affects Versions: 3.5.0
         Environment: This has been observed on both RedHat 5.8 and SUSE SLES10
32bit Linux machines. We are linking with apr version 1.4.2 and apri-util version 1.3.9

            Reporter: John Rocha
            Assignee: Timothy Bish
             Fix For: 3.5.1


Producer aborts/core dump during ActiveMQCPP::shutdownLibrary()


We recently upgrade from the AMQ-CPP-Client from 3.4.5 to 3.5.0. After doing
this we found that we would get aborts and core files when shutting down the
proces.

I've also been able to reproduce the problem with the simple consumer, which
equates to basically.

# Invoke the initializeLibrary() routine.
# Print the library version and CMSX properties
# Invoke shutdownLibrary()


When I link against the 3.4.5 library there is no abort/core. When I link
against 3.5.0 we abort/core.


+Environments:+ This has been observed on both RedHat 5.8 and SUSE SLES10
32bit. We are linking with apr version 1.4.2 and apri-util version 1.3.9

I've attached gdb output as well as the modified SimpleProducer.cpp that I see
the problem with.


{panel:title=It works with the previous version}
%>  SimpleProducer.exe 
=====================================================
Starting the example with version 3.4.4:
-----------------------------------------------------
0: JMSXGroupID
1: JMSXGroupSeq
2: JMSXDeliveryCount
3: JMSXProducerTXID
-----------------------------------------------------
Finished with the example.
=====================================================
{panel}

\\


{panel:title=It fails with 3.5.0}
----------------------------------------
%>  SimpleProducer.exe
=====================================================
Starting the example with version 3.5.0:
-----------------------------------------------------
0: JMSXGroupID
1: JMSXGroupSeq
2: JMSXDeliveryCount
3: JMSXProducerTXID
-----------------------------------------------------
Finished with the example.
=====================================================
terminate called after throwing an instance of 'decaf::lang::exceptions::RuntimeException'
  what():  Failed to Lock OS Mutex
Abort (core dumped)
{panel}

--
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