Fail Unit-Test under Windows

Juergen Funk Mailinglist Juergen.Funk_ml at cib.de
Wed Jan 7 05:47:23 PST 2015


Hi,

i get always this error

[ CUT ] sc_html_export_test
[ CUT ] sc_opencl_test
[ CUT ] sw_htmlexport
/usr/bin/sh: Zeile 1:  7132 Segmentation fault      PATH="D:\src\lo\lo-core\instdir\program;D:\src\lo\lo-core\instdir\program;D:\src\lo\lo-core\workdir\LinkTarget\Library;D:\src\lo\lo-core\workdir\UnpackedTarball\cppunit\src\cppunit\DebugDll;$PATH" $W/LinkTarget/Executable/cppunittester.exe $W/LinkTarget/CppunitTest/test_sc_opencl_test.dll --headless "-env:BRAND_BASE_DIR=file:///$S/instdir" "-env:BRAND_SHARE_SUBDIR=share" "-env:UserInstallation=file:///$W/CppunitTest/sc_opencl_test.test.user" "-env:CONFIGURATION_LAYERS=xcsxcu:file:///$I/share/registry" "-env:UNO_TYPES=file:///$I/program/types/offapi.rdb file:///$I/program/types.rdb" "-env:UNO_SERVICES=file:///$W/Rdb/ure/services.rdb file:///$W/ComponentTarget/basic/util/sb.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/dbaccess/util/dba.component file:///$W/ComponentTarget/embeddedobj/util/embobj.component file:///$W/ComponentTarget/eventattacher/source/evtatt.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/scaddins/source/analysis/analysis.component file:///$W/ComponentTarget/scaddins/source/datefunc/date.component file:///$W/ComponentTarget/sc/util/sc.component file:///$W/ComponentTarget/sc/util/scfilt.component file:///$W/ComponentTarget/sfx2/util/sfx.component file:///$W/ComponentTarget/sot/util/sot.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/ucb/source/ucp/tdoc/ucptdoc1.component file:///$W/ComponentTarget/unotools/util/utl.component file:///$W/ComponentTarget/unoxml/source/rdf/unordf.component file:///$W/ComponentTarget/unoxml/source/service/unoxml.component file:///$W/ComponentTarget/xmloff/util/xo.component" -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 --protector $W/LinkTarget/Library/unobootstrapprotector.dll unobootstrapprotector --protector $W/LinkTarget/Library/vclbootstrapprotector.dll vclbootstrapprotector > $W/CppunitTest/sc_opencl_test.test.log 2>&1
warn:legacy.tools:4304:6376:sfx2/source/appl/app.cxx:203: No DDE-Service possible. Error: 16399
warn:sc:4304:6376:sc/source/filter/excel/xlroot.cxx:154: XclRootData::XclRootData - cannot get output device info: invalid attempt to assign an empty interface of type com.sun.star.frame.XFrame!
warn:legacy.osl:4304:6376:sc/source/filter/excel/exctools.cxx:132: XclImpOutlineBuffer::MakeScOutline: unexpected level!
warn:legacy.osl:4304:6376:sc/source/filter/excel/exctools.cxx:132: XclImpOutlineBuffer::MakeScOutline: unexpected level!
warn:legacy.osl:4304:6376:sc/source/filter/excel/exctools.cxx:132: XclImpOutlineBuffer::MakeScOutline: unexpected level!
warn:legacy.osl:4304:6376:sc/source/filter/excel/exctools.cxx:132: XclImpOutlineBuffer::MakeScOutline: unexpected level!
warn:fwk:4304:6376:framework/source/services/desktop.cxx:1018: Desktop disposed before terminating it

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

export DEBUGCPPUNIT=TRUE            # for exception catching
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_sc_opencl_test

D:/src/lo/lo-core/solenv/gbuild/CppunitTest.mk:81: recipe for target 'D:/src/lo/lo-core/workdir/CppunitTest/sc_opencl_test.test' failed
make[1]: *** [D:/src/lo/lo-core/workdir/CppunitTest/sc_opencl_test.test] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:245: recipe for target 'build' failed
make: *** [build] Error 2





My autogen.input is

--enable-pch
--disable-ccache
--enable-dbgutil
--with-external-tar=/cygdrive/d/src/lo/externalsrc
--with-ant-home=/cygdrive/d/src/lo/apache-ant-1.9.4
--with-junit=/cygdrive/d/src/lo/junit-4.10.jar
--with-visual-studio=2013
--disable-activex 
--disable-atl
--with-lang=de en-GB



What is wrong?


Juergen






More information about the LibreOffice mailing list