Date: Wed, 25 Jan 2017 00:06:31 +0000 From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: [Bug 216446] editors/libreoffice: sfx2_classification test crashes during build with clang/libc++ 4.0 Message-ID: <bug-216446-25061-78KpKrk2N0@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-216446-25061@https.bugs.freebsd.org/bugzilla/> References: <bug-216446-25061@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216446 Jan Beich (mail not working) <jbeich@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179289|0 |1 is obsolete| | --- Comment #5 from Jan Beich (mail not working) <jbeich@FreeBSD.org> --- Created attachment 179294 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179294&action= =3Dedit VALGRIND=3Dmemcheck (-O1 -g build) comment 0 with -O1 -g: (lldb) r Process 86275 launching Process 86275 launched: '/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.2.4.2/workdir/Li= nkTarget/Executable/cppunittester' (x86_64) Process 86275 stopped * thread #1, stop reason =3D signal SIGSEGV: invalid address (fault address: 0xc0000171) frame #0: libsfxlo.so`SfxClassificationHelper::Impl::pushToDocumentProperties(this=3D= 0x00000008204ccb80) at classificationhelper.cxx:422 419 420 void SfxClassificationHelper::Impl::pushToDocumentProperties() 421 { -> 422 uno::Reference<beans::XPropertyContainer> xPropertyContainer =3D m_xDocumentProperties->getUserDefinedProperties(); 423 uno::Reference<beans::XPropertySet> xPropertySet(xPropertyContainer, uno::UNO_QUERY); 424 uno::Sequence<beans::Property> aProperties =3D xPropertySet->getPropertySetInfo()->getProperties(); 425 for (auto& rPair : m_aCategory) (lldb) p m_xDocumentProperties (const com::sun::star::uno::Reference<com::sun::star::document::XDocumentPropertie= s>) $0 =3D { com::sun::star::uno::BaseReference =3D (_pInterface =3D 0x0000000800b448b= 8) } (lldb) fr v (SfxClassificationHelper::Impl *) this =3D 0x00000008204ccb80 (com::sun::star::uno::Reference<com::sun::star::beans::XPropertyContainer>) xPropertyContainer =3D { com::sun::star::uno::BaseReference =3D (_pInterface =3D 0x07e100010019000= 0) } (com::sun::star::uno::Sequence<com::sun::star::beans::Property>) aPropertie= s =3D <variable not available> (com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>) xPropertySet =3D <variable not available> (lldb) bt * thread #1, stop reason =3D signal SIGSEGV: invalid address (fault address: 0xc0000171) * frame #0: libsfxlo.so`SfxClassificationHelper::Impl::pushToDocumentProperties(this=3D= 0x00000008204ccb80) at classificationhelper.cxx:422 frame #1: libsfxlo.so`SfxClassificationHelper::SetBACName(this=3D<unavailable>, rName=3D<unavailable>, eType=3D<unavailable>) at classificationhelper.cxx:7= 72 frame #2: libswlo.so`SwEditShell::SetClassification(this=3D<unavailable= >, rName=3D0x000000082048bbb8, eType=3DExportControl) at edfcol.cxx:185 frame #3: libswlo.so`SwDocShell::Execute(this=3D0x0000000814b648a0, rReq=3D0x00007fffffff2490) at docsh2.cxx:1155 frame #4: libswlo.so`SwBaseShell::Execute(this=3D0x00000008204b8a00, rReq=3D0x00007fffffff2490) at basesh.cxx:918 frame #5: libsfxlo.so`SfxDispatcher::Call_Impl(this=3D0x000000081f26bd4= 0, rShell=3D<unavailable>, rSlot=3D<unavailable>, rReq=3D<unavailable>, bRecord=3D<unavailable>) at dispatch.cxx:362 frame #6: libsfxlo.so`SfxDispatcher::Execute(this=3D0x000000081f26bd40, nSlot=3D<unavailable>, nCall=3D<unavailable>, pArgs=3D<unavailable>, pInternalArgs=3D0x00007fffffff2658, nModi=3D0) at dispatch.cxx:1017 frame #7: libsfxlo.so`SfxDispatchController_Impl::dispatch(this=3D<unavailable>, aURL=3D<unavailable>, aArgs=3D<unavailable>, rListener=3D0x00007fffffff2768= ) at unoctitm.cxx:704 frame #8: libsfxlo.so`SfxOfficeDispatch::dispatchWithNotification(this=3D<unavailable= >, aURL=3D<unavailable>, aArgs=3D<unavailable>, rListener=3D<unavailable>) at unoctitm.cxx:224 frame #9: libfwllo.so`framework::DispatchHelper::executeDispatch(this=3D<unavailable>, xDispatchProvider=3D0x00007fffffff28a8, sURL=3D<unavailable>, sTargetFrameName=3D0x00007fffffff2908, nSearchFlags=3D0, lArguments=3D<unav= ailable>) at dispatchhelper.cxx:131 frame #10: libfwllo.so`virtual function non-virtual override offset : -= 48 framework::DispatchHelper::executeDispatch(this=3D<unavailable>, xDispatchProvider=3D<unavailable>, sURL=3D<unavailable>, sTargetFrameName=3D<unavailable>, nSearchFlags=3D<unavailable>, lArguments=3D0x00007fffffff2a48) at dispatchhelper.cxx:0 frame #11: libtest_sfx2_classification.so`(anonymous namespace)::ClassificationTest::dispatchCommand(this=3D<unavailable>, xComponent=3D<unavailable>, rCommand=3D<unavailable>, rPropertyValues=3D<unavailable>) at test_classification.cxx:75 frame #12: libtest_sfx2_classification.so`(anonymous namespace)::ClassificationTest::testClassification(this=3D<unavailable>) at test_classification.cxx:85 frame #13: libtest_sfx2_classification.so`(anonymous namespace)::ClassificationTest::testWriter(this=3D0x000000081498b3a0) at test_classification.cxx:119 frame #14: libcppunit-1.13.so.0`CppUnit::TestCaseMethodFunctor::operator(this=3D0x0000= 7fffffff3ca8)(void) const at TestCase.cpp:32 frame #15: libcppunit-1.13.so.0`CppUnit::ProtectorChain::ProtectFunctor::operator(this= =3D0x00000008149e8d80)(void) const at ProtectorChain.cpp:20 frame #16: libcppunit-1.13.so.0`CppUnit::ProtectorChain::ProtectFunctor::operator(this= =3D0x00000008149e8d60)(void) const at ProtectorChain.cpp:20 frame #17: unoexceptionprotector.so`(anonymous namespace)::Prot::protect(this=3D0x000000080224a018, functor=3D<unavailable= >, context=3D0x00007fffffff3aa8)::Prot::protect::ProtectorContext const&) at unoexceptionprotector.cxx:65 frame #18: libcppunit-1.13.so.0`CppUnit::ProtectorChain::ProtectFunctor::operator(this= =3D0x00000008149e8e00)(void) const at ProtectorChain.cpp:20 frame #19: libcppunit-1.13.so.0`CppUnit::DefaultProtector::protect(this=3D0x0000000802= 24a008, functor=3D0x00000008149e8e00, context=3D0x00007fffffff3aa8) at DefaultProtector.cpp:15 frame #20: libcppunit-1.13.so.0`CppUnit::ProtectorChain::ProtectFunctor::operator(this= =3D0x00000008149e8da0)(void) const at ProtectorChain.cpp:20 frame #21: libcppunit-1.13.so.0`CppUnit::ProtectorChain::protect(this=3D0x000000080221= b100, functor=3D0x00007fffffff3ca8, context=3D0x00007fffffff3aa8) at ProtectorChain.cpp:77 frame #22: libcppunit-1.13.so.0`CppUnit::TestResult::protect(this=3D0x00007fffffff4710, functor=3D0x00007fffffff3ca8, test=3D0x00000008149a6b30, shortDescription=3D0x00007fffffff3c80) at TestResult.cpp:181 frame #23: libcppunit-1.13.so.0`CppUnit::TestCase::run(this=3D0x00000008149a6b30, result=3D0x00007fffffff4710) at TestCase.cpp:91 frame #24: libcppunit-1.13.so.0`CppUnit::TestComposite::doRunChildTests(this=3D0x00000= 008149e7980,controller=3D0x00007fffffff4710) at TestComposite.cpp:64 frame #25: libcppunit-1.13.so.0`CppUnit::TestComposite::run(this=3D0x00000008149e7980, result=3D0x00007fffffff4710) at TestComposite.cpp:23 frame #26: libcppunit-1.13.so.0`CppUnit::TestComposite::doRunChildTests(this=3D0x00000= 008149e7940,controller=3D0x00007fffffff4710) at TestComposite.cpp:64 frame #27: libcppunit-1.13.so.0`CppUnit::TestComposite::run(this=3D0x00000008149e7940, result=3D0x00007fffffff4710) at TestComposite.cpp:23 frame #28: libcppunit-1.13.so.0`CppUnit::TestRunner::WrappingSuite::run(this=3D0x00000= 008149e7900,result=3D0x00007fffffff4710) at TestRunner.cpp:47 frame #29: libcppunit-1.13.so.0`CppUnit::TestResult::runTest(this=3D0x00007fffffff4710, test=3D0x00000008149e7900) at TestResult.cpp:148 frame #30: libcppunit-1.13.so.0`CppUnit::TestRunner::run(this=3D0x00007fffffff4490, controller=3D0x00007fffffff4710, testPath=3D0x00007fffffff4510) at TestRunner.cpp:96 frame #31: cppunittester`(anonymous namespace)::ProtectedFixtureFunctor::run(this=3D0x00007fffffff4638) const at cppunittester.cxx:305 frame #32: cppunittester`sal_main(void) at cppunittester.cxx:455 frame #33: cppunittester`main(argc=3D<unavailable>, argv=3D<unavailable= >) at cppunittester.cxx:362 frame #34: 0x000000000040451f cppunittester`_start + 383 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216446-25061-78KpKrk2N0>