[Libreoffice] LibO 3.5RC2: terminate called after throwing an instance of 'com::sun::star::registry::InvalidRegistryException'
Stephan Bergmann
sbergman at redhat.com
Fri Feb 3 09:43:17 PST 2012
On 02/03/2012 04:46 PM, Dag Wieers wrote:
> [dag at 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.
Stephan
More information about the LibreOffice
mailing list