Le 19/08/2014 11:32, Caolán McNamara a écrit :
On Mon, 2014-08-18 at 22:47 +0200, Jean-Baptiste Faure wrote:
Hi,
On Ubuntu 14.04 x86-64 building 4.3 branch fails by segmentation fault
in RTF cppunit tests. It seems that the problem comes from this commit :
https://gerrit.libreoffice.org/gitweb?p=core.git;a=commit;h=d2e69f454a30e64acb04f88a5d753169dbfc5259
Can you get a bt of the failure ?
Here is the bt I got. Hope this help.
Best regards.
JBF
--
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.
jbf@jbf-laptop:~/LibO/lo43$ export CPPUNITTRACE="gdb --args"
jbf@jbf-laptop:~/LibO/lo43$ make CppunitTest_writerfilter_rtftok
make -j 2 -rs -f [...]/LibO/lo43/Makefile.gbuild CppunitTest_writerfilter_rtftok
[build CUT] writerfilter_rtftok
GNU gdb (Ubuntu 7.7-0ubuntu3.2) 7.7
Copyright (C) 2014 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 "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from [...]/LibO/lo43/workdir/LinkTarget/Executable/cppunittester...(no debugging
symbols found)...done.
(gdb) run
Starting program: [...]/LibO/lo43/workdir/LinkTarget/Executable/cppunittester
[...]/LibO/lo43/workdir/LinkTarget/CppunitTest/libtest_writerfilter_rtftok.so --headless
-env:BRAND_BASE_DIR=file://[...]/LibO/lo43/instdir -env:BRAND_SHARE_SUBDIR=share
-env:UserInstallation=file://[...]/LibO/lo43/workdir/CppunitTest/writerfilter_rtftok.test.user
-env:CONFIGURATION_LAYERS=xcsxcu:file://[...]/LibO/lo43/instdir/share/registry
-env:UNO_TYPES=file://[...]/LibO/lo43/instdir/program/types/offapi.rdb\
file://[...]/LibO/lo43/instdir/ure/share/misc/types.rdb
-env:UNO_SERVICES=file://[...]/LibO/lo43/workdir/Rdb/ure/services.rdb\
file://[...]/LibO/lo43/workdir/ComponentTarget/configmgr/source/configmgr.component\
file://[...]/LibO/lo43/workdir/ComponentTarget/framework/util/fwk.component\
file://[...]/LibO/lo43/workdir/ComponentTarget/i18npool/util/i18npool.component\
file://[...]/LibO/lo43/workdir/ComponentTarget/svtools/util/svt.component\
file://[...]/LibO/lo43/workdir/ComponentTarget/ucb/source/core/ucb1.component\
file://[...]/LibO/lo43/workdir/ComponentTarget/ucb/source/ucp/file/ucpfile1.component\
file://[...]/LibO/lo43/workdir/ComponentTarget/writerfilter/util/writerfilter.component
-env:URE_INTERNAL_LIB_DIR=file://[...]/LibO/lo43/instdir/ure/lib
-env:LO_LIB_DIR=file://[...]/LibO/lo43/instdir/program
-env:LO_JAVA_DIR=file://[...]/LibO/lo43/instdir/program/classes --protector
[...]/LibO/lo43/workdir/LinkTarget/Library/unoexceptionprotector.so unoexceptionprotector
--protector [...]/LibO/lo43/workdir/LinkTarget/Library/unobootstrapprotector.so
unobootstrapprotector
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x2aaaac58b700 (LWP 19242)]
File tested,Test Result,Execution Time (ms)
file://[...]/LibO/lo43/writerfilter/qa/cppunittests/rtftok/data/pass/CVE-2007-0245-1.rtf,Pass,485
file://[...]/LibO/lo43/writerfilter/qa/cppunittests/rtftok/data/pass/rhbz960019.rtf,Pass,14
file://[...]/LibO/lo43/writerfilter/qa/cppunittests/rtftok/data/pass/TCI-TN65GP-DDRHDLL-partial.rtf,Pass,147
file://[...]/LibO/lo43/writerfilter/qa/cppunittests/rtftok/data/pass/EDB-18754-1.rtf,Pass,43
file://[...]/LibO/lo43/writerfilter/qa/cppunittests/rtftok/data/pass/fdo64656.rtf,Pass,13
file://[...]/LibO/lo43/writerfilter/qa/cppunittests/rtftok/data/pass/CVE-2010-3333-1.rtf,Pass,1
file://[...]/LibO/lo43/writerfilter/qa/cppunittests/rtftok/data/pass/fdo49666.rtf,Pass,2
file://[...]/LibO/lo43/writerfilter/qa/cppunittests/rtftok/data/pass/CVE-2005-2972-2.rtf,Pass,2
file://[...]/LibO/lo43/writerfilter/qa/cppunittests/rtftok/data/pass/abi4817.rtf,Pass,0
file://[...]/LibO/lo43/writerfilter/qa/cppunittests/rtftok/data/pass/abi3623.rtf,Pass,1
file://[...]/LibO/lo43/writerfilter/qa/cppunittests/rtftok/data/pass/CVE-2014-1761-2.rtf,Pass,2
file://[...]/LibO/lo43/writerfilter/qa/cppunittests/rtftok/data/pass/CVE-2005-2972-1.rtf,Pass,2
file://[...]/LibO/lo43/writerfilter/qa/cppunittests/rtftok/data/pass/CVE-2010-3452-1.rtf,Pass,0
file://[...]/LibO/lo43/writerfilter/qa/cppunittests/rtftok/data/pass/sf_edeb1eb341ad4c8608af9396952724a0-41170.rtf,
Program received signal SIGSEGV, Segmentation fault.
0x00002aaab1adcd9a in
writerfilter::dmapper::DomainMapper_Impl::finishParagraph(boost::shared_ptr<writerfilter::dmapper::PropertyMap>)
() from [...]/LibO/lo43/instdir/program/libwriterfilterlo.so
(gdb) bt
#0 0x00002aaab1adcd9a in
writerfilter::dmapper::DomainMapper_Impl::finishParagraph(boost::shared_ptr<writerfilter::dmapper::PropertyMap>)
() from [...]/LibO/lo43/instdir/program/libwriterfilterlo.so
#1 0x00002aaab1aa7ff1 in writerfilter::dmapper::DomainMapper::lcl_text(unsigned char const*,
unsigned long) ()
from [...]/LibO/lo43/instdir/program/libwriterfilterlo.so
#2 0x00002aaab1a56e48 in writerfilter::rtftok::RTFDocumentImpl::parBreak() ()
from [...]/LibO/lo43/instdir/program/libwriterfilterlo.so
#3 0x00002aaab1a57348 in
writerfilter::rtftok::RTFDocumentImpl::replayBuffer(std::deque<boost::tuples::tuple<writerfilter::rtftok::RTFBufferTypes,
boost::shared_ptr<writerfilter::rtftok::RTFValue>,
boost::shared_ptr<writerfilter::rtftok::TableRowBuffer>, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>,
std::allocator<boost::tuples::tuple<writerfilter::rtftok::RTFBufferTypes,
boost::shared_ptr<writerfilter::rtftok::RTFValue>,
boost::shared_ptr<writerfilter::rtftok::TableRowBuffer>, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > >&,
writerfilter::rtftok::RTFSprms*, writerfilter::rtftok::RTFSprms const*) () from
[...]/LibO/lo43/instdir/program/libwriterfilterlo.so
#4 0x00002aaab1a626cc in writerfilter::rtftok::RTFDocumentImpl::popState() ()
from [...]/LibO/lo43/instdir/program/libwriterfilterlo.so
#5 0x00002aaab1a97270 in writerfilter::rtftok::RTFTokenizer::resolveParse() ()
from [...]/LibO/lo43/instdir/program/libwriterfilterlo.so
#6 0x00002aaab1a51ba6 in writerfilter::rtftok::RTFDocumentImpl::resolve(writerfilter::Stream&) ()
from [...]/LibO/lo43/instdir/program/libwriterfilterlo.so
#7 0x00002aaab1b638f0 in
RtfFilter::filter(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&)
() from [...]/LibO/lo43/instdir/program/libwriterfilterlo.so
#8 0x00002aaab0b13624 in RtfTest::load(rtl::OUString const&, rtl::OUString const&, rtl::OUString
const&, unsigned int, ---Type <return> to continue, or q <return> to quit---
unsigned int, unsigned int) () from
[...]/LibO/lo43/workdir/LinkTarget/CppunitTest/libtest_writerfilter_rtftok.so
#9 0x00002aaab0f34941 in test::FiltersTest::recursiveScan(test::filterStatus, rtl::OUString
const&, rtl::OUString const&, rtl::OUString const&, unsigned int, unsigned int, unsigned int, bool)
()
from [...]/LibO/lo43/workdir/LinkTarget/CppunitTest/../Library/libunotest.so
#10 0x00002aaab0f35710 in test::FiltersTest::testDir(rtl::OUString const&, rtl::OUString const&,
rtl::OUString const&, unsigned int, unsigned int, unsigned int, bool) ()
from [...]/LibO/lo43/workdir/LinkTarget/CppunitTest/../Library/libunotest.so
#11 0x00002aaab0b1343a in RtfTest::test() ()
from [...]/LibO/lo43/workdir/LinkTarget/CppunitTest/libtest_writerfilter_rtftok.so
#12 0x00002aaaaacf21e2 in CppUnit::TestCaseMethodFunctor::operator()() const ()
from [...]/LibO/lo43/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#13 0x00002aaaacb0e6f0 in (anonymous namespace)::Prot::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) () from
[...]/LibO/lo43/workdir/LinkTarget/Library/unoexceptionprotector.so
#14 0x00002aaaaace8790 in CppUnit::DefaultProtector::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&)
() from [...]/LibO/lo43/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#15 0x00002aaaaacef48d in CppUnit::ProtectorChain::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&)
() from [...]/LibO/lo43/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#16 0x00002aaaaacf865a in CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*,
std::string const&) ()
from [...]/LibO/lo43/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#17 0x00002aaaaacf1eea in CppUnit::TestCase::run(CppUnit::TestResult*) ()
from [...]/LibO/lo43/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#18 0x00002aaaaacf2533 in CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) ()
from [...]/LibO/lo43/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
---Type <return> to continue, or q <return> to quit---
#19 0x00002aaaaacf244e in CppUnit::TestComposite::run(CppUnit::TestResult*) ()
from [...]/LibO/lo43/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#20 0x00002aaaaacf2533 in CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) ()
from [...]/LibO/lo43/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#21 0x00002aaaaacf244e in CppUnit::TestComposite::run(CppUnit::TestResult*) ()
from [...]/LibO/lo43/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#22 0x00002aaaaacf8392 in CppUnit::TestResult::runTest(CppUnit::Test*) ()
from [...]/LibO/lo43/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#23 0x00002aaaaacfa72e in CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) ()
from [...]/LibO/lo43/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0
#24 0x0000000000402de7 in (anonymous namespace)::ProtectedFixtureFunctor::run() const ()
#25 0x00000000004032e8 in sal_main() ()
#26 0x00000000004028ab in main ()
(gdb) c
Continuing.
[Thread 0x2aaaac58b700 (LWP 19242) exited]
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) quit
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.