Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2002 00:59:35 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        <dev@porting.openoffice.org>
Cc:        <kan@freebsd.org>, <openoffice@freebsd.org>
Subject:   Re: [porting-dev] FreeBSD: 3 different crashes in OO.1.0.1
Message-ID:  <20020829000754.V874-100000@levais.imp.ch>
In-Reply-To: <20020828152336.H874-100000@levais.imp.ch>

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


New debugging results:

(gdb) run
Starting program: /usr/local/OpenOffice.org1.0/program/soffice.bin
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
generated rtti for N3com3sun4star3ucb31InteractiveAugmentedIOExceptionE
> toUNOname(): N3com3sun4star3ucb31InteractiveAugmentedIOExceptionE =>
com.sun.star.ucb.InteractiveAugmentedIOException
> toUNOname(): N3com3sun4star3ucb31InteractiveAugmentedIOExceptionE =>
com.sun.star.ucb.InteractiveAugmentedIOException
> toUNOname(): N3com3sun4star3ucb31InteractiveAugmentedIOExceptionE =>
com.sun.star.ucb.InteractiveAugmentedIOException
> toUNOname(): N3com3sun4star3ucb31InteractiveAugmentedIOExceptionE =>
com.sun.star.ucb.InteractiveAugmentedIOException
> toUNOname(): N3com3sun4star5beans24UnknownPropertyExceptionE =>
com.sun.star.beans.UnknownPropertyException
> toUNOname(): N3com3sun4star5beans24UnknownPropertyExceptionE =>
com.sun.star.beans.UnknownPropertyException

I get this during startup ... Hmm. I thought rtti has been disabled
for most places ...

I set one breakpoint:

b frmload.cxx:755

Breakpoint 1, SfxFrameLoader::detect(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>&) (this=0x298eda50, lDescriptor=@0xbfbfea90)
    at /usr/ports/editors/openoffice/work/oo_1.0.1_src/sfx2/source/view/frmload.cxx:756
756             if ( aMedium.GetErrorCode() != ERRCODE_NONE )

(gdb) n
0x2a798210 in _init () from /usr/local/OpenOffice.org1.0/program/libsfx641fi.so
(gdb) n
Single stepping until exit from function _init,
which has no line number information.
SfxFrameLoader::detect(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>&) (this=0x298eda50, lDescriptor=@0xbfbfea90)
    at /usr/ports/editors/openoffice/work/oo_1.0.1_src/sfx2/source/view/frmload.cxx:759
759                 pFilter = NULL;
(gdb) n
33          : ::com::sun::star::uno::RuntimeException()

(gdb) list
28      {
29      namespace lang
30      {
31
32      inline WrappedTargetRuntimeException::WrappedTargetRuntimeException() SAL_THROW( () )
33          : ::com::sun::star::uno::RuntimeException()
34          , TargetException()
35      { }
36
37      inline WrappedTargetRuntimeException::WrappedTargetRuntimeException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context, const ::com::sun::star::uno::Any& __TargetException) SAL_THROW( () )

(gdb) n
131             pData = 0;

(gdb) n
131             pData = 0;
(gdb) list
126         /**
127           New string containing no characters.
128         */
129         OUString() SAL_THROW(())
130         {
131             pData = 0;
132             rtl_uString_new( &pData );
133         }
134
135         /**


(gdb) n
132             rtl_uString_new( &pData );

(gdb) list
127           New string containing no characters.
128         */
129         OUString() SAL_THROW(())
130         {
131             pData = 0;
132             rtl_uString_new( &pData );
133         }
134
135         /**
136           New string from OUString.

(gdb) n
0x2a7a5fd0 in _init () from /usr/local/OpenOffice.org1.0/program/libsfx641fi.so

(gdb) list
137
138           @param    str         a OUString.
139         */
140         OUString( const OUString & str ) SAL_THROW(())
141         {
142             pData = str.pData;
143             rtl_uString_acquire( pData );
144         }
145
146         /**

(gdb) n
Single stepping until exit from function _init,
which has no line number information.
SfxFrameLoader::detect(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>&) (this=0x298eda50, lDescriptor=@0xbfbfea90)
    at /usr/ports/editors/openoffice/work/oo_1.0.1_src/solver/641/unxfbsd.pro/inc/com/sun/star/uno/Reference.hxx:141
141             _pInterface = 0;

(gdb) list
136     }
137     //__________________________________________________________________________________________________
138     template< class interface_type >
139     inline Reference< interface_type >::Reference() SAL_THROW( () )
140     {
141             _pInterface = 0;
142     }
143     //__________________________________________________________________________________________________
144     template< class interface_type >
145     inline Reference< interface_type >::Reference( const Reference< interface_type > & rRef ) SAL_THROW( () )


(gdb) n
92      {

(gdb) list
87      namespace uno
88      {
89
90      //__________________________________________________________________________________________________
91      inline Any::Any() SAL_THROW( () )
92      {
93              ::uno_any_construct( this, 0, 0, (uno_AcquireFunc)cpp_acquire );
94      }
95      //__________________________________________________________________________________________________
96      inline Any::Any( const Any & rAny ) SAL_THROW( () )

(gdb) n
93              ::uno_any_construct( this, 0, 0, (uno_AcquireFunc)cpp_acquire );
(gdb) n
0x2a7a0ef0 in _init () from /usr/local/OpenOffice.org1.0/program/libsfx641fi.so
(gdb) n
Single stepping until exit from function _init,
which has no line number information.
SfxFrameLoader::detect(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>&) (this=0x298eda50, lDescriptor=@0xbfbfea90)
    at /usr/ports/editors/openoffice/work/oo_1.0.1_src/solver/641/unxfbsd.pro/inc/com/sun/star/ucb/CommandAbortedException.hpp:30
30          : ::com::sun::star::uno::Exception()

(gdb) list
25      {
26      namespace ucb
27      {
28
29      inline CommandAbortedException::CommandAbortedException() SAL_THROW( () )
30          : ::com::sun::star::uno::Exception()
31      { }
32
33      inline CommandAbortedException::CommandAbortedException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context) SAL_THROW( () )
34          : ::com::sun::star::uno::Exception(__Message, __Context)

(gdb) n
131             pData = 0;

(gdb) list
126         /**
127           New string containing no characters.
128         */
129         OUString() SAL_THROW(())
130         {
131             pData = 0;
132             rtl_uString_new( &pData );
133         }
134
135         /**

(gdb) n
132             rtl_uString_new( &pData );
(gdb) n
0x2a7a5fd0 in _init () from /usr/local/OpenOffice.org1.0/program/libsfx641fi.so
(gdb) n
Single stepping until exit from function _init,
which has no line number information.
SfxFrameLoader::detect(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>&) (this=0x298eda50, lDescriptor=@0xbfbfea90)
    at /usr/ports/editors/openoffice/work/oo_1.0.1_src/solver/641/unxfbsd.pro/inc/com/sun/star/uno/Reference.hxx:141
141             _pInterface = 0;

(gdb) list
136     }
137     //__________________________________________________________________________________________________
138     template< class interface_type >
139     inline Reference< interface_type >::Reference() SAL_THROW( () )
140     {
141             _pInterface = 0;
142     }
143     //__________________________________________________________________________________________________
144     template< class interface_type >
145     inline Reference< interface_type >::Reference( const Reference< interface_type > & rRef ) SAL_THROW( () )

(gdb) n
193     {
(gdb) n
52          if ( !s_pType_com_sun_star_ucb_CommandAbortedException )
(gdb) n
54              typelib_static_compound_type_init( &s_pType_com_sun_star_ucb_CommandAbortedException, typelib_TypeClass_EXCEPTION, "com.sun.star.ucb.CommandAbortedException", * ::typelib_static_type_getByTypeClass( typelib_TypeClass_EXCEPTION ), 0,  0 );
(gdb) n
0x2a7975f0 in _init () from /usr/local/OpenOffice.org1.0/program/libsfx641fi.so
(gdb) n
Single stepping until exit from function _init,
which has no line number information.
0x2a7949f0 in _init () from /usr/local/OpenOffice.org1.0/program/libsfx641fi.so
(gdb) n
Single stepping until exit from function _init,
which has no line number information.

(gdb) n
193     {
(gdb) list
188     }
189
190     //__________________________________________________________________________________________________
191     template< class C >
192     inline void SAL_CALL operator <<= ( Any & rAny, const C & value ) SAL_THROW( () )
193     {
194             const Type & rType = ::getCppuType( &value );
195             ::uno_type_any_assign(
196                     &rAny, const_cast< C * >( &value ), rType.getTypeLibType(),
197             (uno_AcquireFunc)cpp_acquire, (uno_ReleaseFunc)cpp_release );

52          if ( !s_pType_com_sun_star_ucb_CommandAbortedException )
(gdb) list
47      {
48          #if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))
49          static typelib_TypeDescriptionReference * s_pType_com_sun_star_ucb_CommandAbortedException = 0;
50          #endif
51
52          if ( !s_pType_com_sun_star_ucb_CommandAbortedException )
53          {
54              typelib_static_compound_type_init( &s_pType_com_sun_star_ucb_CommandAbortedException, typelib_TypeClass_EXCEPTION, "com.sun.star.ucb.CommandAbortedException", * ::typelib_static_type_getByTypeClass( typelib_TypeClass_EXCEPTION ), 0,  0 );
55          }
56          return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_ucb_CommandAbortedException );
(gdb)

54              typelib_static_compound_type_init( &s_pType_com_sun_star_ucb_CommandAbortedException, typelib_TypeClass_EXCEPTION, "com.sun.star.ucb.CommandAbortedException", * ::typelib_static_type_getByTypeClass( typelib_TypeClass_EXCEPTION ), 0,  0 );
(gdb) list
49          static typelib_TypeDescriptionReference * s_pType_com_sun_star_ucb_CommandAbortedException = 0;
50          #endif
51
52          if ( !s_pType_com_sun_star_ucb_CommandAbortedException )
53          {
54              typelib_static_compound_type_init( &s_pType_com_sun_star_ucb_CommandAbortedException, typelib_TypeClass_EXCEPTION, "com.sun.star.ucb.CommandAbortedException", * ::typelib_static_type_getByTypeClass( typelib_TypeClass_EXCEPTION ), 0,  0 );
55          }
56          return * reinterpret_cast< const ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_ucb_CommandAbortedException );
57      }
58
(gdb) n
0x2a7975f0 in _init () from /usr/local/OpenOffice.org1.0/program/libsfx641fi.so
(gdb) list
59      #endif // _COM_SUN_STAR_UCB_COMMANDABORTEDEXCEPTION_HPP_

(gdb) n
Single stepping until exit from function _init,
which has no line number information.
0x2a7949f0 in _init () from /usr/local/OpenOffice.org1.0/program/libsfx641fi.so
(gdb) list
Line number 60 out of range; /usr/ports/editors/openoffice/work/oo_1.0.1_src/solver/641/unxfbsd.pro/inc/com/sun/star/ucb/CommandAbortedException.hpp has 59 lines.

Program received signal SIGABRT, Aborted.
0x28b34894 in kill () from /usr/lib/libc_r.so.4


Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 061 826 93 00: +41 61 826 93 01
PGP: <finger -l mbr@freebsd.org>
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




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