You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2013/12/04 19:12:35 UTC

[jira] [Closed] (AMQCPP-526) Version >2.2.6 Segfault by initialization

     [ https://issues.apache.org/jira/browse/AMQCPP-526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish closed AMQCPP-526.
-------------------------------

    Resolution: Invalid

This sort of question is better dealt with on the Users mailing list.  FYI the latest release is v3.8.1 so you should start there.  The 2.x line is no longer supported. 

> Version >2.2.6 Segfault by initialization
> -----------------------------------------
>
>                 Key: AMQCPP-526
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-526
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 3.0, 3.7.1
>         Environment: SLES 11.2, System z
>            Reporter: Nikolaus Klimek
>            Assignee: Timothy Bish
>            Priority: Blocker
>              Labels: library, segmenation_fault, sharedLib
>
> Hello,
> because our previous SLES Version does not support required apr-version, we used the ActiveMQ C++ Client 2.2.6, which was compiled to a shared object/library and called by a cobol application (via CALL). This combination works fine.
> Actually we updated our SLES and a higher apr-version now is supported. So we tried to use a higher-version of the ActiveMQ C++ Client (e.g. 3.0 and 3.7.1), which we compiled to a shared object for calling via a cobol application, too. 
> Calling the new version now causes a segmentation fault, the ActiveMQ shared object crashes on initialization, before any command is executed. 
> We think it deals with loading/initialising the activemq library (activemq::library; ActiveMQCPP::initializeLibrary()), because it is new since version 3.0.0. Another point is we reduced our ActiveMQ shared object to only print a line. This certainly works. Adding the command  activemq::library; ActiveMQCPP::initializeLibrary() causes the identicall segfault.
> Bizarrely calling the identical shared object from a C++ application works.
> We don't understand why calling the ActiveMQ shared object doens't work from cobol, however it works calling from a C++ application. With a release <=2.2.6 both call variations working.
> We hope you have any ideas for let us understand this issue or to give us some advice for solving this problem.
> Thanks in regards!
> Niko



--
This message was sent by Atlassian JIRA
(v6.1#6144)