Failed
UnitTests.Sofa/PluginManager_test.testPluginAAsDependencyOfPluginB (from Sofa.PluginManager_test)
Error Message
[CRASH] PluginManager_test.testPluginAAsDependencyOfPluginB ended with code 139
Stacktrace
------------------------------------------ Running unit-tests subtest PluginManager_test.testPluginAAsDependencyOfPluginB Calling: bash -c "/builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/bin/Sofa.Helper_test --gtest_output=xml:unit-tests/Sofa.Helper_test/PluginManager_test.testPluginAAsDependencyOfPluginB/report.xml --gtest_filter=PluginManager_test.testPluginAAsDependencyOfPluginB 2>&1" Note: Google Test filter = PluginManager_test.testPluginAAsDependencyOfPluginB [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from PluginManager_test [ RUN ] PluginManager_test.testPluginAAsDependencyOfPluginB PluginManager_test.loadTestPluginAByPath: pluginDir = /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/build/lib [ERROR] [PluginManager] Plugin not found: "TestPluginB_d_d" /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/src/Sofa/framework/Testing/src/sofa/testing/BaseTest.cpp:74: Failure Failed A message of type 'Error' was not expected but it was received. ====================== Messages ======================= [PluginManager]: Message type : Error Message content: Plugin not found: "TestPluginB_d_d" source code loc: /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/src/Sofa/framework/Helper/src/sofa/helper/system/PluginManager.cpp:292 component: PluginManager =============================================================== /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/src/Sofa/framework/Helper/test/system/PluginManager_test.cpp:277: Failure Value of: p.initExternalModule.func != nullptr Actual: false Expected: true /builds/workspace/sofa-framework/master/ubuntu_clang_options_debug/src/Sofa/framework/Helper/test/system/PluginManager_test.cpp:278: Failure Value of: p.getModuleName.func != nullptr Actual: false Expected: true unknown file: Failure C++ exception with description "basic_string::_M_construct null not valid" thrown in the test body. ########## SIG 11 - SIGSEGV: segfault ########## sofa::helper::BackTrace::sig(int) std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const bool std::operator==<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*) sofa::helper::system::PluginManager::pluginIsLoaded(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) sofa::helper::system::PluginManager::unloadPlugin(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::ostream*) void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) testing::Test::Run() testing::TestInfo::Run() testing::TestSuite::Run() testing::internal::UnitTestImpl::RunAllTests() bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) testing::UnitTest::Run() RUN_ALL_TESTS() main __libc_start_main