Jan Schlicht created MESOS-8720:
-----------------------------------

             Summary: CSIClientTest segfaults on macOS.
                 Key: MESOS-8720
                 URL: https://issues.apache.org/jira/browse/MESOS-8720
             Project: Mesos
          Issue Type: Bug
          Components: storage
    Affects Versions: 1.6.0
         Environment: macOS 10.13.3, LLVM 6.0.0
            Reporter: Jan Schlicht


This seems to be caused by the changes introduced in commit 
{{79c21981803dafd8a5e971b98961487a69017ce9}}. On a macOS build, configured with 
{{--enable-grpc}}, all test cases in {{CSIClientTest}} segfault. Running 
{{src/mesos-tests --gtest_filter=\*CSIClientTest\*}} results in
{noformat}
[ RUN      ] Identity/CSIClientTest.Call/Client_GetSupportedVersions
mesos-tests(57309,0x7fffa0293340) malloc: *** error for object 0x10bb63b68: 
pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
*** Aborted at 1521711802 (unix time) try "date -d @1521711802" if you are 
using GNU date ***
PC: @     0x7fff6738ce3e __pthread_kill
*** SIGABRT (@0x7fff6738ce3e) received by PID 57309 (TID 0x7fffa0293340) stack 
trace: ***
    @     0x7fff674bef5a _sigtramp
    @                0x0 (unknown)
    @     0x7fff672e9312 abort
    @     0x7fff673e6866 free
    @        0x10aec51bd grpc::CompletionQueue::CompletionQueue()
    @        0x10b2087a4 process::grpc::client::Runtime::Data::Data()
    @        0x107bd697d mesos::internal::tests::CSIClientTest::CSIClientTest()
    @        0x107bd68ca 
testing::internal::ParameterizedTestFactory<>::CreateTest()
    @        0x107c58158 
testing::internal::HandleExceptionsInMethodIfSupported<>()
    @        0x107c57fd8 testing::TestInfo::Run()
    @        0x107c588c7 testing::TestCase::Run()
    @        0x107c612b7 testing::internal::UnitTestImpl::RunAllTests()
    @        0x107c60d58 
testing::internal::HandleExceptionsInMethodIfSupported<>()
    @        0x107c60cc8 testing::UnitTest::Run()
    @        0x106afc83d main
    @     0x7fff6723d115 start
    @                0x2 (unknown)
Abort trap: 6
{noformat}

Increasing GLog verbosity doesn't provide more information.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to