From nobody Fri Jul 9 14:18:33 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E29428D2241 for ; Fri, 9 Jul 2021 14:18:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GLwHs61qyz3hD0 for ; Fri, 9 Jul 2021 14:18:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B5BF516205 for ; Fri, 9 Jul 2021 14:18:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 169EIXu4061792 for ; Fri, 9 Jul 2021 14:18:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 169EIX4b061791 for bugs@FreeBSD.org; Fri, 9 Jul 2021 14:18:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257081] libunwind fails in Ceph test unittest_back_trace Date: Fri, 09 Jul 2021 14:18:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: wjw@digiware.nl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257081 Bug ID: 257081 Summary: libunwind fails in Ceph test unittest_back_trace Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: wjw@digiware.nl CC: dim@FreeBSD.org Whilest testing Ceph builds in Jenkins, unittest_back_trace starts to fail after upgrading to an updated version of 14-CURRENT. Old, and working, build was from around begin May 2021, problematic build i= s of June 6th 2021. Lang/Rust seems to have a similar issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256864 But that one is Fixed/closed, but does not fix this problem. Traceback: Reading symbols from build/bin/unittest_back_trace... (gdb) r Starting program: /home/jenkins/workspace/ceph-master-compile/build/bin/unittest_back_trace Running main() from gmock_main.cc [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from BackTrace [ RUN ] BackTrace.Basic Program received signal SIGSEGV, Segmentation fault. libunwind::CFI_Parser::findFDE (addressSpace= =3D..., pc=3Dpc@entry=3D4593567, ehSectionStart=3D5251512, sectionLength=3D, fdeHint=3D, fdeHint@entry=3D0, fdeInfo=3DfdeInfo@entry=3D0x7= fffffffd670, cieInfo=3D0x7fffffffd638) at /usr/src/contrib/llvm-project/libunwind/src/DwarfParser.hpp:232 232 pint_t cfiLength =3D addressSpace.get32(p); (gdb) bt #0 libunwind::CFI_Parser::findFDE (addressSpace=3D..., pc=3Dpc@entry=3D4593567, ehSectionStart=3D5251512, sectionLength=3D, fdeHint=3D, fdeHint@entry= =3D0, fdeInfo=3DfdeInfo@entry=3D0x7fffffffd670, cieInfo=3D0x7fffffffd638) at /usr/src/contrib/llvm-project/libunwind/src/DwarfParser.hpp:232 #1 0x0000000800970ef1 in libunwind::UnwindCursor::getInfoFromDwarfSection (this=3Dthis@entry=3D0x7fffffffdcb0, pc=3Dpc@entry=3D4593567, sects=3D..., fdeSectionOffsetHint=3DfdeSectionOffsetHint@entry=3D0) at /usr/src/contrib/llvm-project/libunwind/src/UnwindCursor.hpp:1566 #2 0x000000080096db00 in libunwind::UnwindCursor::setInfoBasedOnIPRegister (this=3D0x7fffffffdc= b0, isReturnAddress=3Dtrue) at /usr/src/contrib/llvm-project/libunwind/src/UnwindCursor.hpp:1958 #3 0x000000080096d95b in libunwind::UnwindCursor::step (this=3D0x7fffffffdcb0) at /usr/src/contrib/llvm-project/libunwind/src/UnwindCursor.hpp:2103 #4 0x000000080096b305 in _Unwind_Backtrace (callback=3D0x80080afe0 , ref=3D0x7fffffffde48) at /usr/src/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c:131 #5 0x000000080080afa7 in backtrace (arr=3D, len=3D) at /usr/src/contrib/libexecinfo/unwind.c:69 #6 0x00000000004622f0 in ceph::ClibBackTrace::ClibBackTrace (this=3D0x7fffffffdf10, s=3D1) at /home/jenkins/workspace/ceph-master-compile/src/common/BackTrace.h:44 #7 0x00000000004619d4 in foo () at /home/jenkins/workspace/ceph-master-compile/src/test/common/test_back_trace= .cc:19 #8 0x0000000000461c08 in BackTrace_Basic_Test::TestBody (this=3D0x803a1e35= 0) at /home/jenkins/workspace/ceph-master-compile/src/test/common/test_back_trace= .cc:29 #9 0x00000000004e42cb in testing::internal::HandleSehExceptionsInMethodIfSupported (object=3D0x803a1e350, method=3D&virtual testing::Test::TestBody(), location=3D0x4f3a44 "the test body") at /home/jenkins/workspace/ceph-master-compile/src/googletest/googletest/src/g= test.cc:2605 #10 0x00000000004c9d9a in testing::internal::HandleExceptionsInMethodIfSupported (object=3D0x803a1e350, method=3D&virtual testing::Test::TestBody(), location=3D0x4f3a44 "the test body") at /home/jenkins/workspace/ceph-master-compile/src/googletest/googletest/src/g= test.cc:2641 #11 0x00000000004abd63 in testing::Test::Run (this=3D0x803a1e350) at /home/jenkins/workspace/ceph-master-compile/src/googletest/googletest/src/g= test.cc:2680 #12 0x00000000004ac914 in testing::TestInfo::Run (this=3D0x803a3dfc0) at /home/jenkins/workspace/ceph-master-compile/src/googletest/googletest/src/g= test.cc:2858 #13 0x00000000004ad05b in testing::TestSuite::Run (this=3D0x803a3de00) at /home/jenkins/workspace/ceph-master-compile/src/googletest/googletest/src/g= test.cc:3012 #14 0x00000000004b916a in testing::internal::UnitTestImpl::RunAllTests (this=3D0x803a3c400) at /home/jenkins/workspace/ceph-master-compile/src/googletest/googletest/src/g= test.cc:5723 #15 0x00000000004e894b in testing::internal::HandleSehExceptionsInMethodIfSupported (object=3D0x803a3c400, method=3D(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * cons= t)) 0x4b8d80 , location=3D0x4f4= 2d7 "auxiliary test code (environments or event listeners)") at /home/jenkins/workspace/ceph-master-compile/src/googletest/googletest/src/g= test.cc:2605 #16 0x00000000004cc1ba in testing::internal::HandleExceptionsInMethodIfSupported (object=3D0x803a3c400, method=3D(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * cons= t)) 0x4b8d80 , location=3D0x4f4= 2d7 "auxiliary test code (environments or event listeners)") at /home/jenkins/workspace/ceph-master-compile/src/googletest/googletest/src/g= test.cc:2641 #17 0x00000000004b8d2e in testing::UnitTest::Run (this=3D0x73bf10 ) at /home/jenkins/workspace/ceph-master-compile/src/googletest/googletest/src/g= test.cc:5306 #18 0x0000000000488981 in RUN_ALL_TESTS () at /home/jenkins/workspace/ceph-master-compile/src/googletest/googletest/inclu= de/gtest/gtest.h:2486 #19 0x000000000048895b in main (argc=3D1, argv=3D0x7fffffffe860) at /home/jenkins/workspace/ceph-master-compile/src/googletest/googlemock/src/g= mock_main.cc:70 --=20 You are receiving this mail because: You are the assignee for the bug.=