Debug build breaks in unit test

Regina Henschel rb.henschel at t-online.de
Thu Aug 13 08:05:08 PDT 2015


Hi all,

Christian Lohmaier schrieb:
> Hi *,
>
> On Sun, Aug 9, 2015 at 4:33 PM, Oliver Brinzing <Oliver.Brinzing at gmx.de> wrote:
>> Hi Regina,
>>
>> ->
>> https://wiki.documentfoundation.org/Development/BuildingOnWindows#System_PATH_causing_weird_build_breakage
>>      -> BitDefender / other Anti-Virus / security tools breaking the build
>>
>> i told my anti virus not to scan c:\cygwin\* and c:\sources\*
>
> Note that you also need to include the temporary directory (or set
> TMPDIR to a path below the ones above, so that it is covered as well)

I have disabled virus scan totally while building.
>
> pasebin.ca is down right now, so cannot have a look at Regina's log,
> but by defaullt, the build won't run those cve-document tests and
> should not trigger the problem.

I have nailed it down. Exactly one test fails. It is 
CPPUNIT_TEST(testMediaEmbedding);
from CPPUNIT_TEST_SUITE(SdExportTest);

The log is not too long, so I paste it below.

Kind regards
Regina

C:/cygwin/opt/lo/bin/make -j 4 -rs -f 
C:/LO_buildDebug/core/Makefile.gbuild CppunitTest_sd_export_tests
[build PRL] CustomTarget/postprocess/images/sorted.lst
[build PRL] CustomTarget/postprocess/images/commandimagelist.ilst
[build PRL] CustomTarget/postprocess/images/images_breeze.zip
[build PRL] CustomTarget/postprocess/images/images_galaxy.zip
[build PRL] CustomTarget/postprocess/images/images_hicontrast.zip
[build PRL] CustomTarget/postprocess/images/images_oxygen.zip
[build PRL] CustomTarget/postprocess/images/images_sifr.zip
[build PRL] CustomTarget/postprocess/images/images_tango.zip
[build PRL] CustomTarget/postprocess/images/images_tango_testing.zip
[build CXX] sd/qa/unit/export-tests.cxx
[build DEP] LNK:CppunitTest/test_sd_export_tests.dll
[build LNK] CppunitTest/test_sd_export_tests.dll
    Creating library 
C:/LO_buildDebug/core/workdir/LinkTarget/CppunitTest/itest_sd_export_tests.lib 
and object 
C:/LO_buildDebug/core/workdir/LinkTarget/CppunitTest/itest_sd_export_tests.exp
[build CUT] sd_export_tests
/usr/bin/sh: Zeile 1:  5968 Segmentation fault 
PATH="C:\LO_buildDebug\core\instdir\program;C:\LO_buildDebug\core\instdir\program;C:\LO_buildDebug\core\workdir\LinkTarget\Library;C:\LO_buildDebug\core\workdir\UnpackedTarball\cppunit\src\cppunit\DebugDll;$PATH" 
$W/LinkTarget/Executable/cppunittester.exe 
$W/LinkTarget/CppunitTest/test_sd_export_tests.dll --headless 
"-env:BRAND_BASE_DIR=file:///$S/instdir" "-env:BRAND_SHARE_SUBDIR=share" 
"-env:UserInstallation=file:///$W/CppunitTest/sd_export_tests.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/program/types.rdb" 
"-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 
--protector $W/LinkTarget/Library/unobootstrapprotector.dll 
unobootstrapprotector --protector 
$W/LinkTarget/Library/vclbootstrapprotector.dll vclbootstrapprotector 
-env:SVG_DISABLE_FONT_EMBEDDING= > 
$W/CppunitTest/sd_export_tests.test.log 2>&1
warn:legacy.tools:1112:364:sfx2/source/appl/app.cxx:202: No DDE-Service 
possible. Error: 16399
warn:vcl.opengl.win:1112:364:vcl/opengl/win/WinDeviceInfo.cxx:914: error 
parsing blacklist
warn:unotools.misc:1112:364:unotools/source/misc/mediadescriptor.cxx:757: caught 
Exception "an error occurred during file opening" while opening 
<file:///C:/LO_buildDebug/core/workdir/unittest/user/config/standard.sob>
warn:unotools.misc:1112:364:unotools/source/misc/mediadescriptor.cxx:757: caught 
Exception "an error occurred during file opening" while opening 
<file:///C:/LO_buildDebug/core/workdir/unittest/user/config/standard.soc>
warn:unotools.misc:1112:364:unotools/source/misc/mediadescriptor.cxx:757: caught 
Exception "an error occurred during file opening" while opening 
<file:///C:/LO_buildDebug/core/workdir/unittest/user/config/standard.sod>
warn:unotools.misc:1112:364:unotools/source/misc/mediadescriptor.cxx:757: caught 
Exception "an error occurred during file opening" while opening 
<file:///C:/LO_buildDebug/core/workdir/unittest/user/config/standard.sog>
warn:unotools.misc:1112:364:unotools/source/misc/mediadescriptor.cxx:757: caught 
Exception "an error occurred during file opening" while opening 
<file:///C:/LO_buildDebug/core/workdir/unittest/user/config/standard.soh>
warn:unotools.misc:1112:364:unotools/source/misc/mediadescriptor.cxx:757: caught 
Exception "an error occurred during file opening" while opening 
<file:///C:/LO_buildDebug/core/workdir/unittest/user/config/standard.soe>
warn:basic:1112:364:basic/source/uno/namecont.cxx:1013: Cannot access 
extensions!
warn:basic:1112:364:basic/source/uno/namecont.cxx:1013: Cannot access 
extensions!
warn:xmloff:1112:364:xmloff/source/style/impastpl.cxx:432: Adding 
duplicate family graphic with mismatching mapper ! class 
SvXMLExportPropertyMapper * class XMLShapeExportPropertyMapper
warn:xmloff:1112:364:xmloff/source/style/impastpl.cxx:432: Adding 
duplicate family presentation with mismatching mapper ! class 
SvXMLExportPropertyMapper * class XMLShapeExportPropertyMapper
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 11
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 13
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 12
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 2
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 13
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 12
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 2
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 11
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 13
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 12
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 2
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 11
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 13
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 12
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 2
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 13
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 12
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 2
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 11
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 13
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 12
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id 
service unknown: 2
warn:xmloff:1112:364:xmloff/source/style/impastpl.cxx:432: Adding 
duplicate family graphic with mismatching mapper ! class 
SvXMLExportPropertyMapper * class XMLShapeExportPropertyMapper
warn:xmloff:1112:364:xmloff/source/style/impastpl.cxx:432: Adding 
duplicate family presentation with mismatching mapper ! class 
SvXMLExportPropertyMapper * class XMLShapeExportPropertyMapper
warn:legacy.osl:1112:364:xmloff/source/draw/shapeexport.cxx:756: 
XMLShapeExport::exportShape(), exception caught!
warn:legacy.tools:1112:364:vcl/source/gdi/bmpacc.cxx:53: Forbidden 
Access to empty bitmap!
warn:legacy.tools:1112:364:vcl/source/window/window.cxx:893: 
Window::Window(): pParent == NULL
warn:vcl.opengl:1112:364:vcl/source/opengl/OpenGLContext.cxx:1279: 
OpenGLContext::makeCurrent(): wglMakeCurrent failed: 0
warn:legacy.osl:1112:364:sax/source/expatwrap/saxwriter.cxx:122: cached 
Sequence not written
warn:tools.debug:1112:364:tools/source/debug/debug.cxx:297: no 
DbgTestSolarMutex function set
warn:fwk:1112:364:framework/source/services/desktop.cxx:1017: Desktop 
disposed before terminating it

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

export CPPUNITTRACE="\"[full path to devenv.exe]\" /debugexe" # for 
interactive debugging in Visual Studio
export CPPUNITTRACE="drmemory -free_max_frames 20"            # for 
memory checking (install Dr.Memory first, and put it to your PATH)

and retry using: make CppunitTest_sd_export_tests

C:/LO_buildDebug/core/solenv/gbuild/CppunitTest.mk:87: recipe for target 
'C:/LO_buildDebug/core/workdir/CppunitTest/sd_export_tests.test' failed
make[1]: *** 
[C:/LO_buildDebug/core/workdir/CppunitTest/sd_export_tests.test] Error 1
Makefile:148: recipe for target 'CppunitTest_sd_export_tests' failed
make: *** [CppunitTest_sd_export_tests] Error 2




More information about the LibreOffice mailing list