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.
make CppunitTest_sw_globalfilter
/Applications/Xcode.app/Contents/Developer/usr/bin/make -j 2 -r -f
/Volumes/Master/lo/core/Makefile.gbuild CppunitTest_sw_globalfilter
[build CXX] unotest/source/cpp/macros_test.cxx
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
[build DEP] LNK:Library/libunotest.dylib
[build LNK] Library/libunotest.dylib
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}
mv
/Volumes/Master/lo/core/workdir/Dep/LinkTarget/Library/libunotest.dylib.d.tmp
/Volumes/Master/lo/core/workdir/Dep/LinkTarget/Library/libunotest.dylib.d
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/macosx-change-install-names.pl 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 && :
TEMPFILE=/var/folders/ln/gk5trbq569981lsbt6t3lgq40000gr/T/gbuild..uFutKo1c
&& mv ${TEMPFILE}
/Volumes/Master/lo/core/workdir/LinkTarget/Library/libunotest.dylib.objectlist
[build CUT] sw_globalfilter
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 )
(lldb) target create
"/Volumes/Master/lo/core/workdir/LinkTarget/Executable/cppunittester"
Current executable set to
'/Volumes/Master/lo/core/workdir/LinkTarget/Executable/cppunittester'
(x86_64).
(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"
(lldb) run
Process 83376 launched:
'/Volumes/Master/lo/core/workdir/LinkTarget/Executable/cppunittester'
(x86_64)
/Volumes/Master/lo/core/unotest/source/cpp/macros_test.cxx:52:Test::testSkipImages
assertion failed
- Expression: xComponent.is()
- loading failed:
file:///Volumes/Master/lo/core//sw/qa/extras/globalfilter/data/skipimages.docx
unknown:0:Test::testSkipImages
tearDown() failed
- An uncaught exception of type com.sun.star.lang.DisposedException
-
/Volumes/Master/lo/core/unotest/source/cpp/macros_test.cxx:52: Assertion
Test name: Test::testSkipImages
assertion failed
- Expression: xComponent.is()
- loading failed:
file:///Volumes/Master/lo/core//sw/qa/extras/globalfilter/data/skipimages.docx
##Failure Location unknown## : Error
Test name: Test::testSkipImages
tearDown() failed
- An uncaught exception of type com.sun.star.lang.DisposedException
-
Failures !!!
Run: 8 Failure total: 2 Failures: 1 Errors: 1
2015-06-02 11:35:21.018 cppunittester[83376:2233867] ***
-[NSAutoreleasePool release]: This pool has already been released, do not
drain it (double release).
Process 83376 exited with status = 1 (0x00000001)
(lldb)
2015-06-02 10:04 GMT+02:00 Stephan Bergmann <sbergman@redhat.com>:
On 06/02/2015 09:48 AM, Alex Thurgood wrote:
Le 02/06/2015 08:39, Stephan Bergmann a écrit :
Robert, please monitor the health of your tb, and if it starts to
systematically fail, do something about it. In this particular case,
please debug into the cause of that DisposedException.
Nothing to do with :
https://bugs.documentfoundation.org/show_bug.cgi?id=90502#c13
by any chance ?
Yes, the CppunitTest output in <
https://bugs.documentfoundation.org/show_bug.cgi?id=90502#c13> (which in
turn looks unrelated to the original topic of <
https://bugs.documentfoundation.org/show_bug.cgi?id=90502>) looks the
same as the tb's.
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.
* What happens if you try to load that skipimages.docx manually in LO?
* What do you see if you debug into the xLoader->loadComponentFromURL call
at macros_test.cxx:50 during that CppunitTest_sw_globalfilter?
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
--
http://about.me/rbuj
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.