From owner-freebsd-openoffice Fri Oct 11 0:35:43 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21AE937B401; Fri, 11 Oct 2002 00:35:42 -0700 (PDT) Received: from nwkea-mail-2.sun.com (nwkea-mail-2.sun.com [192.18.42.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B44743EB2; Fri, 11 Oct 2002 00:35:41 -0700 (PDT) (envelope-from joerg.barfurth@sun.com) Received: from hamburg-mail1.germany.sun.com ([129.157.136.19]) by nwkea-mail-2.sun.com (8.9.3+Sun/8.9.3) with ESMTP id AAA02526; Fri, 11 Oct 2002 00:35:39 -0700 (PDT) Received: from sun.com (sr-eham02-01 [129.157.136.30]) by hamburg-mail1.germany.sun.com (8.11.6+Sun/8.10.2/ENSMAIL,v2.1p1) with ESMTP id g9B7ZMR26202; Fri, 11 Oct 2002 09:35:38 +0200 (MEST) Message-ID: <3DA67F39.2050704@sun.com> Date: Fri, 11 Oct 2002 09:35:21 +0200 From: Joerg Barfurth User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.0) Gecko/20020611 X-Accept-Language: de-de, de, en-us, en, fr, ru MIME-Version: 1.0 Newsgroups: openoffice.porting.dev To: kevin.hendricks@sympatico.ca Cc: Martin Blapp , Alexander Kabaev , openoffice@FreeBSD.ORG, kan@FreeBSD.ORG Subject: Re: [porting-dev] FreeBSD: Uncatched exception problem References: <20021011004639.F15308-100000@levais.imp.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Kevin, Kevin B. Hendricks wrote: > Hi Martin, > > I took another look at the QueryTypeByDescriptor routine in > framework/source/services/typedetection.cxx > > If I am reading this correctly, we are making the call to detect which > throws the exception via the component interface (the gcc bridge?). It is using the component interface, but that does not mean that calls go through the bridge. If all components involved are C++ the call is a simple C++ call. BTW: Otherwise you should see bridge code on the stack. > Here is the relevant snippet: > > Reference< ::com::sun::star::document::XExtendedFilterDetection > > xDetector( m_xFactory->createInstance( sDetectorName ), UNO_QUERY ); > if( xDetector.is() == sal_True ) > > ... > OUString sDetectorDecision = xDetector->detect( seqDescriptor ); > > > If so, then even though the gcc3 bridge code passed its tests, I do think > we should take another look at it and write another test case that tries > to walk the backtrace over the bridge code just to make sure the bridge > code is not the culprit here. I think that won't help. But you are right in that the lib will most likely have been dlopened rather than directly linked. (Or maybe even both ? Does fwk link against sfx or vice versa ?) HTH, Jörg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message