Build fails with this stuff printed: [build CXX] filter/qa/cppunit/xslt-test.cxx [build DEP] LNK:CppunitTest/libtest_filter_xslt.dylib [build LNK] CppunitTest/libtest_filter_xslt.dylib [build CUT] filter_xslt /bin/sh: line 1: 10233 Abort trap DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+$DYLD_LIBRARY_PATH:}"$I/LibreOfficeDev.app/Contents/ure-link/lib:$I/LibreOfficeDev.app/Contents/MacOS":$W/LinkTarget/Library:$W/UnpackedTarball/cppunit/src/cppunit/.libs $W/LinkTarget/Executable/cppunittester $W/LinkTarget/CppunitTest/libtest_filter_xslt.dylib --headless "-env:BRAND_BASE_DIR=file://$I/LibreOfficeDev.app/Contents" "-env:BRAND_SHARE_SUBDIR=share" "-env:UserInstallation=file://$W/CppunitTest/filter_xslt.test.user" "-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/LibreOfficeDev.app/Contents/share/registry" "-env:UNO_TYPES=file://$I/LibreOfficeDev.app/Contents/MacOS/types/offapi.rdb file://$I/LibreOfficeDev.app/Contents/ure-link/share/misc/types.rdb" "-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb file://$W/ComponentTarget/configmgr/source/configmgr.component file://$W/ComponentTarget/filter/source/xsltfilter/xsltfilter.component file://$W/ComponentTarget/i18npool/util/i18npool.component file://$W/ComponentTarget/ucb/source/core/ucb1.component file://$W/ComponentTarget/ucb/source/ucp/file/ucpfile1.component" -env:URE_INTERNAL_LIB_DIR=file://$I/LibreOfficeDev.app/Contents/ure-link/lib -env:LO_LIB_DIR=file://$I/LibreOfficeDev.app/Contents/MacOS -env:LO_JAVA_DIR=file://$I/LibreOfficeDev.app/Contents/MacOS/classes --protector $W/LinkTarget/Library/unoexceptionprotector.dylib unoexceptionprotector --protector $W/LinkTarget/Library/unobootstrapprotector.dylib unobootstrapprotector > $W/CppunitTest/filter_xslt.test.log 2>&1 runtime error Global parameter sourceURL already defined runtime error Global parameter sourceBaseURL already defined runtime error Global parameter targetURL already defined runtime error Global parameter targetBaseURL already defined terminate called after throwing an instance of 'CppUnit::Exception' what(): forced failure - exception while in XSLT
Still present in current master. Backtrace: $ export CPPUNITTRACE="gdb --args" && make CppunitTest_filter_xslt make -j 2 -rs -f ./lo-build/Makefile.gbuild CppunitTest_filter_xslt [build PKG] ure_install [build CUT] filter_xslt GNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue Jul 14 02:15:14 UTC 2009) Copyright 2004 Free Software Foundation, Inc. (gdb) run Starting program: ./lo-build/workdir/LinkTarget/Executable/cppunittester ./lo-build/workdir/LinkTarget/CppunitTest/libtest_filter_xslt.dylib --headless -env:BRAND_BASE_DIR=file://./lo-build/instdir/LibreOfficeDev.app/Contents -env:BRAND_SHARE_SUBDIR=share -env:UserInstallation=file://./lo-build/workdir/CppunitTest/filter_xslt.test.user -env:CONFIGURATION_LAYERS=xcsxcu:file://./lo-build/instdir/LibreOfficeDev.app/Contents/share/registry -env:UNO_TYPES=file://./lo-build/instdir/LibreOfficeDev.app/Contents/MacOS/types/offapi.rdb\ file://./lo-build/instdir/LibreOfficeDev.app/Contents/ure-link/share/misc/types.rdb -env:UNO_SERVICES=file://./lo-build/workdir/Rdb/ure/services.rdb\ file://./lo-build/workdir/ComponentTarget/configmgr/source/configmgr.component\ file://./lo-build/workdir/ComponentTarget/filter/source/xsltfilter/xsltfilter.component\ file://./lo-build/workdir/ComponentTarget/i18npool/util/i18npool.component\ file://./lo-build/workdir/ComponentTarget/ucb/source/core/ucb1.component\ file://./lo-build/workdir/ComponentTarget/ucb/source/ucp/file/ucpfile1.component -env:URE_INTERNAL_LIB_DIR=file://./lo-build/instdir/LibreOfficeDev.app/Contents/ure-link/lib -env:LO_LIB_DIR=file://./lo-build/instdir/LibreOfficeDev.app/Contents/MacOS -env:LO_JAVA_DIR=file://./lo-build/instdir/LibreOfficeDev.app/Contents/MacOS/classes --protector ./lo-build/workdir/LinkTarget/Library/unoexceptionprotector.dylib unoexceptionprotector --protector ./lo-build/workdir/LinkTarget/Library/unobootstrapprotector.dylib unobootstrapprotector Reading symbols for shared libraries +++++............................................................................ done Reading symbols for shared libraries ........ done Reading symbols for shared libraries ....... done Reading symbols for shared libraries . done Reading symbols for shared libraries .............................. done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries ..... done runtime error Global parameter sourceURL already defined runtime error Global parameter sourceBaseURL already defined runtime error Global parameter targetURL already defined runtime error Global parameter targetBaseURL already defined terminate called after throwing an instance of 'CppUnit::Exception' what(): forced failure - exception while in XSLT Program received signal SIGABRT, Aborted. 0x92f47a88 in __semwait_signal () (gdb) bt #0 0x92f47a88 in __semwait_signal () #1 0x92fa1538 in pthread_join$UNIX2003 () #2 0x04d57dd4 in XSLT::LibXSLTTransformer::~LibXSLTTransformer () #3 0x0317cad8 in (anonymous namespace)::XsltFilterTest::testXsltCopyOld () #4 0x000d04b4 in CppUnit::TestCaseMethodFunctor::operator() () #5 0x000c8434 in CppUnit::ProtectorChain::ProtectFunctor::operator() () #6 0x00036708 in (anonymous namespace)::Prot::protect () #7 0x000c8434 in CppUnit::ProtectorChain::ProtectFunctor::operator() () #8 0x000bbc70 in CppUnit::DefaultProtector::protect () #9 0x000c8434 in CppUnit::ProtectorChain::ProtectFunctor::operator() () #10 0x000c7ee4 in CppUnit::ProtectorChain::protect () #11 0x000ded48 in CppUnit::TestResult::protect () #12 0x000d0190 in CppUnit::TestCase::run () #13 0x000d12f8 in CppUnit::TestComposite::doRunChildTests () #14 0x000d10ac in CppUnit::TestComposite::run () #15 0x000d12f8 in CppUnit::TestComposite::doRunChildTests () #16 0x000d10ac in CppUnit::TestComposite::run () #17 0x000e4d64 in CppUnit::TestRunner::WrappingSuite::run () #18 0x000de2b8 in CppUnit::TestResult::runTest () #19 0x000e4ab8 in CppUnit::TestRunner::run () #20 0x00002c30 in (anonymous namespace)::ProtectedFixtureFunctor::run () #21 0x00003bd4 in sal_main () #22 0x00003ed8 in main () (gdb)
Fix is here: https://gerrit.libreoffice.org/#/c/9177/
Assigning to myself.
This patch solved this issue: https://gerrit.libreoffice.org/gitweb?p=core.git;a=commitdiff;h=e5934962bd55970c54b399351559e90d02b75b6b