Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 979B010658 for ; Tue, 3 Dec 2013 07:59:00 +0000 (UTC) Received: (qmail 86501 invoked by uid 500); 3 Dec 2013 07:59:00 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 86452 invoked by uid 500); 3 Dec 2013 07:58:59 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 85929 invoked by uid 99); 3 Dec 2013 07:58:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Dec 2013 07:58:59 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Dec 2013 07:58:54 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Vnkrw-0003yg-C2 for users@activemq.apache.org; Mon, 02 Dec 2013 23:58:08 -0800 Date: Mon, 2 Dec 2013 23:57:53 -0800 (PST) From: MillieretXavier To: users@activemq.apache.org Message-ID: <1386057473353-4675017.post@n4.nabble.com> Subject: Segmentation fault after ActiveMQCPP::shutdownLibrary() MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I have a problem on CMS library. When I invoke the ActiveMQCPP::shutdownLibrary(), I have the following error: Segmentation fault decaf::lang::Exception::buildMessage (this=0x3570c8, format=0xab99fe35 "Failed to Lock OS Mutex" ..... in my code, I think I did the right things, like: if( connection != NULL ) { connection->close(); delete connection; connection = NULL; } and after activemq::library::ActiveMQCPP::shutdownLibrary(); I have not session open, just have one connection to the activemq. I used the cms 3.8.1 and my platform is centos 5.5 i386 any help will be appreciate. Thank you very much -- View this message in context: http://activemq.2283324.n4.nabble.com/Segmentation-fault-after-ActiveMQCPP-shutdownLibrary-tp4675017.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.