<div dir="ltr"><div>Hey,<br><br><br></div>please don't hijack existing mailing list threads. This is considered rude and makes it more difficult to help you and the original author.<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 6, 2015 at 5:52 PM, Piet van Oostrum <span dir="ltr"><<a href="mailto:piet@vanoostrum.org" target="_blank">piet@vanoostrum.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br>
<br>
I am on Mac OS X 10.10.2 (Yosemite), and I used the following autogen options:<br>
<br>
./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<br>
<br>
Both with and without --enable-release-build and with and without patches I get a LO that immediately crashes on startup.<br>
<br>
I did the same with 4.4.1.2 (without --enable-release-build) and it ran fine.<br>
<br>
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.<br>
<br>
Below is part of the traceback. It looks like LO can't create com.sun.star.configuration.theDefaultProvider.<br>
<br>
I found the offending code in<br>
workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/configuration/theDefaultProvider.hpp<br>
line 39:<br>
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);<br>
<br>
So what may be the problem?<br></blockquote><div><br></div><div>You need to debug what is going on with XCode or lldb and debug why that code fails.<br><br></div><div>Regards,<br></div><div>Markus<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Part of crash dump.<br>
<br>
Application Specific Information:<br>
abort() called<br>
terminating with uncaught exception of type com::sun::star::uno::DeploymentException<br>
<br>
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread<br>
0 libsystem_kernel.dylib 0x00007fff8f6bb286 __pthread_kill + 10<br>
1 libsystem_c.dylib 0x00007fff98931b53 abort + 129<br>
2 libc++abi.dylib 0x00007fff96422a21 abort_message + 257<br>
3 libc++abi.dylib 0x00007fff9644a9d1 default_terminate_handler() + 267<br>
4 libobjc.A.dylib 0x00007fff8ce457eb _objc_terminate() + 124<br>
5 libc++abi.dylib 0x00007fff964480a1 std::__terminate(void (*)()) + 8<br>
6 libc++abi.dylib 0x00007fff96447b30 __cxa_throw + 121<br>
7 libutllo.dylib 0x000000010e02e1c5 com::sun::star::configuration::theDefaultProvider::get(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) + 357<br>
8 libutllo.dylib 0x000000010e02d355 utl::ConfigManager::acquireTree(utl::ConfigItem&) + 1093<br>
9 libutllo.dylib 0x000000010e02d784 utl::ConfigManager::addConfigItem(utl::ConfigItem&) + 68<br>
10 libutllo.dylib 0x000000010e021092 utl::ConfigItem::ConfigItem(rtl::OUString const&, short) + 162<br>
11 libutllo.dylib 0x000000010e077796 SvtSysLocaleOptions_Impl::SvtSysLocaleOptions_Impl() + 70<br>
12 libutllo.dylib 0x000000010e079919 SvtSysLocaleOptions::SvtSysLocaleOptions() + 89<br>
13 libutllo.dylib 0x000000010e0a3cc4 SvtSysLocale_Impl::SvtSysLocale_Impl() + 36<br>
1<br>
<span class="HOEnZb"><font color="#888888">--<br>
Piet van Oostrum <<a href="mailto:piet@vanoostrum.org">piet@vanoostrum.org</a>><br>
WWW: <a href="http://pietvanoostrum.com/" target="_blank">http://pietvanoostrum.com/</a><br>
PGP key: [8DAE142BE17999C4]<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</div></div></blockquote></div><br></div></div>