LibreOffice - ftbfs on ARM, during the installer step

Bug #696529 reported by Matthias Klose
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libreoffice (Ubuntu)
Fix Released
Medium
Jani Monoses
Natty
Fix Released
Medium
Jani Monoses

Bug Description

Calling epm
No file stripping
Unzip ARCHIVE files
services.rdb can be created
Languages:
        en-US
########################################################
... checking required files ...
...... searching zip ...
        Found: /usr/bin/zip
... analyzing ../util/openoffice.lst ...
... reading include pathes ...
... analyzing script: /home/doko/lo/3.3/libreoffice-3.3.0~rc2/libreoffice-build/build/libreoffice-3.3.0.2/solver/330/unxlngr.pro/bin/setup_osl.ins ...
... analyzing directories ...
... analyzing files ...
... analyzing scpactions ...
... analyzing shortcuts ...
... analyzing unix links ...
... analyzing profile ...
... analyzing profileitems ...
... analyzing modules ...
------------------------------------
... languages en-US ...
... analyzing files ...
... analyzing files with flag ARCHIVE ...
... analyzing files with flag SUBST_FILENAME ...
... analyzing files with flag SCPZIP_REPLACE ...
... analyzing files with flag PATCH_SO_NAME ...
... analyzing files with flag HIDDEN ...
... creating preregistered services.rdb ...
javavm.uno.so
javaloader.uno.so
stocservices.uno.so

**************************************************
ERROR: ERROR: Could not register all components for file services.rdb (gid_Starregistry_Services_Rdb)!
in function: create_services_rdb
**************************************************
**************************************************
ERROR: Saved logfile: /home/doko/lo/3.3/libreoffice-3.3.0~rc2/libreoffice-build/build/libreoffice-3.3.0.2/instsetoo_native/unxlngr.pro/LibreOffice/archive/logging/en-US/log_OOO330_en-US.log
**************************************************
... cleaning the output tree ...
... removing directory /tmp/ooopackaging/i_290771293775521 ...
Fri Dec 31 06:08:08 2010 (02:47 min.)
dmake: Error code 255, while making 'openoffice_en-US.archive'
make[1]: *** [test] Error 255
make[1]: Leaving directory `/home/doko/lo/3.3/libreoffice-3.3.0~rc2'
make: *** [debian/stampdir/build] Error 2

Revision history for this message
Matthias Klose (doko) wrote :
Matthias Klose (doko)
tags: added: armel
Revision history for this message
Matthias Klose (doko) wrote :

looks like the openoffice.org build failure on armel in lucid-proposed

Revision history for this message
Jani Monoses (jani) wrote :

This is the regcomp invocation that segfaults (long filenames because of the build pathname is long) obtained by adding print statements in the perl script that invokes it.

/media/4746efa7-0ac6-416e-a4d7-c437b88bd66d/panda/libo/libreoffice-3.3.0~rc2/libreoffice-build/build/libreoffice-3.3.0.2/solver/330/unxlngr.pro/bin/regcomp -register -r /tmp/ooopackaging/i_64171294148165/unxlngr.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_inprogress_1/services.rdb -c 'file:///media/4746efa7-0ac6-416e-a4d7-c437b88bd66d/panda/libo/libreoffice-3.3.0~rc2/libreoffice-build/build/libreoffice-3.3.0.2/solver/330/unxlngr.pro/lib/librptxmllr.so;file:///media/4746efa7-0ac6-416e-a4d7-c437b88bd66d/panda/libo/libreoffice-3.3.0~rc2/libreoffice-build/build/libreoffice-3.3.0.2/solver/330/unxlngr.pro/lib/sax.uno.so;file:///media/4746efa7-0ac6-416e-a4d7-c437b88bd66d/panda/libo/libreoffice-3.3.0~rc2/libreoffice-build/build/libreoffice-3.3.0.2/solver/330/unxlngr.pro/lib/libsblr.so;file:///media/4746efa7-0ac6-416e-a4d7-c437b88bd66d/panda/libo/libreoffice-3.3.0~rc2/libreoffice-build/build/libreoffice-3.3.0.2/solver/330/unxlngr.pro/lib/libsclr.so;file:///media/4746efa7-0ac6-416e-a4d7-c437b88bd66d/panda/libo/libreoffice-3.3.0~rc2/libreoffice-build/build/libreoffice-3.3.0.2/solver/330/unxlngr.pro/lib/libscdlr.so;file:///media/4746efa7-0ac6-416e-a4d7-c437b88bd66d/panda/libo/libreoffice-3.3.0~rc2/libreoffice-build/build/libreoffice-3.3.0.2/solver/330/unxlngr.pro/lib/libscfiltlr.so;file:///media/4746efa7-0ac6-416e-a4d7-c437b88bd66d/panda/libo/libreoffice-3.3.0~rc2/libreoffice-build/build/libreoffice-3.3.0.2/solver/330/unxlngr.pro/lib/libscnlr.so;file:///media/4746efa7-0ac6-416e-a4d7-c437b88bd66d/panda/libo/libreoffice-3.3.0~rc2/libreoffice-build/build/libreoffice-3.3.0.2/solver/330/unxlngr.pro/lib/libscriptframe.so;file:///media/4746efa7-0ac6-416e-a4d7-c437b88bd66d/panda/libo/libreoffice-3.3.0~rc2/libreoffice-build/build/libreoffice-3.3.0.2/solver/330/unxlngr.pro/lib/libsdlr.so;file:///media/4746efa7-0ac6-416e-a4d7-c437b88bd66d/panda/libo/libreoffice-3.3.0~rc2/libreoffice-build/build/libreoffice-3.3.0.2/solver/330/unxlngr.pro/lib/libsdbc2.so;file:///media/4746efa7-0ac6-416e-a4d7-c437b88bd66d/panda/libo/libreoffice-3.3.0~rc2/libreoffice-build/build/libreoffice-3.3.0.2/solver/330/unxlngr.pro/lib/libsdbtlr.so' -wop='vnd.sun.star.expand:$OOO_BASE_DIR/program/'

Revision history for this message
Jani Monoses (jani) wrote :

Minimal invocation that triggers the segfault.

$cd libreoffice-build/build/libreoffice-3.3.0.2/solver/330/unxlngr.pro
$bin/regcomp -register -r services.rdb -c 'lib/librptxmllr.so;lib/sax.uno.so;lib/libsblr.so;lib/libsclr.so'

On second run it is fine, only when services.rdb is to be created it segfaults after an otherwise good looking run (all passed components registered). Less that those 4 .so-s and it is not happening.

It is a bad memory access on cleaning up the caches (called from memory pool desctructors),

I'll keep debugging it.

Matthias Klose (doko)
affects: ubuntu → libreoffice (Ubuntu)
Jani Monoses (jani)
Changed in libreoffice (Ubuntu):
assignee: nobody → Jani Monoses (jani)
milestone: none → ubuntu-11.04-beta
Revision history for this message
Jani Monoses (jani) wrote :

The crash happens in the atexit() handlers in rtl_cache_deactivate() called by rtl_cache_destroy() called from ~FixedMemPool()

Revision history for this message
Jani Monoses (jani) wrote :

a fix was commited upstream to the 3.3 branch so will hopefully be available in Ubuntu as part of 3.3.1

Tobin Davis (gruemaster)
Changed in libreoffice (Ubuntu Natty):
importance: Undecided → Medium
Revision history for this message
Jani Monoses (jani) wrote :

This is the patch in case it needs backporting to Lucid or elsewhere where OO.o FTBFS on armel because the cause is likely the same.

http://cgit.freedesktop.org/libreoffice/calc/commit/?h=libreoffice-3-3&id=d4d6a678bf169eebee2fe4d71c8ec66de6898d6e

Steve Langasek (vorlon)
tags: added: arm-porting-queue
Jani Monoses (jani)
Changed in libreoffice (Ubuntu Natty):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.