build break in cppunittest

Andreas Radke a.radke at arcor.de
Thu Sep 25 20:50:32 PDT 2014


We are running into build crashes when building packages for i686
architecture in 32bit chroots here (x86_64 builds fine):

[build CUT] writerperfect_draw
/bin/sh: line 1: 13288 Segmentation fault      (core dumped) LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/ure/lib:$I/program":$W/UnpackedTarball/cppunit/src/cppunit/.libs $W/LinkTarget/Executable/cppunittester $W/LinkTarget/CppunitTest/libtest_sw_ooxmlsdrexport.so --headless "-env:BRAND_BASE_DIR=file://$S/instdir" "-env:BRAND_SHARE_SUBDIR=share" "-env:UserInstallation=file://$W/CppunitTest/sw_ooxmlsdrexport.test.user" "-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/share/registry xcsxcu:file://$W/unittest/registry" "-env:UNO_TYPES=file://$I/program/types/offapi.rdb file://$I/ure/share/misc/types.rdb" "-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb file://$W/ComponentTarget/basic/util/sb.component file://$W/ComponentTarget/canvas/source/factory/canvasfactory.component file://$W/ComponentTarget/chart2/source/chartcore.component file://$W/ComponentTarget/chart2/source/controller/chartcontroller.component file://$W/ComponentTarget/comphelper/util/comphelp.component file
 ://$W/ComponentTarget/configmgr/source/configmgr.component file://$W/ComponentTarget/drawinglayer/drawinglayer.component file://$W/ComponentTarget/embeddedobj/util/embobj.component file://$W/ComponentTarget/filter/source/config/cache/filterconfig1.component file://$W/ComponentTarget/forms/util/frm.component file://$W/ComponentTarget/framework/util/fwk.component file://$W/ComponentTarget/i18npool/util/i18npool.component file://$W/ComponentTarget/linguistic/source/lng.component file://$W/ComponentTarget/oox/util/oox.component file://$W/ComponentTarget/package/source/xstor/xstor.component file://$W/ComponentTarget/package/util/package2.component file://$W/ComponentTarget/sax/source/expatwrap/expwrap.component file://$W/ComponentTarget/sw/util/sw.component file://$W/ComponentTarget/sw/util/swd.component file://$W/ComponentTarget/sw/util/msword.component file://$W/ComponentTarget/sfx2/util/sfx.component file://$W/ComponentTarget/starmath/util/sm.component file://$W/ComponentTarge
 t/svl/source/fsstor/fsstorage.component file://$W/ComponentTarget/svl/util/svl.component file://$W/ComponentTarget/svtools/util/svt.component file://$W/ComponentTarget/svx/util/svx.component file://$W/ComponentTarget/svx/util/svxcore.component file://$W/ComponentTarget/toolkit/util/tk.component file://$W/ComponentTarget/ucb/source/core/ucb1.component file://$W/ComponentTarget/ucb/source/ucp/file/ucpfile1.component file://$W/ComponentTarget/unotools/util/utl.component file://$W/ComponentTarget/unoxml/source/service/unoxml.component file://$W/ComponentTarget/uui/util/uui.component file://$W/ComponentTarget/writerfilter/util/writerfilter.component file://$W/ComponentTarget/xmloff/util/xo.component file://$W/ComponentTarget/filter/source/storagefilterdetect/storagefd.component" -env:URE_INTERNAL_LIB_DIR=file://$I/ure/lib -env:LO_LIB_DIR=file://$I/program -env:LO_JAVA_DIR=file://$I/program/classes --protector $W/LinkTarget/Library/unoexceptionprotector.so unoexceptionprotector --
 protector $W/LinkTarget/Library/unobootstrapprotector.so unobootstrapprotector > $W/CppunitTest/sw_ooxmlsdrexport.test.log 2>&1
File tested,Execution Time (ms)
dashed_line_custdash_percentage.docx,171
File tested,Execution Time (ms)
dashed_line_custdash_percentage.docx,206
File tested,Execution Time (ms)
dashed_line_custdash_1000th_of_percent.docx,66
File tested,Execution Time (ms)
dashed_line_custdash_1000th_of_percent.docx,160
File tested,Execution Time (ms)
dashed_line_preset.docx,62
File tested,Execution Time (ms)
dashed_line_preset.docx,199
File tested,Execution Time (ms)
bnc884615.docx,98
File tested,Execution Time (ms)
bnc884615.docx,192
File tested,Execution Time (ms)
preset-shape.docx,132
File tested,Execution Time (ms)
preset-shape.docx,204
File tested,Execution Time (ms)
test77219.docx,211
File tested,Execution Time (ms)
test77219.docx,453
File tested,Execution Time (ms)
test76734_2K7.docx,43
File tested,Execution Time (ms)
test76734_2K7.docx,153
File tested,Execution Time (ms)
LinkedTextBoxes.docx,186
File tested,Execution Time (ms)
LinkedTextBoxes.docx,460
File tested,Execution Time (ms)
test76317_2K10.docx,105
File tested,Execution Time (ms)
test76317_2K10.docx,178
File tested,Execution Time (ms)
fdo76591.docx,139
File tested,Execution Time (ms)
fdo76591.docx,401
File tested,Execution Time (ms)
test76317.docx,69
File tested,Execution Time (ms)
test76317.docx,228
File tested,Execution Time (ms)
nestedAlternateContent.docx,84
File tested,Execution Time (ms)
nestedAlternateContent.docx,164
File tested,Execution Time (ms)
fdo77719.docx,62
File tested,Execution Time (ms)
fdo77719.docx,180
File tested,Execution Time (ms)
picture-artistic-effects-preservation.docx,129
File tested,Execution Time (ms)
picture-artistic-effects-preservation.docx,307
File tested,Execution Time (ms)
picture-effects-preservation.docx,100
File tested,Execution Time (ms)
picture-effects-preservation.docx,324
File tested,Execution Time (ms)
shape-3d-effect-preservation.docx,94
File tested,Execution Time (ms)
shape-3d-effect-preservation.docx,245
File tested,Execution Time (ms)
shape-effect-preservation.docx,173
File tested,Execution Time (ms)
shape-effect-preservation.docx,317
File tested,Execution Time (ms)
fdo76979.docx,201
File tested,Execution Time (ms)
fdo76979.docx,243
File tested,Execution Time (ms)
fdo76249.docx,93
File tested,Execution Time (ms)
fdo76249.docx,236
File tested,Execution Time (ms)
pictureWatermark.docx,199
File tested,Execution Time (ms)
pictureWatermark.docx,467
File tested,Execution Time (ms)
textWatermark.docx,119
File tested,Execution Time (ms)
textWatermark.docx,241
File tested,Execution Time (ms)
dkvert.docx,87
File tested,Execution Time (ms)
dkvert.docx,188
File tested,Execution Time (ms)
AnchorId.docx,69
File tested,Execution Time (ms)
AnchorId.docx,195
File tested,Execution Time (ms)
groupshape-theme-font.docx,72
File tested,Execution Time (ms)
groupshape-theme-font.docx,192
File tested,Execution Time (ms)
test_msword_hang.docx,88
File tested,Execution Time (ms)
test_msword_hang.docx,169
File tested,Execution Time (ms)
FDO74774.docx,474
File tested,Execution Time (ms)
FDO74774.docx,1128
File tested,Execution Time (ms)
fdo74605.docx,1026
File tested,Execution Time (ms)

No core file identified in directory /build/libreoffice-fresh/src/libreoffice-4.3.2.2/workdir/CppunitTest/sw_ooxmlsdrexport.test.core
To show backtraces for crashes during test execution,
enable core files with:

   ulimit -c unlimited


Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE            # for exception catching
export CPPUNITTRACE="gdb --args"    # for interactive debugging on Linux
export CPPUNITTRACE="\"[full path to devenv.exe]\" /debugexe" # for interactive debugging in Visual Studio
export VALGRIND=memcheck            # for memory checking

and retry using: make CppunitTest_sw_ooxmlsdrexport

/build/libreoffice-fresh/src/libreoffice-4.3.2.2/solenv/gbuild/CppunitTest.mk:70: recipe for target '/build/libreoffice-fresh/src/libreoffice-4.3.2.2/workdir/CppunitTest/sw_ooxmlsdrexport.test' failed
make[1]: ***
[/build/libreoffice-fresh/src/libreoffice-4.3.2.2/workdir/CppunitTest/sw_ooxmlsdrexport.test]
Error 1


Do you have a workaround or fix?

-Andy
ArchLinux


More information about the LibreOffice mailing list