From owner-freebsd-openoffice Thu Oct 10 5: 4:35 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 AC7A637B401; Thu, 10 Oct 2002 05:04:32 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DC3743EB1; Thu, 10 Oct 2002 05:04:30 -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 g9AC4RkE084303; Thu, 10 Oct 2002 14:04:28 +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 g9AC4R751427923; Thu, 10 Oct 2002 14:04:27 +0200 (MES) Date: Thu, 10 Oct 2002 14:05:29 +0200 (CEST) From: Martin Blapp To: , Cc: , Subject: FreeBSD: Uncatched exception problem Message-ID: <20021010135115.R15308-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 I'm again trying to solve this. A thing I do not understan is, that frame 4 shows __cxa_rethrow, but in single stepping I never hit it, and also the breakpoint I hit was not this one. Does this bring more light into this difficult bug ? #0 0x28c30d5b in kill () from /usr/lib/libc.so.5 #1 0x28c8fa44 in abort () from /usr/lib/libc.so.5 #2 0x28ba8c8f in __cxxabiv1::__terminate(void (*)()) (handler=0x28c8f9d8 ) at /usr/src/contrib/libstdc++/libsupc++/eh_terminate.cc:47 #3 0x28ba8cd0 in __cxxabiv1::__unexpected(void (*)()) (handler=0x8125e30) at /usr/src/contrib/libstdc++/libsupc++/eh_terminate.cc:57 #4 0x28ba8c04 in __cxa_rethrow () at /usr/src/contrib/libstdc++/libsupc++/eh_throw.cc:77 #5 0x2aa36ac7 in SfxFrameLoader::detect(com::sun::star::uno::Sequence&) () from /usr/local/OpenOffice.org1.0/program//libsfx641fi.so Then I set a break for __cxa_rethrow and __cxa_throw. Breakpoint 1, __cxa_throw (obj=0x8128250, tinfo=0x2ab68dec, dest=0x2aa38f2c ) at /usr/src/contrib/libstdc++/libsupc++/eh_throw.cc:58 58 __cxa_exception *header = __get_exception_header_from_obj (obj); Current language: auto; currently c++ (gdb) p obj $6 = (void *) 0x8128250 (gdb) p *dest $5 = {void ( void *)} 0x2aa38f2c (gdb) p *tinfo $2 = {_vptr$type_info = 0x28bbc668, __name = 0x2ab554e0 "N3com3sun4star4lang29WrappedTargetRuntimeExceptionE"} (gdb) n 59 header->exceptionType = tinfo; (gdb) n 60 header->exceptionDestructor = dest; (gdb) n 61 header->unexpectedHandler = __unexpected_handler; (gdb) n 62 header->terminateHandler = __terminate_handler; (gdb) n 63 header->unwindHeader.exception_class = __gxx_exception_class; (gdb) n 64 header->unwindHeader.exception_cleanup = __gxx_exception_cleanup; (gdb) n 66 __cxa_eh_globals *globals = __cxa_get_globals (); (gdb) n 0x28b7894c in _init () from /usr/lib/libstdc++.so.4 __cxa_throw (obj=0x8128250, tinfo=0x2ab68dec, dest=0x2aa38f2c ) at /usr/src/contrib/libstdc++/libsupc++/eh_throw.cc:67 67 globals->uncaughtExceptions += 1; (gdb) n 72 _Unwind_RaiseException (&header->unwindHeader); (gdb) n 0x28b777bc in _init () from /usr/lib/libstdc++.so.4 (gdb) n Single stepping until exit from function _init, which has no line number information. __cxa_throw (obj=0x8128250, tinfo=0x2ab68dec, dest=0x2aa38f2c ) at /usr/src/contrib/libstdc++/libsupc++/eh_throw.cc:76 76 __cxa_begin_catch (&header->unwindHeader); (gdb) n 0x28b782dc in _init () from /usr/lib/libstdc++.so.4 (gdb) n Single stepping until exit from function _init, which has no line number information. Martin Martin Blapp, ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 061 826 93 00: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message