Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hey,


please don't hijack existing mailing list threads. This is considered rude
and makes it more difficult to help you and the original author.

On Mon, Apr 6, 2015 at 5:52 PM, Piet van Oostrum <piet@vanoostrum.org>
wrote:

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?


You need to debug what is going on with XCode or lldb and debug why that
code fails.

Regards,
Markus




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
1
--
Piet van Oostrum <piet@vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.