need help with debugging

Stephan Bergmann sbergman at redhat.com
Mon Mar 11 04:19:32 PDT 2013


On 03/11/2013 10:12 AM, Matúš Kukan wrote:
> I am quite ashamed I still have no idea how to debug properly.
> Maybe someone here could teach me a bit.
>
> I've this cross-compiled --enable-mergelibs backtrace and no idea what
> to learn from it.
> It does not happen without --enable-mergelibs.

Hard to give any better advice here than "cppu_detail_getUnoType rang a 
bell about ODR violations and 
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=dee53a32a9feba2021782db5762b5a9a034efae4> 
'Temporary hack around cppu_detail_getCppuType variants violating ODR.'" 
  Should be fixed now with 
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=8d7cc6792aa84003e5f2e09c1f1baa7657de9621> 
"css.beans.PropertyValue references css.beans.PropertyState."

Stephan

> Program received signal SIGSEGV, Segmentation fault.
> 0x44c76644 in (anonymous namespace)::newTypeDescription
> (ppRet=0xbeffeb74, eTypeClass=typelib_TypeClass_STRUCT,
> pTypeName=0x47c90f18, pType=0x0, nMembers=4, pCompoundMembers=0x0,
> pStructMembers=0xbeffeb34)
>      at /home/matus/git/libo-cross/cppu/source/typelib/typelib.cxx:862
> 862	/home/matus/git/libo-cross/cppu/source/typelib/typelib.cxx: No
> such file or directory.
> (gdb) bt
> #0  0x44c76644 in (anonymous namespace)::newTypeDescription
> (ppRet=0xbeffeb74, eTypeClass=typelib_TypeClass_STRUCT,
> pTypeName=0x47c90f18, pType=0x0, nMembers=4, pCompoundMembers=0x0,
> pStructMembers=0xbeffeb34)
>      at /home/matus/git/libo-cross/cppu/source/typelib/typelib.cxx:862
> #1  0x44c76908 in typelib_typedescription_newStruct (ppRet=0xbeffeb74,
> pTypeName=0x47c90f18, pType=0x0, nMembers=4, pMembers=0xbeffeb34) at
> /home/matus/git/libo-cross/cppu/source/typelib/typelib.cxx:919
> #2  0x407877d4 in
> com::sun::star::beans::detail::thePropertyValueType::operator()
> (this=0xbeffebec) at
> /home/matus/git/libo-cross/solver/unxlngr.pro/inc/udkapi/com/sun/star/beans/PropertyValue.hpp:62
> #3  0x40787a34 in rtl::StaticWithInit<com::sun::star::uno::Type*,
> com::sun::star::beans::detail::thePropertyValueType,
> com::sun::star::beans::detail::thePropertyValueType,
> com::sun::star::uno::Type*>::get ()
>      at /home/matus/git/libo-cross/solver/unxlngr.pro/inc/rtl/instance.hxx:603
> #4  0x407878c0 in com::sun::star::beans::cppu_detail_getUnoType () at
> /home/matus/git/libo-cross/solver/unxlngr.pro/inc/udkapi/com/sun/star/beans/PropertyValue.hpp:73



More information about the LibreOffice mailing list