segfauit in sw_subsequent_rtfexport

Norbert Thiebaud nthiebaud at gmail.com
Mon Sep 3 14:39:17 PDT 2012


I see random failure in sw_subsequent_rtfexport. it is 'random as in
that does not occurs every time... but statistically 1 time in 3 or 4.

/bin/sh: line 1: 14286 Segmentation fault      (core dumped)
LD_LIBRARY_PATH="$O/lib":$O/lib/sqlite DBGSV_ERROR_OUT=shell
DISABLE_SAL_DBGBOX=t STAR_RESOURCEPATH=$O/bin/
$O/bin/cppunit/cppunittester
$W/LinkTarget/CppunitTest/libtest_sw_subsequent_ww8export.so
--headless "-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry
module:file://$O/xml/registry/spool
xcsxcu:file://$O/unittest/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/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/fileaccess/source/fileacc.component
file://$O/xml/component/filter/source/config/cache/filterconfig1.component
file://$O/xml/component/forms/util/frm.component
file://$O/xml/component/framework/util/fwk.component
file://$O/xml/component/i18npool/util/i18npool.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/sw/util/msword.component
file://$O/xml/component/sw/util/sw.component
file://$O/xml/component/sw/util/swd.component
file://$O/xml/component/sfx2/util/sfx.component
file://$O/xml/component/svl/source/fsstor/fsstorage.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/unotools/util/utl.component
file://$O/xml/component/unoxml/source/service/unoxml.component
file://$O/xml/component/xmlhelp/util/ucpchelp1.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/sw_subsequent_ww8export.test.log 2>&1


Program terminated with signal 11, Segmentation fault.
#0  0x00007f4d5597f078 in
comphelper::EmbeddedObjectContainer::Get_Impl(rtl::OUString const&,
com::sun::star::uno::Reference<com::sun::star::embed::XEmbeddedObject>
const&) () from /lo/g_core/solver/unxlngx6.pro/lib/libcomphelpgcc3.so
(gdb) bt
#0  0x00007f4d5597f078 in
comphelper::EmbeddedObjectContainer::Get_Impl(rtl::OUString const&,
com::sun::star::uno::Reference<com::sun::star::embed::XEmbeddedObject>
const&) () from /lo/g_core/solver/unxlngx6.pro/lib/libcomphelpgcc3.so
#1  0x00007f4d5597f910 in
comphelper::EmbeddedObjectContainer::GetEmbeddedObject(rtl::OUString
const&) () from /lo/g_core/solver/unxlngx6.pro/lib/libcomphelpgcc3.so
#2  0x00007f4d4826afe9 in
SvxMSDffManager::CreateSdrOLEFromStorage(String const&,
SotStorageRef&,
com::sun::star::uno::Reference<com::sun::star::embed::XStorage>
const&, Graphic const&, Rectangle const&, Rectangle const&, SvStream*,
unsigned long&, unsigned int, long) ()
   from /lo/g_core/solver/unxlngx6.pro/lib/libmsfilterlo.so
#3  0x00007f4d3ef3010c in SwMSDffManager::ImportOLE(long, Graphic
const&, Rectangle const&, Rectangle const&, int, long) const () from
/lo/g_core/solver/unxlngx6.pro/lib/libmswordlo.so
#4  0x00007f4d48265c90 in SvxMSDffManager::ImportGraphic(SvStream&,
SfxItemSet&, DffObjData const&) () from
/lo/g_core/solver/unxlngx6.pro/lib/libmsfilterlo.so
#5  0x00007f4d4827887e in SvxMSDffManager::ImportShape(DffRecordHeader
const&, SvStream&, void*, Rectangle&, Rectangle const&, int, int*) ()
from /lo/g_core/solver/unxlngx6.pro/lib/libmsfilterlo.so
#6  0x00007f4d4827b12f in SvxMSDffManager::ImportObj(SvStream&, void*,
Rectangle&, Rectangle const&, int, int*) () from
/lo/g_core/solver/unxlngx6.pro/lib/libmsfilterlo.so
#7  0x00007f4d4827b37f in SvxMSDffManager::GetShape(unsigned long,
SdrObject*&, SvxMSDffImportData&) () from
/lo/g_core/solver/unxlngx6.pro/lib/libmsfilterlo.so
#8  0x00007f4d3ef2639c in SwWW8ImplReader::Read_GrafLayer(long) ()
from /lo/g_core/solver/unxlngx6.pro/lib/libmswordlo.so
#9  0x00007f4d3ef37d50 in SwWW8ImplReader::ReadChar(long, long) ()
from /lo/g_core/solver/unxlngx6.pro/lib/libmswordlo.so
#10 0x00007f4d3ef382fc in SwWW8ImplReader::ReadChars(int&, int, long,
long) () from /lo/g_core/solver/unxlngx6.pro/lib/libmswordlo.so
#11 0x00007f4d3ef38660 in SwWW8ImplReader::ReadText(long, long,
ManTypes) () from /lo/g_core/solver/unxlngx6.pro/lib/libmswordlo.so
#12 0x00007f4d3ef4201f in SwWW8ImplReader::CoreLoad(WW8Glossary*,
SwPosition const&) () from
/lo/g_core/solver/unxlngx6.pro/lib/libmswordlo.so
#13 0x00007f4d3ef4313d in
SwWW8ImplReader::LoadThroughDecryption(SwPaM&, WW8Glossary*) () from
/lo/g_core/solver/unxlngx6.pro/lib/libmswordlo.so
#14 0x00007f4d3ef441be in SwWW8ImplReader::LoadDoc(SwPaM&,
WW8Glossary*) () from
/lo/g_core/solver/unxlngx6.pro/lib/libmswordlo.so
#15 0x00007f4d3ef442d4 in WW8Reader::Read(SwDoc&, String const&,
SwPaM&, String const&) () from
/lo/g_core/solver/unxlngx6.pro/lib/libmswordlo.so
#16 0x00007f4d533e3135 in SwReader::Read(Reader const&) () from
/lo/g_core/solver/unxlngx6.pro/lib/libswlo.so
#17 0x00007f4d534e3045 in SwDocShell::ConvertFrom(SfxMedium&) () from
/lo/g_core/solver/unxlngx6.pro/lib/libswlo.so
#18 0x00007f4d4f7da850 in SfxObjectShell::DoLoad(SfxMedium*) () from
/lo/g_core/solver/unxlngx6.pro/lib/libsfxlo.so
#19 0x00007f4d4f81abb7 in
SfxBaseModel::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>
const&) () from /lo/g_core/solver/unxlngx6.pro/lib/libsfxlo.so
#20 0x00007f4d4f867e66 in
SfxFrameLoader_Impl::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>
const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame>
const&) () from /lo/g_core/solver/unxlngx6.pro/lib/libsfxlo.so
#21 0x00007f4d43cf82cb in framework::LoadEnv::impl_loadContent() ()
from /lo/g_core/solver/unxlngx6.pro/lib/libfwklo.so
#22 0x00007f4d43cf8a1f in framework::LoadEnv::startLoading() () from
/lo/g_core/solver/unxlngx6.pro/lib/libfwklo.so
#23 0x00007f4d43cf8c07 in
framework::LoadEnv::loadComponentFromURL(com::sun::star::uno::Reference<com::sun::star::frame::XComponentLoader>
const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
const&, rtl::OUString const&, rtl::OUString const&, int,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>
const&) () from /lo/g_core/solver/unxlngx6.pro/lib/libfwklo.so
#24 0x00007f4d43d2a4a2 in
framework::Desktop::loadComponentFromURL(rtl::OUString const&,
rtl::OUString const&, int,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>
const&) () from /lo/g_core/solver/unxlngx6.pro/lib/libfwklo.so
#25 0x00007f4d53f09828 in
unotest::MacrosTest::loadFromDesktop(rtl::OUString const&) () from
/lo/g_core/solver/unxlngx6.pro/lib/libunotest.so
#26 0x00007f4d548b6631 in Test::roundtrip(rtl::OUString const&) ()
from /lo/g_core/workdir/unxlngx6.pro/LinkTarget/CppunitTest/libtest_sw_subsequent_ww8export.so
#27 0x00007f4d548b74e9 in Test::testFdo45724() () from
/lo/g_core/workdir/unxlngx6.pro/LinkTarget/CppunitTest/libtest_sw_subsequent_ww8export.so
#28 0x00007f4d5856cb84 in CppUnit::TestCaseMethodFunctor::operator()()
const () from /lo/g_core/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0
#29 0x00007f4d5856733b in
CppUnit::ProtectorChain::ProtectFunctor::operator()() const () from
/lo/g_core/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0
#30 0x00007f4d56be1524 in (anonymous
namespace)::Prot::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) () from
/lo/g_core/solver/unxlngx6.pro/lib/unoexceptionprotector.so
#31 0x00007f4d5856733b in
CppUnit::ProtectorChain::ProtectFunctor::operator()() const () from
/lo/g_core/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0
#32 0x00007f4d5855ccb0 in
CppUnit::DefaultProtector::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) () from
/lo/g_core/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0
#33 0x00007f4d5856733b in
CppUnit::ProtectorChain::ProtectFunctor::operator()() const () from
/lo/g_core/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0
#34 0x00007f4d585671e3 in
CppUnit::ProtectorChain::protect(CppUnit::Functor const&,
CppUnit::ProtectorContext const&) () from
/lo/g_core/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0
#35 0x00007f4d5857823c in
CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&) () from
/lo/g_core/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0
#36 0x00007f4d5856c364 in CppUnit::TestCase::run(CppUnit::TestResult*)
() from /lo/g_core/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0
#37 0x00007f4d5856d58a in
CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) () from
/lo/g_core/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0
#38 0x00007f4d5856d40c in
CppUnit::TestComposite::run(CppUnit::TestResult*) () from
/lo/g_core/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0
#39 0x00007f4d5856d58a in
CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) () from
/lo/g_core/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0
#40 0x00007f4d5856d40c in
CppUnit::TestComposite::run(CppUnit::TestResult*) () from
/lo/g_core/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0
#41 0x00007f4d5857c400 in
CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) () from
/lo/g_core/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0
#42 0x00007f4d58578002 in CppUnit::TestResult::runTest(CppUnit::Test*)
() from /lo/g_core/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0
#43 0x00007f4d5857c7ec in
CppUnit::TestRunner::run(CppUnit::TestResult&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) () from
/lo/g_core/solver/unxlngx6.pro/lib/libcppunit-1.13.so.0
#44 0x000000000040248a in (anonymous
namespace)::ProtectedFixtureFunctor::run() const ()
#45 0x0000000000402cb4 in sal_main() ()
#46 0x000000000040320b in main ()


More information about the LibreOffice mailing list