From owner-freebsd-openoffice Tue Aug 20 1:41: 0 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 C325137B400; Tue, 20 Aug 2002 01:40:55 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B044A43E72; Tue, 20 Aug 2002 01:40:54 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.3/8.12.3) with ESMTP id g7K8eroU008732; Tue, 20 Aug 2002 10:40:53 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by nbs.imp.ch (8.12.3/8.12.3) with ESMTP id g7K8eqYW959481; Tue, 20 Aug 2002 10:40:52 +0200 (MES) Date: Tue, 20 Aug 2002 10:42:27 +0200 (CEST) From: Martin Blapp To: Cc: , Subject: Exceptions problems with gcc3.1.1. try/catch does not work in all cases In-Reply-To: <200208192001.25984.kevin.hendricks@sympatico.ca> Message-ID: <20020820102831.O34509-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 all / Alexander, > Kevin B. Hendricks wrote > > I would say either your bridge code is broken the walk back of the > exception handler is not finding the proper "try" clause for some > reason. > The bridge code should be fine as it works in Linux with gcc3.1.1. > The catching of exceptions thrown by code not in the current frame was > broken oat one point in ppc gcc 2.95.4 and it had similar symptoms. #0 0x28b8b888 in kill () from /usr/lib/libc_r.so.4 #1 0x28bdaade in abort () from /usr/lib/libc_r.so.4 #2 0x28ad5b3b in __cxxabiv1::__terminate(void (*)()) (handler=0x28bdaa84 ) at ../../../../gcc-3.1.1/libstdc++-v3/libsupc++/eh_terminate.cc:47 #3 0x28ad5b6b in std::terminate() () at ../../../../gcc-3.1.1/libstdc++-v3/libsupc++/eh_terminate.cc:57 #4 0x28ad5c59 in __cxa_throw () at ../../../../gcc-3.1.1/libstdc++-v3/libsupc++/eh_throw.cc:77 #5 0x2a8fb438 in SfxFrameLoader::detect(com::sun::star::uno::Sequence&) (this=0x80f9400, lDescriptor=@0xbfbfea70) at /usr/ports/editors/openoffice/work/oo_1.0.1_src/sfx2/source/view/frmload.cxx:763 #6 0x2ba218cc in framework::TypeDetection::queryTypeByDescriptor(com::sun::star::uno::Sequence&, unsigned char) () from /usr/local/OpenOffice.org1.0/program//libfwl641fi.so #7 0x2b8d8ff5 in framework::BaseDispatcher::implts_detectType(com::sun::star::util::URL const&, com::sun::star::uno::Sequence&, unsigned char) () from /usr/local/OpenOffice.org1.0/program//libfwk641fi.so #8 0x2b8dda5a in framework::BlankDispatcher::dispatch(com::sun::star::util::URL const&, com::sun::star::uno::Sequence const&) () from /usr/local/OpenOffice.org1.0/program//libfwk641fi.so (gdb) frame 5 #5 0x2a8fb438 in SfxFrameLoader::detect(com::sun::star::uno::Sequence&) (this=0x80f9400, lDescriptor=@0xbfbfea70) at /usr/ports/editors/openoffice/work/oo_1.0.1_src/sfx2/source/view/frmload.cxx:763 763 throw exPacked; Current language: auto; currently c++ (gdb) list 758 // when access to medium gives an error, the filter can't be valid 759 pFilter = NULL; 760 ::com::sun::star::lang::WrappedTargetRuntimeException exPacked; 761 ::com::sun::star::ucb::CommandAbortedException exAbort ; 762 exPacked.TargetException <<= exAbort; 763 throw exPacked; 764 } 765 766 // may be - w4w filter dont close these stream right 767 // so we should do that here. Do you know more here ? Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message