https://bugs.freedesktop.org/show_bug.cgi?id=61627
--- Comment #13 from Martin Liška <[email protected]> --- There's a bug that is comming from libmergedlo.so. Do you have ideas what could be wrong? /usr/bin/make -j 9 -rs -f /home/marxin/Programming/libreoffice-lto-test/Makefile.gbuild CppunitTest_sd_filters_test [build CUT] sd_filters_test /bin/sh: line 1: 5096 Killed LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$O/lib:$S/instdir/unxlngx6.pro/program":$O/lib/sqlite G_SLICE=always-malloc GLIBCXX_FORCE_NEW=1 DBGSV_ERROR_OUT=shell DISABLE_SAL_DBGBOX=t valgrind --tool=memcheck --num-callers=50 --error-exitcode=1 --trace-children=yes --leak-check=no $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_sd_filters_test.so --headless "-env:BRAND_BASE_DIR=file://$O/unittest/install" "-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry module:file://$O/xml/registry/spool" "-env:UNO_TYPES=file://$O/bin/offapi.rdb file://$O/bin/udkapi.rdb" "-env:UNO_SERVICES=file://$O/xml/ure/services.rdb file://$O/xml/component/animations/source/animcore/animcore.component file://$O/xml/component/basic/util/sb.component file://$O/xml/component/comphelper/util/comphelp.component file://$O/xml/component/configmgr/source/configmgr.component file://$O/xml/component/dbaccess/util/dba.component file://$O/xml/component/embeddedobj/util/embobj.component file://$O/xml/component/fileaccess/source/fileacc.component file://$O/xml/component/filter/source/config/cache/filterconfig1.component file://$O/xml/component/framework/util/fwk.component file://$O/xml/component/i18npool/util/i18npool.component file://$O/xml/component/linguistic/source/lng.component file://$O/xml/component/oox/util/oox.component file://$O/xml/component/package/source/xstor/xstor.component file://$O/xml/component/package/util/package2.component file://$O/xml/component/sax/source/expatwrap/expwrap.component file://$O/xml/component/sax/source/fastparser/fastsax.component file://$O/xml/component/sd/util/sd.component file://$O/xml/component/sd/util/sdfilt.component file://$O/xml/component/sfx2/util/sfx.component file://$O/xml/component/sot/util/sot.component file://$O/xml/component/svtools/util/svt.component file://$O/xml/component/toolkit/util/tk.component file://$O/xml/component/ucb/source/core/ucb1.component file://$O/xml/component/ucb/source/ucp/file/ucpfile1.component file://$O/xml/component/ucb/source/ucp/tdoc/ucptdoc1.component file://$O/xml/component/unotools/util/utl.component file://$O/xml/component/unoxml/source/rdf/unordf.component file://$O/xml/component/unoxml/source/service/unoxml.component file://$O/xml/component/xmloff/util/xo.component" -env:URE_INTERNAL_LIB_DIR=file://$O/lib -env:LO_LIB_DIR=file://$O/lib --protector unoexceptionprotector.so unoexceptionprotector --protector unobootstrapprotector.so unobootstrapprotector > $W/CppunitTest/sd_filters_test.test.log 2>&1 ==5096== Memcheck, a memory error detector ==5096== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. ==5096== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info ==5096== Command: /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/bin/cppunit/cppunittester /home/marxin/Programming/libreoffice-lto-test/workdir/unxlngx6.pro/LinkTarget/CppunitTest/libtest_sd_filters_test.so --headless -env:BRAND_BASE_DIR=file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/unittest/install -env:CONFIGURATION_LAYERS=xcsxcu:file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/registry\ module:file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/registry/spool -env:UNO_TYPES=file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/bin/offapi.rdb\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/bin/udkapi.rdb -env:UNO_SERVICES=file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/ure/services.rdb\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/animations/source/animcore/animcore.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/basic/util/sb.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/comphelper/util/comphelp.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/configmgr/source/configmgr.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/dbaccess/util/dba.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/embeddedobj/util/embobj.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/fileaccess/source/fileacc.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/filter/source/config/cache/filterconfig1.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/framework/util/fwk.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/i18npool/util/i18npool.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/linguistic/source/lng.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/oox/util/oox.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/package/source/xstor/xstor.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/package/util/package2.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/sax/source/expatwrap/expwrap.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/sax/source/fastparser/fastsax.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/sd/util/sd.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/sd/util/sdfilt.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/sfx2/util/sfx.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/sot/util/sot.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/svtools/util/svt.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/toolkit/util/tk.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/ucb/source/core/ucb1.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/ucb/source/ucp/file/ucpfile1.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/ucb/source/ucp/tdoc/ucptdoc1.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/unotools/util/utl.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/unoxml/source/rdf/unordf.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/unoxml/source/service/unoxml.component\ file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/xml/component/xmloff/util/xo.component -env:URE_INTERNAL_LIB_DIR=file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib -env:LO_LIB_DIR=file:///home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib --protector unoexceptionprotector.so unoexceptionprotector --protector unobootstrapprotector.so unobootstrapprotector ==5096== ==5096== Invalid read of size 8 ==5096== at 0x93D0100: SotObject::SotObject() (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libmergedlo.so) ==5096== by 0xBE80AF1: sd::DrawDocShell::DrawDocShell(unsigned long, unsigned char, DocumentType) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libsdlo.so) ==5096== by 0xBE80C50: SdPresentationDocument_createInstance(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, unsigned long) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libsdlo.so) ==5096== by 0x91F33BB: sfx2::SfxModelFactory::createInstanceWithArguments(com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libmergedlo.so) ==5096== by 0x8E32024: sfx2::SfxModelFactory::createInstance() (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libmergedlo.so) ==5096== by 0x62A69A1: cppuhelper::ServiceManager::createInstanceWithContext(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libuno_cppuhelpergcc3.so.3) ==5096== by 0x62422D3: cppuhelper::ServiceManager::createInstance(rtl::OUString const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libuno_cppuhelpergcc3.so.3) ==5096== by 0x41F3C3B: SdFiltersTest::setUp() (in /home/marxin/Programming/libreoffice-lto-test/workdir/unxlngx6.pro/LinkTarget/CppunitTest/libtest_sd_filters_test.so) ==5096== by 0x40E814D: CppUnit::TestCaseMethodFunctor::operator()() const (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E33B0: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x412280F: (anonymous namespace)::Prot::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/unoexceptionprotector.so) ==5096== by 0x40E33B0: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40DA015: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E33B0: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E325A: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40F2739: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*, std::string const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E7B55: CppUnit::TestCase::run(CppUnit::TestResult*) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E8811: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E869B: CppUnit::TestComposite::run(CppUnit::TestResult*) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E8811: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E869B: CppUnit::TestComposite::run(CppUnit::TestResult*) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40F6877: CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40F2517: CppUnit::TestResult::runTest(CppUnit::Test*) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40F6AC7: CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x4026A9: (anonymous namespace)::ProtectedFixtureFunctor::run() const (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/bin/cppunit/cppunittester) ==5096== by 0x402B26: sal_main() (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/bin/cppunit/cppunittester) ==5096== by 0x40226A: main (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/bin/cppunit/cppunittester) ==5096== Address 0x30 is not stack'd, malloc'd or (recently) free'd ==5096== ==5096== ==5096== Process terminating with default action of signal 11 (SIGSEGV) ==5096== Access not within mapped region at address 0x30 ==5096== at 0x93D0100: SotObject::SotObject() (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libmergedlo.so) ==5096== by 0xBE80AF1: sd::DrawDocShell::DrawDocShell(unsigned long, unsigned char, DocumentType) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libsdlo.so) ==5096== by 0xBE80C50: SdPresentationDocument_createInstance(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, unsigned long) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libsdlo.so) ==5096== by 0x91F33BB: sfx2::SfxModelFactory::createInstanceWithArguments(com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libmergedlo.so) ==5096== by 0x8E32024: sfx2::SfxModelFactory::createInstance() (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libmergedlo.so) ==5096== by 0x62A69A1: cppuhelper::ServiceManager::createInstanceWithContext(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libuno_cppuhelpergcc3.so.3) ==5096== by 0x62422D3: cppuhelper::ServiceManager::createInstance(rtl::OUString const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libuno_cppuhelpergcc3.so.3) ==5096== by 0x41F3C3B: SdFiltersTest::setUp() (in /home/marxin/Programming/libreoffice-lto-test/workdir/unxlngx6.pro/LinkTarget/CppunitTest/libtest_sd_filters_test.so) ==5096== by 0x40E814D: CppUnit::TestCaseMethodFunctor::operator()() const (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E33B0: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x412280F: (anonymous namespace)::Prot::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/unoexceptionprotector.so) ==5096== by 0x40E33B0: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40DA015: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E33B0: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E325A: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40F2739: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*, std::string const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E7B55: CppUnit::TestCase::run(CppUnit::TestResult*) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E8811: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E869B: CppUnit::TestComposite::run(CppUnit::TestResult*) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E8811: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40E869B: CppUnit::TestComposite::run(CppUnit::TestResult*) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40F6877: CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40F2517: CppUnit::TestResult::runTest(CppUnit::Test*) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x40F6AC7: CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0) ==5096== by 0x4026A9: (anonymous namespace)::ProtectedFixtureFunctor::run() const (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/bin/cppunit/cppunittester) ==5096== by 0x402B26: sal_main() (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/bin/cppunit/cppunittester) ==5096== by 0x40226A: main (in /home/marxin/Programming/libreoffice-lto-test/solver/unxlngx6.pro/bin/cppunit/cppunittester) ==5096== If you believe this happened as a result of a stack ==5096== overflow in your program's main thread (unlikely but ==5096== possible), you can try to increase the size of the ==5096== main thread stack using the --main-stacksize= flag. ==5096== The main thread stack size used in this run was 16777216. ==5096== ==5096== HEAP SUMMARY: ==5096== in use at exit: 9,760,467 bytes in 136,368 blocks ==5096== total heap usage: 186,509 allocs, 50,141 frees, 15,853,662 bytes allocated ==5096== ==5096== For a detailed leak analysis, rerun with: --leak-check=full ==5096== ==5096== For counts of detected and suppressed errors, rerun with: -v ==5096== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 2) -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
