You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Charles Natali (Jira)" <ji...@apache.org> on 2021/06/24 17:50:00 UTC

[jira] [Assigned] (MESOS-10223) Crashes on ARM64 due to bad interaction of libunwind with libgcc.

     [ https://issues.apache.org/jira/browse/MESOS-10223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Natali reassigned MESOS-10223:
--------------------------------------

    Assignee: Charles Natali
     Summary: Crashes on ARM64 due to bad interaction of libunwind with libgcc.   (was: Test failures on Linux ARM64)

Thanks [~mgrigorov] , unfortunately those logs aren't really helpful because they just show that the test hangs, but don't show which test.

The actual log for the tests can be obtained by running e.g.:

 
{noformat}
# ./bin/mesos-tests.sh --verbose{noformat}
 

 

Note that I can actually reproduce this hang with master on my machine, so it is very likely unrelated to this problem and not ARM64-specific.

I'll try to address in a separate issue.

I've created a PR for the original crash: https://github.com/apache/mesos/pull/395

 

> Crashes on ARM64 due to bad interaction of libunwind with libgcc. 
> ------------------------------------------------------------------
>
>                 Key: MESOS-10223
>                 URL: https://issues.apache.org/jira/browse/MESOS-10223
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Martin Tzvetanov Grigorov
>            Assignee: Charles Natali
>            Priority: Major
>         Attachments: 0001-Fixed-crashes-on-ARM64-due-to-libunwind.patch, mesos-on-arm64.tgz, sudo_make_check_output.txt
>
>
> Running `make check` on Ubuntu 20.04.2 aarch64 fails with such errors:
>  
> {code:java}
>  [----------] 3 tests from JsonTest
> [ RUN      ] JsonTest.NumberFormat
> [       OK ] JsonTest.NumberFormat (0 ms)
> [ RUN      ] JsonTest.Find
> terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >'
> terminate called recursively
> *** Aborted at 1622796321 (unix time) try "date -d @1622796321" if you are using GNU date ***
> PC: @                0x0 (unknown)
> *** SIGABRT (@0x3e80000090d) received by PID 2317 (TID 0xffffa80d9010) from PID 2317; stack trace: ***
>     @     0xffffa80e77fc ([vdso]+0x7fb)
>     @     0xffffa7b71188 gsignal
>     @     0xffffa7b5ddac abort
>     @     0xffffa7d73848 __gnu_cxx::__verbose_terminate_handler()
>     @     0xffffa7d711ec (unknown)
>     @     0xffffa7d71250 std::terminate()
>     @     0xffffa7d715b0 __cxa_rethrow
>     @     0xffffa7d737e4 __gnu_cxx::__verbose_terminate_handler()
>     @     0xffffa7d711ec (unknown)
>     @     0xffffa7d71250 std::terminate()
>     @     0xffffa7d71544 __cxa_throw
>     @     0xaaaaab4ee114 boost::throw_exception<>()
>     @     0xaaaaab5c512c boost::conversion::detail::throw_bad_cast<>()
>     @     0xaaaaab5c2228 boost::lexical_cast<>()
>     @     0xaaaaab5bf89c numify<>()
>     @     0xaaaaab5e00e8 JSON::Object::find<>()
>     @     0xaaaaab5e0584 JSON::Object::find<>()
>     @     0xaaaaab5e0584 JSON::Object::find<>()
>     @     0xaaaaab5cdd2c JsonTest_Find_Test::TestBody()
>     @     0xaaaaab886fec testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @     0xaaaaab87f1d4 testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @     0xaaaaab85a9d0 testing::Test::Run()
>     @     0xaaaaab85b258 testing::TestInfo::Run()
>     @     0xaaaaab85b8d0 testing::TestCase::Run()
>     @     0xaaaaab862344 testing::internal::UnitTestImpl::RunAllTests()
>     @     0xaaaaab888440 testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @     0xaaaaab87ffd4 testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @     0xaaaaab86100c testing::UnitTest::Run()
>     @     0xaaaaab630950 RUN_ALL_TESTS()
>     @     0xaaaaab630418 main
>     @     0xffffa7b5e110 __libc_start_main
>     @     0xaaaaab4b41d4 (unknown)
> [FAIL]: 8 shard(s) have failed tests
> make[6]: *** [Makefile:2092: check-local] Error 8
> make[6]: Leaving directory '/home/ubuntu/git/apache/mesos/build/3rdparty/stout'
> make[5]: *** [Makefile:1840: check-am] Error 2
> make[5]: Leaving directory '/home/ubuntu/git/apache/mesos/build/3rdparty/stout'
> make[4]: *** [Makefile:1685: check-recursive] Error 1
> make[4]: Leaving directory '/home/ubuntu/git/apache/mesos/build/3rdparty/stout'
> make[3]: *** [Makefile:1842: check] Error 2
> make[3]: Leaving directory '/home/ubuntu/git/apache/mesos/build/3rdparty/stout'
> make[2]: *** [Makefile:1153: check-recursive] Error 1
> make[2]: Leaving directory '/home/ubuntu/git/apache/mesos/build/3rdparty'
> make[1]: *** [Makefile:1306: check] Error 2
> make[1]: Leaving directory '/home/ubuntu/git/apache/mesos/build/3rdparty'
> make: *** [Makefile:785: check-recursive] Error 1
> {code}
>  
> {code:java}
> [----------] 3 tests from JsonTest
> [ RUN      ] JsonTest.InvalidUTF8
> [       OK ] JsonTest.InvalidUTF8 (0 ms)
> [ RUN      ] JsonTest.ParseError
> terminate called after throwing an instance of 'std::overflow_error'
> terminate called recursively
> *** Aborted at 1622796321 (unix time) try "date -d @1622796321" if you are using GNU date ***
> PC: @                0x0 (unknown)
> *** SIGABRT (@0x3e80000090c) received by PID 2316 (TID 0xffff918cf010) from PID 2316; stack trace: ***
>     @     0xffff918dd7fc ([vdso]+0x7fb)
>     @     0xffff91367188 gsignal
>     @     0xffff91353dac abort
>     @     0xffff91569848 __gnu_cxx::__verbose_terminate_handler()
>     @     0xffff915671ec (unknown)
>     @     0xffff91567250 std::terminate()
>     @     0xffff915675b0 __cxa_rethrow
>     @     0xffff915697e4 __gnu_cxx::__verbose_terminate_handler()
>     @     0xffff915671ec (unknown)
>     @     0xffff91567250 std::terminate()
>     @     0xffff91567544 __cxa_throw
>     @     0xaaaab4e3d324 picojson::value::value()
>     @     0xaaaab4e421d8 JSON::internal::ParseContext::set_number()
>     @     0xaaaab4e52140 picojson::_parse<>()
>     @     0xaaaab4e63e74 JSON::internal::ParseContext::parse_object_item<>()
>     @     0xaaaab4e5ae34 picojson::_parse_object<>()
>     @     0xaaaab4e51fd4 picojson::_parse<>()
>     @     0xaaaab4e49e18 picojson::_parse<>()
>     @     0xaaaab4e426e4 JSON::parse()
>     @     0xaaaab4e4a38c JSON::parse<>()
>     @     0xaaaab4ecce28 JsonTest_ParseError_Test::TestBody()
>     @     0xaaaab5186fec testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @     0xaaaab517f1d4 testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @     0xaaaab515a9d0 testing::Test::Run()
>     @     0xaaaab515b258 testing::TestInfo::Run()
>     @     0xaaaab515b8d0 testing::TestCase::Run()
>     @     0xaaaab5162344 testing::internal::UnitTestImpl::RunAllTests()
>     @     0xaaaab5188440 testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @     0xaaaab517ffd4 testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @     0xaaaab516100c testing::UnitTest::Run()
>     @     0xaaaab4f30950 RUN_ALL_TESTS()
>     @     0xaaaab4f30418 main
>  {code}
>  
> {code:java}
> [----------] 1 test from ProcessTest
> [ RUN      ] ProcessTest.Processes
> terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >'
> terminate called recursively
> *** Aborted at 1622796321 (unix time) try "date -d @1622796321" if you are using GNU date ***
> PC: @                0x0 (unknown)
> *** SIGABRT (@0x3e800000907) received by PID 2311 (TID 0xffffb03a8010) from PID 2311; stack trace: ***
>     @     0xffffb03b67fc ([vdso]+0x7fb)
>     @     0xffffafe40188 gsignal
>     @     0xffffafe2cdac abort
>     @     0xffffb0042848 __gnu_cxx::__verbose_terminate_handler()
>     @     0xffffb00401ec (unknown)
>     @     0xffffb0040250 std::terminate()
>     @     0xffffb00405b0 __cxa_rethrow
>     @     0xffffb00427e4 __gnu_cxx::__verbose_terminate_handler()
>     @     0xffffb00401ec (unknown)
>     @     0xffffb0040250 std::terminate()
>     @     0xffffb0040544 __cxa_throw
>     @     0xaaaaaddee114 boost::throw_exception<>()
>     @     0xaaaaadec512c boost::conversion::detail::throw_bad_cast<>()
>     @     0xaaaaadec2228 boost::lexical_cast<>()
>     @     0xaaaaadebf89c numify<>()
>     @     0xaaaaadf71e3c proc::pids()
>     @     0xaaaaadf73594 os::pids()
>     @     0xaaaaadf73fb4 os::processes()
>     @     0xaaaaadfadde4 ProcessTest_Processes_Test::TestBody()
>     @     0xaaaaae186fec testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @     0xaaaaae17f1d4 testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @     0xaaaaae15a9d0 testing::Test::Run()
>     @     0xaaaaae15b258 testing::TestInfo::Run()
>     @     0xaaaaae15b8d0 testing::TestCase::Run()
>     @     0xaaaaae162344 testing::internal::UnitTestImpl::RunAllTests()
>     @     0xaaaaae188440 testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @     0xaaaaae17ffd4 testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @     0xaaaaae16100c testing::UnitTest::Run()
>     @     0xaaaaadf30950 RUN_ALL_TESTS()
>     @     0xaaaaadf30418 main
>     @     0xffffafe2d110 __libc_start_main
>     @     0xaaaaaddb41d4 (unknown) {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)