<div dir="ltr">I'm building LibreOffice master (commit 4092e92f787f) on Windows 10 using Visual Studio 2019.<br>Normal build succeeds and runs, but unit test vcl_pdfexport fails. There's 1,300 lines of warnings in the log but no error cause listed:<br><br>[build CUT] vcl_pdfexport<br>... [1300 lines omitted] ...<br>[_RUN_____] `anonymous namespace'::testTdf66597_2::TestBody<br>warn:vcl:18372:12828:vcl/win/window/salframe.cxx:1072: WinSalFrame::SetIcon(): Could not load large icon !<br>warn:vcl:18372:12828:vcl/win/window/salframe.cxx:1073: WinSalFrame::SetIcon(): Could not load small icon !<br><br>Error: a unit test failed, please do one of:<br>make CppunitTest_vcl_pdfexport CPPUNITTRACE=TRUE # which is a shortcut for the following line<br>make CppunitTest_vcl_pdfexport CPPUNITTRACE="'C:/PROGRA~2/MIB055~1/2019/COMMUN~1/Common7/IDE/devenv.exe' /debugexe" # for interactive debugging in Visual Studio<br>make CppunitTest_vcl_pdfexport CPPUNITTRACE="drmemory -free_max_frames 20" # for memory checking (install Dr.Memory first, and put it to your PATH)<br><br>You can limit the execution to just one particular test by:<br><br>make CppunitTest_vcl_pdfexport CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...<br><br>make[1]: *** [C:/cygwin/home/Marc/lode/dev/core/solenv/gbuild/CppunitTest.mk:130: C:/cygwin/home/Marc/lode/dev/core/workdir/CppunitTest/vcl_pdfexport.test] Error 1<br>make: *** [Makefile:178: CppunitTest_vcl_pdfexport] Error 2<br><br>Debugging in VS shows a crash from a NULL pointer in vcl\qa\cppunit\pdfexport\pdfexport.cxx: 1720. In the previous line<br>  pObject->Lookup("BaseFont"_ostr)<br>fails because there's no "BaseFont" element, resulting in pName = NULL, then the crash in 1720. I don't have any local changes, and the unit test uses a file from the repo "vcl\qa\cppunit\pdfexport\data\tdf66597-2.odt".<br><br>Any ideas how to troubleshoot this?<br><br>Thanks,<br>Marc Mondesir<br><br></div>