<div dir="ltr">By running "/Volumes/Master/lo/core/instdir/LibreOfficeDev.app/Contents/MacOS/soffice /Volumes/Master/lo/core//sw/qa/extras/globalfilter/data/skipimages.docx", EMF+ image is not displayed, however LO is able to open skipimages.docx.<div><br></div><div><br></div><div>







<p class=""><span class="">make CppunitTest_sw_globalfilter</span></p>
<p class=""><span class="">/Applications/Xcode.app/Contents/Developer/usr/bin/make -j 2 -r -f /Volumes/Master/lo/core/Makefile.gbuild CppunitTest_sw_globalfilter</span></p>
<p class=""><span class="">[build CXX] unotest/source/cpp/macros_test.cxx</span></p>
<p class=""><span class="">S=/Volumes/Master/lo/core && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CxxObject/unotest/source/cpp/ $W/Dep/CxxObject/unotest/source/cpp/ && cd /Volumes/Master/lo/core &&   /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -m64  -stdlib=libc++ -mmacosx-version-min=10.10 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -DCPPU_ENV=gcc3 -DMACOSX -DMACOSX_SDK_VERSION=101000 -DMAC_OS_X_VERSION_MAX_ALLOWED=101000 -DMAC_OS_X_VERSION_MIN_REQUIRED=101000 -DNDEBUG -DNO_PTHREAD_PRIORITY -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT   -DOOO_DLLIMPLEMENTATION_UNOTEST   -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden   -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe  -fvisibility-inlines-hidden -fstack-protector-strong -fPIC -Woverloaded-virtual -Wshadow -Wno-ctor-dtor-privacy -fno-strict-aliasing -fsigned-char -std=gnu++11  -DEXCEPTIONS_ON -fexceptions -O2  -DLIBO_INTERNAL_ONLY  -c $S/unotest/source/cpp/macros_test.cxx -o $W/CxxObject/unotest/source/cpp/macros_test.o -MMD -MT $W/CxxObject/unotest/source/cpp/macros_test.o -MP -MF $W/Dep/CxxObject/unotest/source/cpp/macros_test.d_ -I$S/unotest/source/cpp/ -I$W/UnpackedTarball/cppunit/include -I$W/UnpackedTarball/boost  -I$S/include  -I/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/include  -I/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/include/darwin -I$S/config_host  -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal    && mv $W/Dep/CxxObject/unotest/source/cpp/macros_test.d_ $W/Dep/CxxObject/unotest/source/cpp/macros_test.d </span></p>
<p class=""><span class="">[build DEP] LNK:Library/libunotest.dylib</span></p>
<p class=""><span class="">[build LNK] Library/libunotest.dylib</span></p>
<p class=""><span class="">S=/Volumes/Master/lo/core && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/Dep/LinkTarget/Library/ && RESPONSEFILE=/var/folders/ln/gk5trbq569981lsbt6t3lgq40000gr/T/gbuild..GsoBj3fu && DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+$DYLD_LIBRARY_PATH:}"$I/LibreOfficeDev.app/Contents/Frameworks:$I/LibreOfficeDev.app/Contents/Frameworks"   $W/LinkTarget/Executable/concat-deps ${RESPONSEFILE} > $W/Dep/LinkTarget/Library/libunotest.dylib.d.tmp && rm -f ${RESPONSEFILE}</span></p>
<p class=""><span class="">mv /Volumes/Master/lo/core/workdir/Dep/LinkTarget/Library/libunotest.dylib.d.tmp /Volumes/Master/lo/core/workdir/Dep/LinkTarget/Library/libunotest.dylib.d</span></p>
<p class=""><span class="">S=/Volumes/Master/lo/core && I=$S/instdir && W=$S/workdir &&  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -m64  -stdlib=libc++ -mmacosx-version-min=10.10 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk   -dynamiclib -single_module -install_name '@__________________________________________________NONE/libunotest.dylib' -fstack-protector-strong -L$W/LinkTarget/StaticLibrary -L$W/LinkTarget/Library  -L$I/LibreOfficeDev.app/Contents/Frameworks  -L$I/LibreOfficeDev.app/Contents/Frameworks  -L$W/LinkTarget/Library   -lcomphelper -luno_cppor-strong -L$W/LinkTarget/StaticLibrary -L$W/LinkTarget/Library  -L$I/LibreOfficeDev.app/Contents/Frameworks  -L$I/LibreOfficeDev.app/Contents/Frameworks  -L$W/LinkTarget/Library   -lcomphelper -luno_cpprotector-strong -L$W/LinkTarget/StaticLibrary -L$W/LinkTarget/Library  -L$I/LibreOfficeDev.app/Contents/Frameworks  -L$I/LibreOfficeDev.app/Contents/Frameworks  -L$W/LinkTarget/Library   -lcomphelper -luno_cppu -luno_cppuhelpergcc3 -luno_sal -lsblo  $W/CxxObject/unotest/source/cpp/bootstrapfixturebase.o $W/CxxObject/unotest/source/cpp/filters-test.o $W/CxxObject/unotest/source/cpp/getargument.o $W/CxxObject/unotest/source/cpp/gettestargument.o $W/CxxObject/unotest/source/cpp/macros_test.o $W/CxxObject/unotest/source/cpp/officeconnection.o $W/CxxObject/unotest/source/cpp/toabsolutefileurl.o $W/CxxObject/unotest/source/cpp/uniquepipename.o         -L$W/UnpackedTarball/cppunit/src/cppunit/.libs -lcppunit   -o $W/LinkTarget/Library/libunotest.dylib && : &&   /usr/bin/perl $S/solenv/bin/<a href="http://macosx-change-install-names.pl">macosx-change-install-names.pl</a> shl NONE $W/LinkTarget/Library/libunotest.dylib &&   otool -l $W/LinkTarget/Library/libunotest.dylib | grep -A 5 LC_ID_DYLIB > $W/LinkTarget/Library/libunotest.dylib.exports.tmp && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm -g -P $W/LinkTarget/Library/libunotest.dylib | cut -d' ' -f1-2 | grep -v U$ >> $W/LinkTarget/Library/libunotest.dylib.exports.tmp && if cmp -s $W/LinkTarget/Library/libunotest.dylib.exports.tmp  $W/LinkTarget/Library/libunotest.dylib.exports; then rm $W/LinkTarget/Library/libunotest.dylib.exports.tmp; else mv $W/LinkTarget/Library/libunotest.dylib.exports.tmp  $W/LinkTarget/Library/libunotest.dylib.exports && touch -r $W/LinkTarget/Library/libunotest.dylib  $W/LinkTarget/Library/libunotest.dylib.exports; fi && :</span></p>
<p class=""><span class="">TEMPFILE=/var/folders/ln/gk5trbq569981lsbt6t3lgq40000gr/T/gbuild..uFutKo1c &&  mv ${TEMPFILE} /Volumes/Master/lo/core/workdir/LinkTarget/Library/libunotest.dylib.objectlist</span></p>
<p class=""><span class="">[build CUT] sw_globalfilter</span></p>
<p class=""><span class="">S=/Volumes/Master/lo/core && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CppunitTest/ && rm -fr $W/CppunitTest/sw_globalfilter.test.user && mkdir $W/CppunitTest/sw_globalfilter.test.user &&   (DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+$DYLD_LIBRARY_PATH:}"$I/LibreOfficeDev.app/Contents/Frameworks:$I/LibreOfficeDev.app/Contents/Frameworks":$W/LinkTarget/Library:$W/UnpackedTarball/cppunit/src/cppunit/.libs       lldb --  $W/LinkTarget/Executable/cppunittester $W/LinkTarget/CppunitTest/libtest_sw_globalfilter.dylib --headless "-env:BRAND_BASE_DIR=file://$I/LibreOfficeDev.app/Contents" "-env:BRAND_SHARE_SUBDIR=Resources" "-env:UserInstallation=file://$W/CppunitTest/sw_globalfilter.test.user"   "-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/LibreOfficeDev.app/Contents/Resources/registry xcsxcu:file://$W/unittest/registry"  "-env:UNO_TYPES=file://$I/LibreOfficeDev.app/Contents/Resources/types/offapi.rdb file://$I/LibreOfficeDev.app/Contents/Resources/ure/share/misc/types.rdb"  "-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb file://$W/ComponentTarget/basic/util/sb.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/drawinglayer/drawinglayer.component file://$W/ComponentTarget/embeddedobj/util/embobj.component file://$W/ComponentTarget/filter/source/config/cache/filterconfig1.component file://$W/ComponentTarget/filter/source/storagefilterdetect/storagefd.component file://$W/ComponentTarget/filter/source/textfilterdetect/textfd.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/sfx2/util/sfx.component file://$W/ComponentTarget/svl/source/fsstor/fsstorage.component file://$W/ComponentTarget/svtools/util/svt.component file://$W/ComponentTarget/sw/util/msword.component file://$W/ComponentTarget/sw/util/sw.component file://$W/ComponentTarget/sw/util/swd.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/unotools/util/utl.component file://$W/ComponentTarget/unoxml/source/service/unoxml.component file://$W/ComponentTarget/uui/util/uui.component file://$W/ComponentTarget/xmlhelp/util/ucpchelp1.component file://$W/ComponentTarget/writerfilter/util/writerfilter.component file://$W/ComponentTarget/xmloff/util/xo.component"  -env:URE_INTERNAL_LIB_DIR=file://$I/LibreOfficeDev.app/Contents/Frameworks -env:LO_LIB_DIR=file://$I/LibreOfficeDev.app/Contents/Frameworks -env:LO_JAVA_DIR=file://$I/LibreOfficeDev.app/Contents/Resources/java --protector $W/LinkTarget/Library/unoexceptionprotector.dylib unoexceptionprotector --protector $W/LinkTarget/Library/unobootstrapprotector.dylib unobootstrapprotector   --protector $W/LinkTarget/Library/libvclbootstrapprotector.dylib vclbootstrapprotector   )</span></p>
<p class=""><span class="">(lldb) target create "/Volumes/Master/lo/core/workdir/LinkTarget/Executable/cppunittester"</span></p>
<p class=""><span class="">Current executable set to '/Volumes/Master/lo/core/workdir/LinkTarget/Executable/cppunittester' (x86_64).</span></p>
<p class=""><span class="">(lldb) settings set -- target.run-args  "/Volumes/Master/lo/core/workdir/LinkTarget/CppunitTest/libtest_sw_globalfilter.dylib" "--headless" "-env:BRAND_BASE_DIR=file:///Volumes/Master/lo/core/instdir/LibreOfficeDev.app/Contents" "-env:BRAND_SHARE_SUBDIR=Resources" "-env:UserInstallation=file:///Volumes/Master/lo/core/workdir/CppunitTest/sw_globalfilter.test.user" "-env:CONFIGURATION_LAYERS=xcsxcu:file:///Volumes/Master/lo/core/instdir/LibreOfficeDev.app/Contents/Resources/registry xcsxcu:file:///Volumes/Master/lo/core/workdir/unittest/registry" "-env:UNO_TYPES=file:///Volumes/Master/lo/core/instdir/LibreOfficeDev.app/Contents/Resources/types/offapi.rdb file:///Volumes/Master/lo/core/instdir/LibreOfficeDev.app/Contents/Resources/ure/share/misc/types.rdb" "-env:UNO_SERVICES=file:///Volumes/Master/lo/core/workdir/Rdb/ure/services.rdb file:///Volumes/Master/lo/core/workdir/ComponentTarget/basic/util/sb.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/comphelper/util/comphelp.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/configmgr/source/configmgr.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/dbaccess/util/dba.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/drawinglayer/drawinglayer.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/embeddedobj/util/embobj.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/filter/source/config/cache/filterconfig1.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/filter/source/storagefilterdetect/storagefd.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/filter/source/textfilterdetect/textfd.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/forms/util/frm.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/framework/util/fwk.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/i18npool/util/i18npool.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/linguistic/source/lng.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/oox/util/oox.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/package/source/xstor/xstor.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/package/util/package2.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/sax/source/expatwrap/expwrap.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/sfx2/util/sfx.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/svl/source/fsstor/fsstorage.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/svtools/util/svt.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/sw/util/msword.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/sw/util/sw.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/sw/util/swd.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/toolkit/util/tk.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/ucb/source/core/ucb1.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/ucb/source/ucp/file/ucpfile1.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/unotools/util/utl.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/unoxml/source/service/unoxml.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/uui/util/uui.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/xmlhelp/util/ucpchelp1.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/writerfilter/util/writerfilter.component file:///Volumes/Master/lo/core/workdir/ComponentTarget/xmloff/util/xo.component" "-env:URE_INTERNAL_LIB_DIR=file:///Volumes/Master/lo/core/instdir/LibreOfficeDev.app/Contents/Frameworks" "-env:LO_LIB_DIR=file:///Volumes/Master/lo/core/instdir/LibreOfficeDev.app/Contents/Frameworks" "-env:LO_JAVA_DIR=file:///Volumes/Master/lo/core/instdir/LibreOfficeDev.app/Contents/Resources/java" "--protector" "/Volumes/Master/lo/core/workdir/LinkTarget/Library/unoexceptionprotector.dylib" "unoexceptionprotector" "--protector" "/Volumes/Master/lo/core/workdir/LinkTarget/Library/unobootstrapprotector.dylib" "unobootstrapprotector" "--protector" "/Volumes/Master/lo/core/workdir/LinkTarget/Library/libvclbootstrapprotector.dylib" "vclbootstrapprotector"</span></p>
<p class=""><span class="">(lldb) </span><span class="">run</span></p>
<p class=""><span class="">Process 83376 launched: '/Volumes/Master/lo/core/workdir/LinkTarget/Executable/cppunittester' (x86_64)</span></p>
<p class=""><span class="">/Volumes/Master/lo/core/unotest/source/cpp/macros_test.cxx:52:Test::testSkipImages</span></p>
<p class=""><span class="">assertion failed</span></p>
<p class=""><span class="">- Expression: xComponent.is()</span></p>
<p class=""><span class="">- loading failed: file:///Volumes/Master/lo/core//sw/qa/extras/globalfilter/data/skipimages.docx</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">unknown:0:Test::testSkipImages</span></p>
<p class=""><span class="">tearDown() failed</span></p>
<p class=""><span class="">- An uncaught exception of type com.sun.star.lang.DisposedException</span></p>
<p class=""><span class="">- </span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">/Volumes/Master/lo/core/unotest/source/cpp/macros_test.cxx:52: Assertion</span></p>
<p class=""><span class="">Test name: Test::testSkipImages</span></p>
<p class=""><span class="">assertion failed</span></p>
<p class=""><span class="">- Expression: xComponent.is()</span></p>
<p class=""><span class="">- loading failed: file:///Volumes/Master/lo/core//sw/qa/extras/globalfilter/data/skipimages.docx</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">##Failure Location unknown## : Error</span></p>
<p class=""><span class="">Test name: Test::testSkipImages</span></p>
<p class=""><span class="">tearDown() failed</span></p>
<p class=""><span class="">- An uncaught exception of type com.sun.star.lang.DisposedException</span></p>
<p class=""><span class="">- </span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">Failures !!!</span></p>
<p class=""><span class="">Run: 8   Failure total: 2   Failures: 1   Errors: 1</span></p>
<p class=""><span class="">2015-06-02 11:35:21.018 cppunittester[83376:2233867] *** -[NSAutoreleasePool release]: This pool has already been released, do not drain it (double release).</span></p>
<p class=""><span class="">Process 83376 exited with status = 1 (0x00000001) </span></p>
<p class=""><span class="">(lldb) </span></p></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-02 10:04 GMT+02:00 Stephan Bergmann <span dir="ltr"><<a href="mailto:sbergman@redhat.com" target="_blank">sbergman@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 06/02/2015 09:48 AM, Alex Thurgood wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Le 02/06/2015 08:39, Stephan Bergmann a écrit :<br>
</span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Robert, please monitor the health of your tb, and if it starts to<br>
systematically fail, do something about it.  In this particular case,<br>
please debug into the cause of that DisposedException.<br>
</blockquote>
<br>
Nothing to do with :<br>
<br>
<a href="https://bugs.documentfoundation.org/show_bug.cgi?id=90502#c13" target="_blank">https://bugs.documentfoundation.org/show_bug.cgi?id=90502#c13</a><br>
<br>
by any chance ?<br>
</span></blockquote>
<br>
Yes, the CppunitTest output in <<a href="https://bugs.documentfoundation.org/show_bug.cgi?id=90502#c13" target="_blank">https://bugs.documentfoundation.org/show_bug.cgi?id=90502#c13</a>> (which in turn looks unrelated to the original topic of <<a href="https://bugs.documentfoundation.org/show_bug.cgi?id=90502" target="_blank">https://bugs.documentfoundation.org/show_bug.cgi?id=90502</a>>) looks the same as the tb's.<br>
<br>
And right, on closer inspection of the CppunitTest output, the DisposedException (during tearDown) might be a red herring, and the truly relevant part is why loading sw/qa/extras/globalfilter/data/skipimages.docx fails in the first place.<br>
<br>
* What happens if you try to load that skipimages.docx manually in LO?<br>
<br>
* What do you see if you debug into the xLoader->loadComponentFromURL call at macros_test.cxx:50 during that CppunitTest_sw_globalfilter?<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><a href="http://about.me/rbuj" target="_blank">http://about.me/rbuj</a></div></div></div></div></div></div></div></div></div>
</div>