[Libreoffice] Master build Seg faults in starmath test
John LeMoyne Castle
jlc at mail2lee.com
Fri Jun 3 09:35:42 PDT 2011
I have pulled and built a couple of times in the last few days with a make
clean in between on master.
Was able to build in master on 28.5.2011 - now not so much
I am getting a consistent failure at this point...
[ build CUT ] starmath_qa_cppunit
R=/home/jlcastle/LibOdev && S=$R/skky && O=$S/solver/350/unxlngi6.pro &&
W=$O/workdir && mkdir -p $W/CppunitTest/ && LD_LIBRARY_PATH=$O/lib
STAR_RESOURCEPATH=$O/bin/ gdb -nx
--command=$S/solenv/bin/gdbtrycatchtrace-stdout -return-child-result --args
$O/bin/cppunit/cppunittester
$W/LinkTarget/CppunitTest/libtest_starmath_qa_cppunit.so --headless
--invisible "-env:UNO_TYPES= file://$O/bin/udkapi.rdb
file://$O/bin/types.rdb" "-env:UNO_SERVICES=file://$O/xml/ure/services.rdb
file://$W/RdbTarget/starmath_qa_cppunit.rdb"
-env:URE_INTERNAL_LIB_DIR=file://$O/lib -env:OOO_BASE_DIR=file://$O/lib
-env:BRAND_BASE_DIR=file://$O/lib >
$W/CppunitTest/starmath_qa_cppunit.test.log 2>&1 || (cat
$W/CppunitTest/starmath_qa_cppunit.test.log && false)
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
...
...(almost 1/2 MB of throw and catch action)...
...
Program received signal SIGSEGV, Segmentation fault.
0x4200d944 in ServerFontLayoutEngine::operator()(ServerFontLayout&,
ImplLayoutArgs&) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libvclli.so
#0 0x4200d944 in ServerFontLayoutEngine::operator()(ServerFontLayout&,
ImplLayoutArgs&) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libvclli.so
#1 0x4200dae4 in ServerFontLayout::LayoutText(ImplLayoutArgs&) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libvclli.so
#2 0x4214ccdd in OutputDevice::ImplLayout(String const&, unsigned short,
unsigned short, Point const&, long, long const*, bool) const () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libvclli.so
#3 0x4214d530 in OutputDevice::GetTextArray(String const&, long*, unsigned
short, unsigned short) const () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libvclli.so
#4 0x4214d617 in OutputDevice::GetTextWidth(String const&, unsigned short,
unsigned short) const () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libvclli.so
#5 0x406be485 in SmRect::BuildRect(OutputDevice const&, SmFormat const*,
String const&, unsigned short) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/workdir/LinkTarget/CppunitTest/libtest_starmath_qa_cppunit.so
#6 0x406b6c25 in SmLineNode::Arrange(OutputDevice const&, SmFormat const&)
() from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/workdir/LinkTarget/CppunitTest/libtest_starmath_qa_cppunit.so
#7 0x406b6dc4 in SmExpressionNode::Arrange(OutputDevice const&, SmFormat
const&) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/workdir/LinkTarget/CppunitTest/libtest_starmath_qa_cppunit.so
#8 0x406b6bb2 in SmLineNode::Arrange(OutputDevice const&, SmFormat const&)
() from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/workdir/LinkTarget/CppunitTest/libtest_starmath_qa_cppunit.so
#9 0x406b6e89 in SmTableNode::Arrange(OutputDevice const&, SmFormat const&)
() from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/workdir/LinkTarget/CppunitTest/libtest_starmath_qa_cppunit.so
#10 0x40697062 in SmDocShell::ArrangeFormula() () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/workdir/LinkTarget/CppunitTest/libtest_starmath_qa_cppunit.so
#11 0x40697a1e in SmDocShell::GetSize() () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/workdir/LinkTarget/CppunitTest/libtest_starmath_qa_cppunit.so
#12 0x40697ad0 in SmDocShell::Repaint() () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/workdir/LinkTarget/CppunitTest/libtest_starmath_qa_cppunit.so
#13 0x4069800c in SmDocShell::OnDocumentPrinterChanged(Printer*) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/workdir/LinkTarget/CppunitTest/libtest_starmath_qa_cppunit.so
#14 0x4067ff90 in SmCursor::EndEdit() () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/workdir/LinkTarget/CppunitTest/libtest_starmath_qa_cppunit.so
#15 0x40682845 in SmCursor::InsertElement(SmFormulaElement) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/workdir/LinkTarget/CppunitTest/libtest_starmath_qa_cppunit.so
#16 0x40667f30 in testBinomInBinHor (this=0x4a25d564) at
/home/jlcastle/LibOdev/skky/starmath/qa/cppunit/test_nodetotextvisitors.cxx:561
#17 0x406694b8 in runTest (this=0x4aa67fb8) at
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/inc/cppunit/TestCaller.h:166
#18 0x40068914 in CppUnit::TestCaseMethodFunctor::operator()() const () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libcppunit-1.12.so.1
#19 0x40059e31 in CppUnit::DefaultProtector::protect(CppUnit::Functor
const&, CppUnit::ProtectorContext const&) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libcppunit-1.12.so.1
#20 0x4006362f in CppUnit::ProtectorChain::ProtectFunctor::operator()()
const () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libcppunit-1.12.so.1
#21 0x4006350f in CppUnit::ProtectorChain::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libcppunit-1.12.so.1
#22 0x40073000 in CppUnit::TestResult::protect(CppUnit::Functor const&,
CppUnit::Test*, std::string const&) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libcppunit-1.12.so.1
#23 0x400681c8 in CppUnit::TestCase::run(CppUnit::TestResult*) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libcppunit-1.12.so.1
#24 0x40069232 in
CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libcppunit-1.12.so.1
#25 0x400690ec in CppUnit::TestComposite::run(CppUnit::TestResult*) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libcppunit-1.12.so.1
#26 0x40069232 in
CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libcppunit-1.12.so.1
#27 0x400690ec in CppUnit::TestComposite::run(CppUnit::TestResult*) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libcppunit-1.12.so.1
#28 0x40076c9f in
CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libcppunit-1.12.so.1
#29 0x40072de2 in CppUnit::TestResult::runTest(CppUnit::Test*) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libcppunit-1.12.so.1
#30 0x40077060 in CppUnit::TestRunner::run(CppUnit::TestResult&, std::string
const&) () from
/home/jlcastle/LibOdev/skky/solver/350/unxlngi6.pro/lib/libcppunit-1.12.so.1
#31 0x08049f10 in _start ()
Other info:
.../workdir/CppunitTest/starmath_qa_cppunit.test.log is empty.
This run is with:
/starmath$ export DEBUGCPPUNIT=TRUE
/starmath$ make -r debug=true dbglevel=1 > make.log
Have tried --with-num-cpus=1 because my older machine sometimes seems to
have parallelism problems but no other ./autogen.sh options
This log shows failure in ServerFontLayoutEngine::operator() --
previous runs showed seg fault (a little further along?) in GetGlyphData.
I am unclear if this is related to code from the recent merge or build
configuration or headless mode or something else.
Days of building with consistent failure in tail_build are getting me down,
because it is all (or nearly all) built at the point where this unit test is
failing
Any help would be immensely appreciated,
LeMoyne
--
View this message in context: http://nabble.documentfoundation.org/Master-build-Seg-faults-in-starmath-test-tp3020219p3020219.html
Sent from the Dev mailing list archive at Nabble.com.
More information about the LibreOffice
mailing list