LibreOffice Crash
Piet van Oostrum
piet at vanoostrum.org
Mon Apr 6 09:00:12 PDT 2015
Sorry that the previous mail was sent as a reply to an unrelated message.
Please disregard and use this one.
I got the dreaded DeploymentException again. This time I compiled LO 4.4.2.2 from sources. The reason I do this is because I want to apply some patches that are important for me, but are not yet available in the release.
I am on Mac OS X 10.10.2 (Yosemite), and I used the following autogen options:
./autogen.sh PYTHON=/usr/local/bin/python3.3 --with-ant-home=/opt/local/share/java/apache-ant/ --with-junit=/Library/JUnit/junit-4.10.jar --enable-python=internal --enable-release-build
Both with and without --enable-release-build and with and without patches I get a LO that immediately crashes on startup.
I did the same with 4.4.1.2 (without --enable-release-build) and it ran fine.
For the time being I can get away with copying the changed dylibs into my LibreOffice.app, but I would like to know why the compiled version fails.
Below is part of the traceback. It looks like LO can't create com.sun.star.configuration.theDefaultProvider.
I found the offending code in
workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/configuration/theDefaultProvider.hpp
line 39:
throw ::css::uno::DeploymentException(::rtl::OUString( "component context fails to supply singleton com.sun.star.configuration.theDefaultProvider of type com.sun.star.lang.XMultiServiceFactory" ), the_context);
So what may be the problem?
Part of crash dump.
Application Specific Information:
abort() called
terminating with uncaught exception of type com::sun::star::uno::DeploymentException
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8f6bb286 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff98931b53 abort + 129
2 libc++abi.dylib 0x00007fff96422a21 abort_message + 257
3 libc++abi.dylib 0x00007fff9644a9d1 default_terminate_handler() + 267
4 libobjc.A.dylib 0x00007fff8ce457eb _objc_terminate() + 124
5 libc++abi.dylib 0x00007fff964480a1 std::__terminate(void (*)()) + 8
6 libc++abi.dylib 0x00007fff96447b30 __cxa_throw + 121
7 libutllo.dylib 0x000000010e02e1c5 com::sun::star::configuration::theDefaultProvider::get(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) + 357
8 libutllo.dylib 0x000000010e02d355 utl::ConfigManager::acquireTree(utl::ConfigItem&) + 1093
9 libutllo.dylib 0x000000010e02d784 utl::ConfigManager::addConfigItem(utl::ConfigItem&) + 68
10 libutllo.dylib 0x000000010e021092 utl::ConfigItem::ConfigItem(rtl::OUString const&, short) + 162
11 libutllo.dylib 0x000000010e077796 SvtSysLocaleOptions_Impl::SvtSysLocaleOptions_Impl() + 70
12 libutllo.dylib 0x000000010e079919 SvtSysLocaleOptions::SvtSysLocaleOptions() + 89
13 libutllo.dylib 0x000000010e0a3cc4 SvtSysLocale_Impl::SvtSysLocale_Impl() + 36
--
Piet van Oostrum <piet at vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]
More information about the LibreOffice
mailing list