Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2002 10:42:27 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        <kan@freebsd.org>
Cc:        <openoffice@freebsd.org>, <current@freebsd.org>
Subject:   Exceptions problems with gcc3.1.1. try/catch does not work in all cases
Message-ID:  <20020820102831.O34509-100000@levais.imp.ch>
In-Reply-To: <200208192001.25984.kevin.hendricks@sympatico.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi all / Alexander,

> Kevin B. Hendricks <kevin.hendricks@sympatico.ca> 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
<abort>) 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<com::sun::star::beans::PropertyValue>&)
(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<com::sun::star::beans::PropertyValue>&,
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<com::sun::star::beans::PropertyValue>&, 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<com::sun::star::beans::PropertyValue>
const&) () from /usr/local/OpenOffice.org1.0/program//libfwk641fi.so

(gdb) frame 5
#5  0x2a8fb438 in
SfxFrameLoader::detect(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>&)
(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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020820102831.O34509-100000>