From owner-freebsd-office@freebsd.org Tue Jan 24 19:03:43 2017 Return-Path: Delivered-To: freebsd-office@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3DE10CC0FE6 for ; Tue, 24 Jan 2017 19:03:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 27C80F49 for ; Tue, 24 Jan 2017 19:03:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2717DCC0FE5; Tue, 24 Jan 2017 19:03:43 +0000 (UTC) Delivered-To: office@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26ABECC0FE3 for ; Tue, 24 Jan 2017 19:03:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 135F0F48 for ; Tue, 24 Jan 2017 19:03:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v0OJ3gdV045852 for ; Tue, 24 Jan 2017 19:03:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: maintainer-feedback requested: [Bug 216446] editors/libreoffice: sfx2_classification test crashes during build with clang/libc++ 4.0 Date: Tue, 24 Jan 2017 19:03:42 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2017 19:03:43 -0000 Jan Beich (mail not working) has reassigned Bugzilla Automation 's request for maintainer-feedback to office@FreeBSD.org: Bug 216446: editors/libreoffice: sfx2_classification test crashes during bu= ild with clang/libc++ 4.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216446 --- Description --- I've been testing /projects/clang400-import on drm-next kernel for a week b= oth on i386 and amd64 but the following issue failed to disappear. $ make [...] [build SLC] sc [build CUT] sw_docbookexport [build CUT] sw_htmlimport Segmentation fault No core file identified in directory /wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.2.4.2/workdir/Cpp= unit Test/sfx2_classification.test.core To show backtraces for crashes during test execution, enable core files with: ulimit -c unlimited Error: a unit test failed, please do one of: make CppunitTest_sfx2_classification CPPUNITTRACE=3D"gdb --args" # for interactive debugging on Linux make CppunitTest_sfx2_classification VALGRIND=3Dmemcheck # for memory checking make CppunitTest_sfx2_classification DEBUGCPPUNIT=3DTRUE # for exception catching $ make ALL_TARGET=3DCppunitTest_sfx2_classification CPPUNITTRACE=3D"lldb --" [...] (lldb) r Process 84656 launching Process 84656 launched: '/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-5.2.4.2/workdir/Li= nkTa rget/Executable/cppunittester' (x86_64) Process 84656 stopped * thread #1, stop reason =3D signal SIGSEGV: invalid address (fault address: 0xc0000171) frame #0: 0x0000000815174225 libsfxlo.so`SfxClassificationHelper::Impl::pushToDocumentProperties(void) += 37 libsfxlo.so`SfxClassificationHelper::Impl::pushToDocumentProperties: -> 0x815174225 <+37>: callq *0x170(%rax) 0x81517422b <+43>: movq -0x48(%rbp), %rbx 0x81517422f <+47>: xorl %edi, %edi 0x815174231 <+49>: callq 0x814f31ec0 ; com::sun::star::beans::cppu_detail_getUnoType(com::sun::star::beans::XPrope= rtyS et const*) (lldb) bt * thread #1, stop reason =3D signal SIGSEGV: invalid address (fault address: 0xc0000171) * frame #0: 0x0000000815174225 libsfxlo.so`SfxClassificationHelper::Impl::pushToDocumentProperties(void) += 37 frame #1: 0x0000000815177ab3 libsfxlo.so`SfxClassificationHelper::SetBACName(rtl::OUString const&, SfxClassificationPolicyType) + 579 frame #2: 0x00000008192a2a1b libswlo.so`SwEditShell::SetClassification(rtl::OUString const&, SfxClassificationPolicyType) + 155 frame #3: 0x000000081977e678 libswlo.so`SwDocShell::Execute(SfxRequest&= ) + 5864 frame #4: 0x000000081983ec39 libswlo.so`SwBaseShell::Execute(SfxRequest= &) + 2505 frame #5: 0x0000000814fa3618 libsfxlo.so`SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, bool) + 696 frame #6: 0x0000000814fa5596 libsfxlo.so`SfxDispatcher::Execute(unsigned short, SfxCallMode, SfxItemSet*, SfxItemSet, unsigned short) + 422 frame #7: 0x0000000814fdd7cd libsfxlo.so`SfxDispatchController_Impl::dispatch(com::sun::star::util::URL const&, com::sun::uno::Sequence const&, com::sun::star::util::URL const&::Reference const&) + 3997 frame #8: 0x0000000814fde002 libsfxlo.so`virtual function non-virtual override offset : -40 SfxOfficeDispatch::dispatchWithNotification(com::sun::star::util::URL const= &, com::sun::uno::Sequence const&, com::sun::star::util::URL const&::Reference const&) + 18 frame #9: 0x00000008212aea31 libfwllo.so`framework::DispatchHelper::executeDispatch(com::sun::star::uno:= :Ref erence const&, rtl::OUString const&, rtl::OUString const, int, com::sun::star::Sequence const&) + 1361 frame #10: 0x00000008212aeeca libfwllo.so`virtual function non-virtual override offset : -48 framework::DispatchHelper::executeDispatch(com::sun::star::uno::Reference const&, rtl::OUString const&, rtl::OUString const, int, com::sun::star::Sequence const&) + 26 frame #11: 0x0000000814607d52 libtest_sfx2_classification.so`(anonymous namespace)::ClassificationTest::dispatchCommand(com::sun::star::uno::Refere= nce< com::sun::lang::XComponent> const&, rtl::OUString const&, com::sun::star::Sequence const&) + 1522 frame #12: 0x0000000814606400 libtest_sfx2_classification.so`(anonymous namespace)::ClassificationTest::testClassification(void) + 480 frame #13: 0x000000081460573a libtest_sfx2_classification.so`(anonymous namespace)::ClassificationTest::testWriter(void) + 794 frame #14: 0x0000000800856a02 libcppunit-1.13.so.0`CppUnit::TestCaseMethodFunctor::operator()(void) const= + 34 frame #15: 0x0000000802001283 unoexceptionprotector.so`(anonymous namespace)::Prot::protect(CppUnit::Functor const&, (anonymous namespace)::Prot::protect::ProtectorContext const&) + 35 frame #16: 0x00000008008498e3 libcppunit-1.13.so.0`CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) + 35 frame #17: 0x000000080085274b libcppunit-1.13.so.0`CppUnit::ProtectorChain::protect(CppUnit::Functor cons= t&, CppUnit::ProtectorContext const&) + 363 frame #18: 0x000000080085df06 libcppunit-1.13.so.0`CppUnit::TestResult::protect(CppUnit::Functorconst&, CppUnit::Test*, std::__1::basic_string, std::__1::allocator > const&) + 54 frame #19: 0x00000008008566f3 libcppunit-1.13.so.0`CppUnit::TestCase::run(CppUnit::TestResult*) + 227 frame #20: 0x0000000800856ef5 libcppunit-1.13.so.0`CppUnit::TestComposite::doRunChildTests(CppUnit::TestR= esul t*) + 85 frame #21: 0x0000000800856ddf libcppunit-1.13.so.0`CppUnit::TestComposite::run(CppUnit::TestResult*) + 31 frame #22: 0x0000000800856ef5 libcppunit-1.13.so.0`CppUnit::TestComposite::doRunChildTests(CppUnit::TestR= esul t*) + 85 frame #23: 0x0000000800856ddf libcppunit-1.13.so.0`CppUnit::TestComposite::run(CppUnit::TestResult*) + 31 frame #24: 0x000000080085dcb2 libcppunit-1.13.so.0`CppUnit::TestResult::runTest(CppUnit::Test*) + 34 frame #25: 0x0000000800860ed3 libcppunit-1.13.so.0`CppUnit::TestRunner::run(CppUnit::TestResult&, std::__1::basic_string, CppUnit::TestResult&::allocator > const&) + 51 frame #26: 0x0000000000405385 cppunittester`(anonymous namespace)::ProtectedFixtureFunctor::run(void) const + 853 frame #27: 0x0000000000404463 cppunittester`main + 1011 frame #28: 0x0000000000403f6f cppunittester`_start + 383