sw_ooxmlexport8 fails

Xisco Fauli xiscofauli at libreoffice.org
Tue Feb 16 08:28:25 UTC 2021


Hello,

Just in case someone is interested, 'make clean && make sw_ooxmlexport8'
fails with:

[build CUT] sw_ooxmlexport8
/usr/bin/sh: line 1:  5768 Segmentation fault      ( MAX_CONCURRENCY=4
MOZILLA_CERTIFICATE_FOLDER=dbm:
SAL_DISABLE_SYNCHRONOUS_PRINTER_DETECTION=1 SAL
_USE_VCLPLUGIN=svp LIBO_LANG=C
PATH="D:\bibisect\core64\instdir\program;D:\bibisect\core64\instdir\program;D:\bibisect\core64\workdir\LinkTarget\Libra
ry;D:\bibisect\core64\workdir\UnpackedTarball\cppunit\src\cppunit\ReleaseDll;$PATH"
$W/LinkTarget/Executable/cppunittester.exe $W/LinkTarget/CppunitTe
st/test_sw_ooxmlexport8.dll --headless
"-env:BRAND_BASE_DIR=file:///$S/instdir" "-env:BRAND_SHARE_SUBDIR=share"
"-env:BRAND_SHARE_RESOURCE_SUBDIR=prog
ram/resource"
"-env:UserInstallation=file:///$W/CppunitTest/sw_ooxmlexport8.test.user"
"-env:CONFIGURATION_LAYERS=xcsxcu:file:///$I/share/registry xcs
xcu:file:///$W/unittest/registry"
"-env:UNO_TYPES=file:///$I/program/types.rdb
file:///$I/program/types/offapi.rdb file:///$I/program/types/oovbaapi.r
db" "-env:UNO_SERVICES=file:///$W/Rdb/ure/services.rdb
file:///$W/Rdb/services.rdb"
-env:URE_INTERNAL_LIB_DIR=file:///$I/program -env:LO_LIB_DIR=file:
///$I/program -env:LO_JAVA_DIR=file:///$I/program/classes --protector
$W/LinkTarget/Library/unoexceptionprotector.dll unoexceptionprotector
--protecto
r $W/LinkTarget/Library/unobootstrapprotector.dll unobootstrapprotector
--protector $W/LinkTarget/Library/vclbootstrapprotector.dll
vclbootstrapprotec
tor "-env:CPPUNITTESTTARGET=$W/CppunitTest/sw_ooxmlexport8.test" ) >
$W/CppunitTest/sw_ooxmlexport8.test.log 2>&1
[_RUN_____] tdf123705::Load_Verify_Reload_Verify
tdf123705.docx:
5894
tdf123705::Load_Verify_Reload_Verify finished in: 6077ms
[_RUN_____] testAllGapsWord::Load_Verify_Reload_Verify
all_gaps_word.docx:
1102
testAllGapsWord::Load_Verify_Reload_Verify finished in: 1137ms
[_RUN_____] testBnc780044Spacing::Load_Verify_Reload_Verify
bnc780044_spacing.docx:
676
testBnc780044Spacing::Load_Verify_Reload_Verify finished in: 703ms
[_RUN_____] testBnc865381::Load_Verify_Reload_Verify
I/O warning : failed to load external entity
"/usr/local/share/liblangtag/language-subtag-registry.xml"
W:  $Error raised:
W:  $  Unable to read the xml file:
/usr/local/share/liblangtag\language-subtag-registry.xml
W:  $  No backtraces
I/O warning : failed to load external entity
"/usr/local/share/liblangtag/common/supplemental/supplementalMetadata.xml"
W:  $Error raised:
W:  $  Unable to read the xml file:
/usr/local/share/liblangtag\common\supplemental\supplementalMetadata.xml
W:  $  No backtraces
E:  $file lt-string.c: line 189: assertion `string != ((void *)0)' failed
E:  onfile lt-string.c: line 189: assertion `string != ((void *)0)' failed
E:  sfile lt-string.c: line 189: assertion `string != ((void *)0)' failed
E:  onfile lt-string.c: line 189: assertion `string != ((void *)0)' failed
I/O warning : failed to load external entity
"/usr/local/share/liblangtag/language-subtag-registry.xml"
W:  tError raised:
W:  on  Unable to read the xml file:
/usr/local/share/liblangtag\language-subtag-registry.xml
W:  $  No backtraces
bnc865381.docx:
564
testBnc865381::Load_Verify_Reload_Verify finished in: 590ms
[_RUN_____] testChartProp::Load_Verify_Reload_Verify
chart-prop.docx:
1519
testChartProp::Load_Verify_Reload_Verify finished in: 1550ms
[_RUN_____] testConditionalstylesTablelook::Load_Verify_Reload_Verify
conditionalstyles-tbllook.docx:
1695
testConditionalstylesTablelook::Load_Verify_Reload_Verify finished in:
1743ms
[_RUN_____] testFdo43093::Load_Verify_Reload_Verify
fdo43093b.docx:
496
testFdo43093::Load_Verify_Reload_Verify finished in: 527ms
[_RUN_____] testFdo46361::Load_Verify_Reload_Verify

Error: a unit test failed, please do one of:
make CppunitTest_sw_ooxmlexport8 CPPUNITTRACE=TRUE # which is a shortcut
for the following line
make CppunitTest_sw_ooxmlexport8 CPPUNITTRACE="'C:/Program Files
(x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/devenv.exe'
/debugexe" # for
 interactive debugging in Visual Studio
make CppunitTest_sw_ooxmlexport8 CPPUNITTRACE="drmemory -free_max_frames
20" # for memory checking (install Dr.Memory first, and put it to your PATH)

You can limit the execution to just one particular test by:

make CppunitTest_sw_ooxmlexport8 CPPUNIT_TEST_NAME="testXYZ" ...above
mentioned params...

make[1]: *** [D:/bibisect/core64/solenv/gbuild/CppunitTest.mk:125:
D:/bibisect/core64/workdir/CppunitTest/sw_ooxmlexport8.test] Error 1
make: *** [Makefile:166: CppunitTest_sw_ooxmlexport8] Error 2


Regards

-- 
Xisco Faulí
LibreOffice QA Team
IRC: x1sc0



More information about the LibreOffice mailing list