make -r -f /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/Makefile.top tail_build make[1]: Entering directory `/var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4' Automatic fetching of external tarballs is disabled. cd tail_build && make -j 4 -rs gb_PARTIALBUILD=T [ build MOD ] accessibility make[2]: Entering directory `/var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/tail_build' [ build MOD ] animations [ build MOD ] avmedia [ build MOD ] basctl [ build MOD ] basebmp [ build MOD ] basegfx [ build MOD ] basic [ build MOD ] bean [ build MOD ] binaryurp [ build MOD ] canvas [ build MOD ] chart2 [ build MOD ] configmgr [ build MOD ] cppcanvas [ build MOD ] cui [ build MOD ] dbaccess [ build MOD ] desktop [ build MOD ] dtrans [ build MOD ] drawinglayer [ build MOD ] editeng [ build MOD ] embeddedobj [ build MOD ] eventattacher [ build MOD ] extensions [ build MOD ] fileaccess [ build MOD ] filter [ build MOD ] forms [ build MOD ] formula [ build MOD ] fpicker [ build MOD ] framework [ build MOD ] hwpfilter [ build MOD ] i18npool [ build MOD ] i18nutil [ build MOD ] io [ build MOD ] javaunohelper [ build MOD ] lingucomponent [ build MOD ] linguistic [ build MOD ] lotuswordpro [ build MOD ] oox [ build MOD ] package [ build MOD ] padmin [ build MOD ] regexp [ build MOD ] sax [ build MOD ] scaddins [ build MOD ] sccomp [ build MOD ] scripting [ build MOD ] sdext [ build MOD ] sfx2 [ build MOD ] shell [ build MOD ] slideshow [ build MOD ] smoketest [ build MOD ] sot [ build MOD ] starmath [ build MOD ] svl [ build MOD ] svtools [ build MOD ] svx [ build MOD ] toolkit [ build MOD ] tools [ build MOD ] ucb [ build MOD ] UnoControls [ build MOD ] unotest [ build MOD ] unotools [ build MOD ] unoxml [ build MOD ] uui [ build MOD ] vbahelper [ build MOD ] vcl [ build JAR ] reportbuilderwizard [ build MOD ] writerfilter [ build MOD ] writerperfect [ build MOD ] xmlhelp [ build MOD ] xmloff [ build MOD ] xmlscript [ build MOD ] xmlsecurity [ build CUT ] basebmp_test [ build CUT ] basegfx_test [ build CUT ] basic_scanner [ build CUT ] basic_enable [ build CUT ] binaryurp_test-cache [ build CUT ] binaryurp_test-unmarshal [ build CUT ] editeng_core [ build CUT ] editeng_borderline [ build CUT ] filter_tga_test [ build CUT ] filter_tiff_test [ build CUT ] hwpfilter_test_hwpfilter [ build CUT ] i18npool_test_breakiterator /bin/sh: line 1: 22062 Killed LD_LIBRARY_PATH="$O/lib":$O/lib/sqlite G_SLICE=always-malloc GLIBCXX_FORCE_NEW=1 DBGSV_ERROR_OUT=shell STAR_RESOURCEPATH=$O/bin/ valgrind --tool=memcheck --num-callers=50 $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_editeng_core.so --headless "-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry" "-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/configmgr/source/configmgr.component file://$O/xml/component/framework/util/fwk.component file://$O/xml/component/i18npool/util/i18npool.component file://$O/xml/component/sfx2/util/sfx.component file://$O/xml/component/ucb/source/core/ucb1.component file://$O/xml/component/ucb/source/ucp/file/ucpfile1.component file://$O/xml/component/unoxml/source/service/unoxml.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/editeng_core.test.log 2>&1 ==22062== Memcheck, a memory error detector ==22062== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==22062== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==22062== Command: /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/solver/unxlngx6.pro/bin/cppunit/cppunittester /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/LinkTarget/CppunitTest/libtest_editeng_core.so --headless -env:CONFIGURATION_LAYERS=xcsxcu:file:///var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/solver/unxlngx6.pro/xml/registry -env:UNO_TYPES=file:///var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/solver/unxlngx6.pro/bin/offapi.rdb\ file:///var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/solver/unxlngx6.pro/bin/udkapi.rdb -env:UNO_SERVICES=file:///var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/solver/unxlngx6.pro/xml/ure/services.rdb\ file:///var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/solver/unxlngx6.pro/xml/component/configmgr/source/configmgr.component\ file:///var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/solver/unxlngx6.pro/xml/component/framework/util/fwk.component\ file:///var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/solver/unxlngx6.pro/xml/component/i18npool/util/i18npool.component\ file:///var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/solver/unxlngx6.pro/xml/component/sfx2/util/sfx.component\ file:///var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/solver/unxlngx6.pro/xml/component/ucb/source/core/ucb1.component\ file:///var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/solver/unxlngx6.pro/xml/component/ucb/source/ucp/file/ucpfile1.component\ file:///var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/solver/unxlngx6.pro/xml/component/unoxml/source/service/unoxml.component -env:URE_INTERNAL_LIB_DIR=file:///var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/solver/unxlngx6.pro/lib -env:LO_LIB_DIR=file:///var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/solver/unxlngx6.pro/lib --protector unoexceptionprotector.so unoexceptionprotector --protector unobootstrapprotector.so unobootstrapprotector ==22062== ==22062== Invalid read of size 1 ==22062== at 0x4C738A2: rtl_str_getLength (strtmpl.cxx:74) ==22062== by 0xC837B47: psp::PrintFontManager::analyzeTrueTypeFile(psp::PrintFontManager::PrintFont*) const (fontmanager.cxx:1559) ==22062== by 0xC840742: psp::PrintFontManager::analyzeFontFile(int, rtl::OString const&, std::list >&, char const*) const (fontmanager.cxx:1241) ==22062== by 0xC830553: psp::PrintFontManager::countFontconfigFonts(boost::unordered::unordered_map, std::allocator > >&) (fontconfig.cxx:566) ==22062== by 0xC839A04: psp::PrintFontManager::initialize() (fontmanager.cxx:1745) ==22062== by 0xC83C806: psp::PrintFontManager::get() (fontmanager.cxx:1007) ==22062== by 0xE440DBA: SvpSalGraphics::GetDevFontList(ImplDevFontList*) (svptext.cxx:324) ==22062== by 0xC67F058: OutputDevice::ImplInitFontList() const (outdev3.cxx:3041) ==22062== by 0xC689E79: OutputDevice::ImplNewFont() const (outdev3.cxx:3123) ==22062== by 0xC68AB34: OutputDevice::GetTextHeight() const (outdev3.cxx:5803) ==22062== by 0x809A66B: SvxFont::QuickGetTextSize(OutputDevice const*, String const&, unsigned short, unsigned short, int*) const (svxfont.cxx:436) ==22062== by 0x8055B45: ImpEditEngine::CreateLines(unsigned short, unsigned int) (impedit3.cxx:1071) ==22062== by 0x8057E0C: ImpEditEngine::FormatDoc() (impedit3.cxx:404) ==22062== by 0x805BA03: ImpEditEngine::FormatAndUpdate(EditView*) (impedit3.cxx:4106) ==22062== by 0x7FE8490: (anonymous namespace)::Test::testConstruction() (core-test.cxx:96) ==22062== by 0x3B20A25C60: CppUnit::TestCaseMethodFunctor::operator()() const (TestCase.cpp:32) ==22062== by 0x52A7504: (anonymous namespace)::Prot::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (unoexceptionprotector.cxx:78) ==22062== by 0x3B20A1C304: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (DefaultProtector.cpp:15) ==22062== by 0x3B20A22FD1: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (ProtectorChain.cpp:77) ==22062== by 0x3B20A2B804: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*, std::string const&) (TestResult.cpp:181) ==22062== by 0x3B20A2596E: CppUnit::TestCase::run(CppUnit::TestResult*) (TestCase.cpp:92) ==22062== by 0x3B20A25FA2: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (TestComposite.cpp:64) ==22062== by 0x3B20A25EC5: CppUnit::TestComposite::run(CppUnit::TestResult*) (TestComposite.cpp:23) ==22062== by 0x3B20A25FA2: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (TestComposite.cpp:64) ==22062== by 0x3B20A25EC5: CppUnit::TestComposite::run(CppUnit::TestResult*) (TestComposite.cpp:23) ==22062== by 0x3B20A2B789: CppUnit::TestResult::runTest(CppUnit::Test*) (TestResult.cpp:148) ==22062== by 0x3B20A2DC48: CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (TestRunner.cpp:96) ==22062== by 0x4022B0: (anonymous namespace)::ProtectedFixtureFunctor::run() const (cppunittester.cxx:158) ==22062== by 0x4029F3: sal_main() (cppunittester.cxx:248) ==22062== by 0x401F1A: main (cppunittester.cxx:174) ==22062== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22062== ==22062== ==22062== Process terminating with default action of signal 11 (SIGSEGV) ==22062== Access not within mapped region at address 0x0 ==22062== at 0x4C738A2: rtl_str_getLength (strtmpl.cxx:74) ==22062== by 0xC837B47: psp::PrintFontManager::analyzeTrueTypeFile(psp::PrintFontManager::PrintFont*) const (fontmanager.cxx:1559) ==22062== by 0xC840742: psp::PrintFontManager::analyzeFontFile(int, rtl::OString const&, std::list >&, char const*) const (fontmanager.cxx:1241) ==22062== by 0xC830553: psp::PrintFontManager::countFontconfigFonts(boost::unordered::unordered_map, std::allocator > >&) (fontconfig.cxx:566) ==22062== by 0xC839A04: psp::PrintFontManager::initialize() (fontmanager.cxx:1745) ==22062== by 0xC83C806: psp::PrintFontManager::get() (fontmanager.cxx:1007) ==22062== by 0xE440DBA: SvpSalGraphics::GetDevFontList(ImplDevFontList*) (svptext.cxx:324) ==22062== by 0xC67F058: OutputDevice::ImplInitFontList() const (outdev3.cxx:3041) ==22062== by 0xC689E79: OutputDevice::ImplNewFont() const (outdev3.cxx:3123) ==22062== by 0xC68AB34: OutputDevice::GetTextHeight() const (outdev3.cxx:5803) ==22062== by 0x809A66B: SvxFont::QuickGetTextSize(OutputDevice const*, String const&, unsigned short, unsigned short, int*) const (svxfont.cxx:436) ==22062== by 0x8055B45: ImpEditEngine::CreateLines(unsigned short, unsigned int) (impedit3.cxx:1071) ==22062== by 0x8057E0C: ImpEditEngine::FormatDoc() (impedit3.cxx:404) ==22062== by 0x805BA03: ImpEditEngine::FormatAndUpdate(EditView*) (impedit3.cxx:4106) ==22062== by 0x7FE8490: (anonymous namespace)::Test::testConstruction() (core-test.cxx:96) ==22062== by 0x3B20A25C60: CppUnit::TestCaseMethodFunctor::operator()() const (TestCase.cpp:32) ==22062== by 0x52A7504: (anonymous namespace)::Prot::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (unoexceptionprotector.cxx:78) ==22062== by 0x3B20A1C304: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (DefaultProtector.cpp:15) ==22062== by 0x3B20A22FD1: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (ProtectorChain.cpp:77) ==22062== by 0x3B20A2B804: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*, std::string const&) (TestResult.cpp:181) ==22062== by 0x3B20A2596E: CppUnit::TestCase::run(CppUnit::TestResult*) (TestCase.cpp:92) ==22062== by 0x3B20A25FA2: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (TestComposite.cpp:64) ==22062== by 0x3B20A25EC5: CppUnit::TestComposite::run(CppUnit::TestResult*) (TestComposite.cpp:23) ==22062== by 0x3B20A25FA2: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (TestComposite.cpp:64) ==22062== by 0x3B20A25EC5: CppUnit::TestComposite::run(CppUnit::TestResult*) (TestComposite.cpp:23) ==22062== by 0x3B20A2B789: CppUnit::TestResult::runTest(CppUnit::Test*) (TestResult.cpp:148) ==22062== by 0x3B20A2DC48: CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (TestRunner.cpp:96) ==22062== by 0x4022B0: (anonymous namespace)::ProtectedFixtureFunctor::run() const (cppunittester.cxx:158) ==22062== by 0x4029F3: sal_main() (cppunittester.cxx:248) ==22062== by 0x401F1A: main (cppunittester.cxx:174) ==22062== If you believe this happened as a result of a stack ==22062== overflow in your program's main thread (unlikely but ==22062== possible), you can try to increase the size of the ==22062== main thread stack using the --main-stacksize= flag. ==22062== The main thread stack size used in this run was 8388608. ==22062== ==22062== HEAP SUMMARY: ==22062== in use at exit: 8,821,245 bytes in 126,938 blocks ==22062== total heap usage: 179,485 allocs, 52,547 frees, 15,832,009 bytes allocated ==22062== ==22062== LEAK SUMMARY: ==22062== definitely lost: 1,336 bytes in 9 blocks ==22062== indirectly lost: 96 bytes in 3 blocks ==22062== possibly lost: 397,626 bytes in 8,554 blocks ==22062== still reachable: 8,422,187 bytes in 118,372 blocks ==22062== suppressed: 0 bytes in 0 blocks ==22062== Rerun with --leak-check=full to see details of leaked memory ==22062== ==22062== For counts of detected and suppressed errors, rerun with: -v ==22062== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 2) Error: a unit test failed, please do one of: export DEBUGCPPUNIT=TRUE # for exception catching export GDBCPPUNITTRACE="gdb --args" # for interactive debugging export VALGRIND=memcheck # for memory checking and retry. make[2]: *** [/var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CppunitTest/editeng_core.test] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/tail_build' make[1]: *** [tail_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4' make: *** [tail_build] Error 2