From owner-freebsd-openoffice Thu Oct 10 10:46:13 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 AF0A837B401; Thu, 10 Oct 2002 10:46:11 -0700 (PDT) Received: from tomts12-srv.bellnexxia.net (tomts12.bellnexxia.net [209.226.175.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id E716D43E88; Thu, 10 Oct 2002 10:46:10 -0700 (PDT) (envelope-from kevin.hendricks@sympatico.ca) Received: from localhost.localdomain ([65.93.135.49]) by tomts12-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20021010174609.ECYK12002.tomts12-srv.bellnexxia.net@localhost.localdomain>; Thu, 10 Oct 2002 13:46:09 -0400 Content-Type: text/plain; charset="iso-8859-1" From: "Kevin B. Hendricks" To: dev@porting.openoffice.org, Martin Blapp Subject: Re: [porting-dev] FreeBSD: Uncatched exception problem Date: Thu, 10 Oct 2002 13:45:34 -0400 X-Mailer: KMail [version 1.4] Cc: , , References: <20021010192739.S15308-100000@levais.imp.ch> In-Reply-To: <20021010192739.S15308-100000@levais.imp.ch> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200210101345.34225.kevin.hendricks@sympatico.ca> 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, What happens if you change the catch in basedispatcher.cxx to be simply catch everything catch ( ... ) And see if it gets reached then. If not, then there is a problem in the BSD stack walkback code that OOo seems to tickle. If so, then there is some disagreement in the exception type that we must track down. Kevin On October 10, 2002 01:36, Martin Blapp wrote: > Hi, > > > So it would be interesting to change this catch to catch everything > > just to make sure the stack walkback to find the catch is close to > > working and then check the type of the exception. > > Doesn't work. been there, but are you sure it is the right "try" we are > looking at ? But it is strange ... > > printf("try XXX - 1\n"); > sTypeName = xDetection->queryTypeByDescriptor( lDescriptor, > bDeep ); // If no exception occure - but we couldn't detect right type > ... // we can try to get neccessary information by using interaction // > An interaction handler should exist everytime. > // If user forgot to set anyone - we created our own one > some lines printf("try XXX - 2\n"); > > try XXX - 1 > Abort trap (core dumped) > > Only the first point is hit ... > > > I would simply add debug print statements to these two methods to > > confirm if the catch is made but somehow it is not an exAbort and so > > another throw is done. If you do not get the right catch, try > > changeing it to catch everything "..." and the print out the type of > > whatever is caught. > > Nope, the catch is never reached. > > Martin > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@porting.openoffice.org > For additional commands, e-mail: dev-help@porting.openoffice.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message