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 2C0B7757A for ; Tue, 9 Aug 2011 22:24:32 +0000 (UTC) Received: (qmail 77988 invoked by uid 500); 9 Aug 2011 22:24:31 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 77949 invoked by uid 500); 9 Aug 2011 22:24:30 -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 77941 invoked by uid 99); 9 Aug 2011 22:24:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 22:24:30 +0000 X-ASF-Spam-Status: No, hits=4.5 required=5.0 tests=HTML_MESSAGE,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of sebastien.jourdain@kitware.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2011 22:24:26 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QquiT-0007l6-Jk for users@activemq.apache.org; Tue, 09 Aug 2011 15:24:05 -0700 Date: Tue, 9 Aug 2011 15:24:05 -0700 (PDT) From: Seb To: users@activemq.apache.org Message-ID: In-Reply-To: <1312927800.2751.9.camel@office> References: <1312904313202-3730337.post@n4.nabble.com> <1312920859734-3731119.post@n4.nabble.com> <1312921340.2751.4.camel@office> <1312923006.2751.6.camel@office> <1312927800.2751.9.camel@office> Subject: Re: Segfault with ActiveMQ-CPP 3.4.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_37977_12560389.1312928645602" ------=_Part_37977_12560389.1312928645602 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Tim, The "throw()" that I'm talking about it because the API has changed between activemq-cpp 3.1.x and activemq-cpp 3.4. Now (3.4) the signature of the onMessage method and the destructor of the MessageListener expect to throw an exception which was not the case previously. So I was wondering if a #defined was added when that API has changed, so I can use it in my code to support any version of activemq-cpp. Regarding, the trunk, on my Mac/Lion my application is still not functional, but as I don't have any minimal use case, I will let that on the side for now. Thanks again, Seb On Tue, Aug 9, 2011 at 6:10 PM, tabish121@gmail.com [via ActiveMQ] wrote: > On Tue, 2011-08-09 at 14:57 -0700, Seb wrote: >> Hi Tim, >> >> So I give a try on Linux Ubuntu 9.4 with gcc 4.4.1 with the svn trunk >> of activemq-cpp. >> >> I still get the same runtime error in the "createThreadInstance" with >> the sample code. >> >> Although, when I use my code with the fix ( "throw()" added), it works >> just fine. >> >> So I have 3 questions: >> - what is the test that you are doing to validate that activemq-cpp is >> fully working on the different targeted platform. >> - what version should I use if my application target all Unix platform >> ? (Mac OS X (Leo, Snow Leo, Lion), Linux) >> - Is there any #define that I can use to add dynamically that >> "throw()" in my code based on a #ifdef >> >> Anyway, thanks for your help, >> >> Seb >> >> > If using a plain linux box then I'd use v3.4.0 as trunk is generally > unstable. > > Don't know what throw() change you are making. > > For Mac trunk has the fixes needed for building on Mac which you could > backport to 3.4.0. =C2=A0Once done then the unit and integration tests ca= n be > run to validate. > > Regards > > -- > Tim Bish > ------------ > FuseSource > Email: [hidden email] > Web: http://fusesource.com > Twitter: tabish121 > Blog: http://timbish.blogspot.com/ > > > > > > ________________________________ > If you reply to this email, your message will be added to the discussion > below: > http://activemq.2283324.n4.nabble.com/Segfault-with-ActiveMQ-CPP-3-4-0-tp= 3730337p3731429.html > To unsubscribe from Segfault with ActiveMQ-CPP 3.4.0, click here. -- View this message in context: http://activemq.2283324.n4.nabble.com/Segfaul= t-with-ActiveMQ-CPP-3-4-0-tp3730337p3731462.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. ------=_Part_37977_12560389.1312928645602--