On 02/03/2012 04:46 PM, Dag Wieers wrote:
[dag@moria ~]$ /opt/libreoffice3.5/program/python
Python 2.6.1 (r261:67515, Feb 1 2012, 15:06:46)
[GCC 4.2.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import uno
terminate called after throwing an instance of
'com::sun::star::registry::InvalidRegistryException'
Aborted (core dumped)
I can reproduce this with
LibO_3.5.0rc2_Linux_x86-64_install-rpm_en-US.tar.gz from
<http://www.libreoffice.org/download/pre-releases/>. The problem is that
readRdbFile (cppuhelper/soruce/bootstrap.cxx) in
/opt/libreoffice3.5/ure/lib/libuno_cppuhelpergcc3.so.3 calls
SimpleRegistry::open (stoc/source/simpleregistry/simpleregistry.cxx) in
/opt/libreoffice3.5/ure/lib/bootstrap.uno.so (with
rURL="file:///etc/opt/ure/types.rdb"), which throws an instance of
css.registry.InvalidRegistryException (correctly so, as rURL does not
exist), but the code in libuno_cppuhelpergcc3.so.3 fails to catch that
exception with its
catch (css::registry::InvalidRegistryException & e) {
code block. Very suspicious, esp. given that both
libuno_cppuhelpergcc3.so.3 and bootstrap.uno.so export the _ZTI/_ZTS
symbols for InvalidRegistryException (and new GCC versions no longer
compare on the brittle RTTI pointers, but on string equality, anyway).
I have currently no idea what's broken there.
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.