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 0D2B9E8D4 for ; Fri, 11 Jan 2013 15:03:10 +0000 (UTC) Received: (qmail 10213 invoked by uid 500); 11 Jan 2013 15:03:09 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 10183 invoked by uid 500); 11 Jan 2013 15:03:09 -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 10175 invoked by uid 99); 11 Jan 2013 15:03:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 15:03:09 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of jeffreyhasmail@hotmail.com does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 15:03:02 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Ttg81-0004iw-OG for users@activemq.apache.org; Fri, 11 Jan 2013 07:02:41 -0800 Date: Fri, 11 Jan 2013 07:02:41 -0800 (PST) From: jeffrey To: users@activemq.apache.org Message-ID: <1357916561742-4661659.post@n4.nabble.com> Subject: ActiveMQ cpp 3.5.0 not working on HPUX 11.31 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 sort of driver test program written with ActiveMQ cpp. I started with 3.4.4 and upgraded to 3.4.5 and over time I have gotten it to work pretty well, but I just upgraded to 3.5.0 and rebuilt the library and compiled my program again, but now it core dumps where it did not before. I now get these compile warnings for my program which I dont think are important: amqcpp/include/activemq-cpp-3.5.0/activemq/commands/ActiveMQTempDestination.h", line 83: warning #2997-D: function "decaf::lang::Comparable::equals(const T &) const [with T=activemq::commands::ActiveMQDestination]" is hidden by "activemq::commands::ActiveMQTempDestination::equals" -- virtual function override intended? virtual bool equals(const DataStructure* value) const { amqcpp/include/activemq-cpp-3.5.0/activemq/commands/LocalTransactionId.h", line 76: warning #2997-D: function "decaf::lang::Comparable::equals(const T &) const [with T=activemq::commands::TransactionId]" is hidden by "activemq::commands::LocalTransactionId::equals" -- virtual function override intended? virtual bool equals( const DataStructure* value ) const; amqcpp/include/activemq-cpp-3.5.0/activemq/commands/LocalTransactionId.h", line 91: warning #2997-D: function "decaf::lang::Comparable::equals(const T &) const [with T=activemq::commands::TransactionId]" is hidden by "activemq::commands::LocalTransactionId::equals" -- virtual function override intended? virtual bool equals( const LocalTransactionId& value ) const; amqcpp/include/activemq-cpp-3.5.0/activemq/commands/LocalTransactionId.h", line 89: warning #2997-D: function "decaf::lang::Comparable::compareTo(const T &) const [with T=activemq::commands::TransactionId]" is hidden by "activemq::commands::LocalTransactionId::compareTo" -- virtual function override intended? virtual int compareTo( const LocalTransactionId& value ) const; amqcpp/include/activemq-cpp-3.5.0/activemq/commands/LocalTransactionId.h", line 93: warning #2997-D: function "decaf::lang::Comparable::operator==(const T &) const [with T=activemq::commands::TransactionId]" is hidden by "activemq::commands::LocalTransactionId::operator==" -- virtual function override intended? virtual bool operator==( const LocalTransactionId& value ) const; amqcpp/include/activemq-cpp-3.5.0/activemq/commands/LocalTransactionId.h", line 95: warning #2997-D: function "decaf::lang::Comparable::operator<(const T &) const [with T=activemq::commands::TransactionId]" is hidden by "activemq::commands::LocalTransactionId::operator<" -- virtual function override intended? virtual bool operator<( const LocalTransactionId& value ) const; When I run the program I get: aCC runtime: Unexpected exception of type "decaf::lang::exceptions::RuntimeException". aCC runtime: what(): Failed to Lock OS Mutex Abort(coredump) Looking at the back trace of the core dump I get: #0 0x60000000c01fa1b0:0 in _lwp_kill+0x30 () from /usr/lib/hpux32/libpthread.so.1 #1 0x60000000c0163a10:0 in pthread_kill+0x8d0 () from /usr/lib/hpux32/libpthread.so.1 #2 0x60000000c03005a0:0 in raise+0xe0 () from /usr/lib/hpux32/libc.so.1 #3 0x60000000c0420cd0:0 in abort+0x170 () from /usr/lib/hpux32/libc.so.1 #4 0x60000000c0dd0930:0 in std::terminate()+0x50 () from /usr/lib/hpux32/libCsup.so.1 #5 0x60000000c0dfa590:0 in std::unexpected()+0x50 () from /usr/lib/hpux32/libCsup.so.1 #6 0x60000000c0dd1b60:0 in __cxa_call_unexpected+0x200 () from /usr/lib/hpux32/libCsup.so.1 #7 0x60000000e29016d0:0 in decaf::lang::Exception::~Exception ( this=0x2000000040089510, _noname=0) at decaf/lang/Exception.cpp:105 #8 0x60000000e290aaa0:0 in decaf::lang::Exception::~Exception()+0x30 () at decaf/lang/Exception.cpp:105 #9 0x60000000e299a770:0 in decaf::lang::exceptions::RuntimeException::~RuntimeException (this=0x2000000040089510, _noname=0) at decaf/lang/exceptions/RuntimeException.cpp:30 #10 0x60000000c0dfab10:0 in __cxa_end_catch+0x190 () from /usr/lib/hpux32/libCsup.so.1 #11 0x60000000e2985310:0 in decaf::lang::Thread::~Thread ( this=0x2000000040019870, _noname=0) at decaf/lang/Thread.cpp:133 #12 0x60000000e2985610:0 in decaf::lang::Thread::~Thread()+0x40 () at decaf/lang/Thread.cpp:128 #13 0x60000000e28617b0:0 in decaf::internal::util::concurrent::Threading::shutdown () at decaf/internal/util/concurrent/Threading.cpp:843 #14 0x60000000e2713180:0 in decaf::lang::Runtime::shutdownRuntime () at decaf/internal/DecafRuntime.cpp:109 #15 0x60000000e1c19b30:0 in activemq::library::ActiveMQCPP::shutdownLibrary () at activemq/library/ActiveMQCPP.cpp:84 #16 0x400dc30:0 in main () at amqdriver.cpp:438 line 438 in my program is activemq::library::ActiveMQCPP::shutdownLibrary(); If I change it back to the 3.4.5.library it works fine, and I dont see anything in the release notes that changed with regard to this, so does anyone have any ideas? Thanks -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-cpp-3-5-0-not-working-on-HPUX-11-31-tp4661659.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.