https://bugs.freedesktop.org/show_bug.cgi?id=61155
Priority: medium
Bug ID: 61155
Assignee: [email protected]
Summary: When compiled with the base compiler (gcc-4.2.1)
soffice.bin segfaults at startup
Severity: critical
Classification: Unclassified
OS: FreeBSD
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: UNCONFIRMED
Version: 3.6.5.2 release
Component: Libreoffice
Product: LibreOffice
configure-script is run with the following arguments:
--with-unix-wrapper="libreoffice" --disable-fetch-external
--with-build-version="FreeBSD ports 3.6.5_2" --with-vendor="FreeBSD ports
3.6.5_2" --exec-prefix=/opt --with-gnu-patch=/opt/bin/gpatch
--with-external-tar=/usr/ports/distfiles/libreoffice
--with-num-cpus=`/sbin/sysctl -n kern.smp.cpus`
--with-solver-and-workdir-root=/home/tmp/lobuild --with-system-boost
--with-system-clucene --with-system-mdds --with-system-lcms2
--with-system-libcdr --with-system-libxml --with-system-cairo
--enable-cairo-canvas --with-system-zlib --with-system-icu --with-system-db
--with-system-jpeg --with-system-expat --with-system-openssl
--with-system-curl --with-system-libvisio --with-system-libwpd
--with-system-libwpg --with-system-libwps --with-system-poppler
--with-system-redland --with-system-hunspell --with-system-mythes
--with-system-altlinuxhyph --with-system-libexttextcat --with-system-lpsolve
--with-system-vigra --with-alloc=system --with-system-stdlibs
--with-system-mesa-headers --disable-epm --disable-mozilla
--disable-build-mozilla --without-system-mozilla --without-fonts
--without-afms --without-stlport --disable-kde --disable-kdeab
--with-system-nss --without-myspell-dicts --with-system-dicts
--disable-dependency-tracking --with-external-thes-dir=/opt/share/mythes
--with-external-hyph-dir=/opt/share/hyphen
--with-external-dict-dir=/opt/share/hunspell --disable-zenity
--enable-graphite --with-system-graphite --enable-gio --disable-nsplugin
--disable-linkoo --disable-online-update --with-system-gettext
--with-system-libpng --disable-gnome-vfs --enable-python=system
--enable-ext-pdfimport --enable-cups --without-ppds --enable-postgresql-sdbc
--with-system-postgresql --disable-systray --enable-gstreamer
--enable-librsvg=system --enable-gtk --disable-gtk3 --enable-neon
--with-system-neon --disable-kde4 --enable-gconf --without-java
--disable-mergelibs --disable-odk --enable-release-build
--with-qt-includes=/opt/include/qt4 --with-qt-libraries=/opt/lib/qt4
--with-extra-libs=/opt/lib --with-extra-includes=/opt/include
--with-system-cppunit --x-libraries=/opt/lib
--x-includes=/opt/include --prefix=/opt
The build and install both succeed, but the application refuses to come up --
only the splash-screen appears. After the attempt, the core-file -- dumped by
the soffice.bin process -- can be found in the working directory.
According to the debugger:
(gdb) bt full
#0 0x00000008021af9cc in com::sun::star::uno::Type::getTypeClass (this=0x0)
at Type.h:147
No locals.
#1 0x00000008021ae5d4 in __getTypeEntries (cd=0x801ed5240)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/cppuhelper/source/implbase_ex.cxx:108
pEntry = (cppu::type_entry *) 0x801ed5268
rType = (const com::sun::star::uno::Type &) @0x0: Error accessing
memory address 0x0: Bad address.
(gdb) where
#0 0x00000008021af9cc in com::sun::star::uno::Type::getTypeClass (this=0x0)
at Type.h:147
#1 0x00000008021ae5d4 in __getTypeEntries (cd=0x801ed5240)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/cppuhelper/source/implbase_ex.cxx:108
#2 0x00000008021af271 in __queryDeepNoXInterface (pDemandedTDR=0x80d4a1880,
cd=0x801ed5240, that=0x80e3ff8c0)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/cppuhelper/source/implbase_ex.cxx:186
#3 0x00000008021af7b6 in cppu::WeakImplHelper_query (rType=@0x80d43bdb8,
cd=0x801ed5240, that=0x80e3ff8c0, pBase=0x80e3ff8c0)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/cppuhelper/source/implbase_ex.cxx:344
#4 0x0000000811b5bbdc in
cppu::WeakImplHelper1<com::sun::star::lang::XEventListener>::queryInterface
(this=0x80e3ff8c0, rType=@0x80d43bdb8)
at implbase1.hxx:115
#5 0x000000080215b573 in com::sun::star::uno::BaseReference::iquery (
pInterface=0x80e3ff8e8, rType=@0x80d43bdb8) at Reference.hxx:52
#6 0x00000008021b40e8 in
com::sun::star::uno::Reference<com::sun::star::lang::XEventListener>::iquery
(pInterface=0x80e3ff8e8) at Reference.hxx:67
#7 0x00000008021b410f in Reference (this=0x7fffffffc8a0,
pInterface=0x80e3ff8e8) at Reference.hxx:163
#8 0x00000008021b188a in cppu::OInterfaceContainerHelper::disposeAndClear (
this=0x80d7eede0, rEvt=@0x7fffffffc9b0)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/cppuhelper/source/interfacecontainer.cxx:323
#9 0x00000008021b1c0d in
cppu::OMultiTypeInterfaceContainerHelper::disposeAndClear (this=0x80d4a4648,
rEvt=@0x7fffffffc9b0)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/cppuhelper/source/interfacecontainer.cxx:500
#10 0x00000008021713e2 in cppu::OComponentHelper::dispose (this=0x80d4a4600)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/cppuhelper/source/component.cxx:185
#11 0x00000008021a6132 in cppu::OFactoryComponentHelper::dispose (
this=0x80d4a4600)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/cppuhelper/source/factory.cxx:516
#12 0x0000000811b4de43 in stoc_smgr::OServiceManager::disposing (
this=0x80d7e7fc0)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/stoc/source/servicemanager/servicemanager.cxx:923
#13 0x00000008021ac9cd in cppu::WeakComponentImplHelperBase::dispose (
this=0x80d7e7fc0)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/cppuhelper/source/implbase.cxx:277
#14 0x0000000811b5e25d in
cppu::WeakComponentImplHelper7<com::sun::star::lang::X
MultiServiceFactory, com::sun::star::lang::XMultiComponentFactory,
com::sun::star::lang::XServiceInfo, com::sun::star::lang::XInitialization,
com::sun::star::container::XSet,
com::sun::star::container::XContentEnumerationAccess,
com::sun::star::beans::XPropertySet>::dispose (this=0x80d7e7fc0) at
compbase7.hxx:78
#15 0x0000000811b49911 in stoc_smgr::OServiceManager::dispose (
this=0x80d7e7fc0)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/stoc/source/servicemanager/servicemanager.cxx:904
#16 0x0000000811b4994d in stoc_smgr::ORegistryServiceManager::dispose (
this=0x80d7e7fc0)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/stoc/source/servicemanager/servicemanager.cxx:1619
#17 0x00000008021ad34e in cppu::WeakComponentImplHelperBase::release (
this=0x80d7e7fc0)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/cppuhelper/source/implbase.cxx:248
#18 0x0000000811b5e2f3 in
cppu::WeakComponentImplHelper7<com::sun::star::lang::XMultiServiceFactory,
com::sun::star::lang::XMultiComponentFactory,
com::sun::star::lang::XServiceInfo, com::sun::star::lang::XInitialization,
com::sun::star::container::XSet,
com::sun::star::container::XContentEnumerationAccess,
com::sun::star::beans::XPropertySet>::release (this=0x80d7e7fc0) at
compbase7.hxx:76
#19 0x000000080215ac4a in ~Reference (this=0x7fffffffcf50) at Reference.hxx:117
#20 0x000000080218ab2a in createTypeRegistry (uris=@0x7fffffffd110,
libraryDirectoryUri=@0x7fffffffd0f0)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/cppuhelper/source/defaultbootstrap.cxx:2184
#21 0x000000080218bc66 in cppu::defaultBootstrap_InitialComponentContext (
iniUri=@0x7fffffffd160)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/cppuhelper/source/defaultbootstrap.cxx:2203
#22 0x000000080218be06 in cppu::defaultBootstrap_InitialComponentContext ()
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/cppuhelper/source/defaultbootstrap.cxx:2210
#23 0x0000000800b0d04d in desktop::Desktop::InitApplicationServiceManager ()
at stl_function.h:225
#24 0x0000000800afab15 in desktop::Desktop::Init ()
from /opt/lib/libreoffice/program/libsofficeapp.so
#25 0x000000080567153e in InitVCL () at string.hxx:312
#26 0x000000080567189b in ImplSVMain () at string.hxx:312
#27 0x0000000805671a05 in SVMain () at string.hxx:312
#28 0x0000000800b2c349 in soffice_main ()
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/desktop/source/app/sofficemain.cxx:83
#29 0x00000000004007a3 in sal_main ()
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/desktop/source/app/main.c:34
#30 0x0000000000400788 in main (argc=1, argv=0x7fffffffd540)
at
/home/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/desktop/source/app/main.c:33
So, rType is NULL, but is referenced anyway leading to the crash. The pEntry,
more specifically is:
(gdb) p *pEntry
$14 = {m_type = {
getCppuType = 0x801b51418
<com::sun::star::lang::XTypeProvider::static_type(void*)>, typeRef =
0x801b51418}, m_offset = 32}
(gdb) p *pEntry->m_type.typeRef
$15 = {nRefCount = -443987883, nStaticRefCount = 283935560,
eTypeClass = 4168976712, pTypeName = 0xc3c9ffffffd6e800,
pType = 0x20ec8348e5894855, pUniqueIdentifier = 0x8244488fe45b60f,
pReserved = 0xe8240488ff45b60f}
Please, advise... Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs