celix icon indicating copy to clipboard operation
celix copied to clipboard

RSA thread sanitizer output

Open Oipo opened this issue 5 years ago • 0 comments

==================
WARNING: ThreadSanitizer: data race (pid=54775)
  Write of size 4 at 0x7b6800002400 by thread T7:
    #0 <null> <null> (librsa_discovery_configured.so.0+0x2a4d0)
    #1 <null> <null> (librsa_discovery_configured.so.0+0x107fb)
    #2 <null> <null> (librsa_discovery_configured.so.0+0xb8a6)
    #3 <null> <null> (librsa_discovery_configured.so.0+0xcb63)
    #4 fw_stopBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1055 (libcelix_framework.so.2+0x28401)
    #5 framework_shutdown /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1812 (libcelix_framework.so.2+0x2af94)
    #6 <null> <null> (libtsan.so.0+0x2b3c6)

  Previous read of size 4 at 0x7b6800002400 by thread T25:
    #0 <null> <null> (librsa_discovery_configured.so.0+0x29fa1)
    #1 <null> <null> (librsa_discovery_configured.so.0+0x2a15a)
    #2 <null> <null> (libtsan.so.0+0x2b3c6)

  Location is heap block of size 1472 at 0x7b6800002400 allocated by main thread:
    #0 calloc <null> (libtsan.so.0+0x2cdbd)
    #1 <null> <null> (librsa_discovery_configured.so.0+0x11566)
    #2 <null> <null> (librsa_discovery_configured.so.0+0x2a61d)
    #3 <null> <null> (librsa_discovery_configured.so.0+0x103d7)
    #4 <null> <null> (librsa_discovery_configured.so.0+0xb848)
    #5 <null> <null> (librsa_discovery_configured.so.0+0xca0a)
    #6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
    #7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
    #8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
    #9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
    #10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
    #11 celix_frameworkFactory_createFramework /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_framework_factory.c:33 (libcelix_framework.so.2+0x4845d)
    #12 setupFm /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:48 (test_rsa_dfi+0x29baa)
    #13 RsaDfiClientServerTests::RsaDfiClientServerTests() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:155 (test_rsa_dfi+0x2c9b6)
    #14 RsaDfiClientServerTests_TestRemoteCalculator_Test::RsaDfiClientServerTests_TestRemoteCalculator_Test() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:164 (test_rsa_dfi+0x2caae)
    #15 testing::internal::TestFactoryImpl<RsaDfiClientServerTests_TestRemoteCalculator_Test>::CreateTest() /usr/include/gtest/internal/gtest-internal.h:472 (test_rsa_dfi+0x2da95)
    #16 testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) <null> (test_rsa_dfi+0x52639)
    #17 main /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/main.cc:24 (test_rsa_dfi+0x24b50)

  Thread T7 (tid=54855, running) created by main thread at:
    #0 pthread_create <null> (libtsan.so.0+0x2dc82)
    #1 celixThread_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:37 (libcelix_utils.so.2+0xff3d)
    #2 frameworkActivator_stop /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:2097 (libcelix_framework.so.2+0x2c302)
    #3 fw_stopBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1055 (libcelix_framework.so.2+0x28401)
    #4 framework_stop /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:611 (libcelix_framework.so.2+0x26512)
    #5 celix_frameworkFactory_destroyFramework /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_framework_factory.c:44 (libcelix_framework.so.2+0x484f4)
    #6 teardownFm /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:63 (test_rsa_dfi+0x2a3f1)
    #7 RsaDfiClientServerTests::~RsaDfiClientServerTests() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:158 (test_rsa_dfi+0x2ca30)
    #8 RsaDfiClientServerTests_TestRemoteCalculator_Test::~RsaDfiClientServerTests_TestRemoteCalculator_Test() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:164 (test_rsa_dfi+0x2d6db)
    #9 RsaDfiClientServerTests_TestRemoteCalculator_Test::~RsaDfiClientServerTests_TestRemoteCalculator_Test() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:164 (test_rsa_dfi+0x2d711)
    #10 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) <null> (test_rsa_dfi+0x52489)
    #11 main /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/main.cc:24 (test_rsa_dfi+0x24b50)

  Thread T25 'civetweb-master' (tid=54833, running) created by main thread at:
    #0 pthread_create <null> (libtsan.so.0+0x2dc82)
    #1 <null> <null> (librsa_discovery_configured.so.0+0x15c12)
    #2 <null> <null> (librsa_discovery_configured.so.0+0x2ae16)
    #3 <null> <null> (librsa_discovery_configured.so.0+0x103d7)
    #4 <null> <null> (librsa_discovery_configured.so.0+0xb848)
    #5 <null> <null> (librsa_discovery_configured.so.0+0xca0a)
    #6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
    #7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
    #8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
    #9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
    #10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
    #11 celix_frameworkFactory_createFramework /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_framework_factory.c:33 (libcelix_framework.so.2+0x4845d)
    #12 setupFm /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:48 (test_rsa_dfi+0x29baa)
    #13 RsaDfiClientServerTests::RsaDfiClientServerTests() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:155 (test_rsa_dfi+0x2c9b6)
    #14 RsaDfiClientServerTests_TestRemoteCalculator_Test::RsaDfiClientServerTests_TestRemoteCalculator_Test() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:164 (test_rsa_dfi+0x2caae)
    #15 testing::internal::TestFactoryImpl<RsaDfiClientServerTests_TestRemoteCalculator_Test>::CreateTest() /usr/include/gtest/internal/gtest-internal.h:472 (test_rsa_dfi+0x2da95)
    #16 testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) <null> (test_rsa_dfi+0x52639)
    #17 main /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/main.cc:24 (test_rsa_dfi+0x24b50)

SUMMARY: ThreadSanitizer: data race (.cacheServer/bundle4/version0.0/librsa_discovery_configured.so.0+0x2a4d0) 
==================
==================
WARNING: ThreadSanitizer: data race (pid=54775)
  Write of size 1 at 0x7b1800000358 by thread T7:
    #0 <null> <null> (librsa_discovery_configured.so.0+0xecfb)
    #1 <null> <null> (librsa_discovery_configured.so.0+0xb8c9)
    #2 <null> <null> (librsa_discovery_configured.so.0+0xcb63)
    #3 fw_stopBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1055 (libcelix_framework.so.2+0x28401)
    #4 framework_shutdown /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1812 (libcelix_framework.so.2+0x2af94)
    #5 <null> <null> (libtsan.so.0+0x2b3c6)

  Previous read of size 1 at 0x7b1800000358 by thread T5:
    #0 <null> <null> (librsa_discovery_configured.so.0+0xf6ab)
    #1 <null> <null> (libtsan.so.0+0x2b3c6)

  As if synchronized via sleep:
    #0 usleep <null> (libtsan.so.0+0x5218f)
    #1 <null> <null> (librsa_discovery_configured.so.0+0x2a4e6)
    #2 <null> <null> (librsa_discovery_configured.so.0+0x107fb)
    #3 <null> <null> (librsa_discovery_configured.so.0+0xb8a6)
    #4 <null> <null> (librsa_discovery_configured.so.0+0xcb63)
    #5 fw_stopBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1055 (libcelix_framework.so.2+0x28401)
    #6 framework_shutdown /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1812 (libcelix_framework.so.2+0x2af94)
    #7 <null> <null> (libtsan.so.0+0x2b3c6)

  Location is heap block of size 96 at 0x7b1800000300 allocated by main thread:
    #0 malloc <null> (libtsan.so.0+0x2cbe6)
    #1 <null> <null> (librsa_discovery_configured.so.0+0xe87e)
    #2 <null> <null> (librsa_discovery_configured.so.0+0xb7f9)
    #3 <null> <null> (librsa_discovery_configured.so.0+0xca0a)
    #4 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
    #5 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
    #6 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
    #7 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
    #8 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
    #9 celix_frameworkFactory_createFramework /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_framework_factory.c:33 (libcelix_framework.so.2+0x4845d)
    #10 setupFm /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:48 (test_rsa_dfi+0x29baa)
    #11 RsaDfiClientServerTests::RsaDfiClientServerTests() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:155 (test_rsa_dfi+0x2c9b6)
    #12 RsaDfiClientServerTests_TestRemoteCalculator_Test::RsaDfiClientServerTests_TestRemoteCalculator_Test() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:164 (test_rsa_dfi+0x2caae)
    #13 testing::internal::TestFactoryImpl<RsaDfiClientServerTests_TestRemoteCalculator_Test>::CreateTest() /usr/include/gtest/internal/gtest-internal.h:472 (test_rsa_dfi+0x2da95)
    #14 testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) <null> (test_rsa_dfi+0x52639)
    #15 main /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/main.cc:24 (test_rsa_dfi+0x24b50)

  Thread T7 (tid=54855, running) created by main thread at:
    #0 pthread_create <null> (libtsan.so.0+0x2dc82)
    #1 celixThread_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:37 (libcelix_utils.so.2+0xff3d)
    #2 frameworkActivator_stop /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:2097 (libcelix_framework.so.2+0x2c302)
    #3 fw_stopBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1055 (libcelix_framework.so.2+0x28401)
    #4 framework_stop /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:611 (libcelix_framework.so.2+0x26512)
    #5 celix_frameworkFactory_destroyFramework /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_framework_factory.c:44 (libcelix_framework.so.2+0x484f4)
    #6 teardownFm /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:63 (test_rsa_dfi+0x2a3f1)
    #7 RsaDfiClientServerTests::~RsaDfiClientServerTests() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:158 (test_rsa_dfi+0x2ca30)
    #8 RsaDfiClientServerTests_TestRemoteCalculator_Test::~RsaDfiClientServerTests_TestRemoteCalculator_Test() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:164 (test_rsa_dfi+0x2d6db)
    #9 RsaDfiClientServerTests_TestRemoteCalculator_Test::~RsaDfiClientServerTests_TestRemoteCalculator_Test() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:164 (test_rsa_dfi+0x2d711)
    #10 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) <null> (test_rsa_dfi+0x52489)
    #11 main /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/main.cc:24 (test_rsa_dfi+0x24b50)

  Thread T5 (tid=54832, running) created by main thread at:
    #0 pthread_create <null> (libtsan.so.0+0x2dc82)
    #1 celixThread_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:37 (libcelix_utils.so.2+0xff3d)
    #2 <null> <null> (librsa_discovery_configured.so.0+0xec75)
    #3 <null> <null> (librsa_discovery_configured.so.0+0xb7f9)
    #4 <null> <null> (librsa_discovery_configured.so.0+0xca0a)
    #5 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
    #6 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
    #7 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
    #8 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
    #9 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
    #10 celix_frameworkFactory_createFramework /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_framework_factory.c:33 (libcelix_framework.so.2+0x4845d)
    #11 setupFm /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:48 (test_rsa_dfi+0x29baa)
    #12 RsaDfiClientServerTests::RsaDfiClientServerTests() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:155 (test_rsa_dfi+0x2c9b6)
    #13 RsaDfiClientServerTests_TestRemoteCalculator_Test::RsaDfiClientServerTests_TestRemoteCalculator_Test() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:164 (test_rsa_dfi+0x2caae)
    #14 testing::internal::TestFactoryImpl<RsaDfiClientServerTests_TestRemoteCalculator_Test>::CreateTest() /usr/include/gtest/internal/gtest-internal.h:472 (test_rsa_dfi+0x2da95)
    #15 testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) <null> (test_rsa_dfi+0x52639)
    #16 main /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/main.cc:24 (test_rsa_dfi+0x24b50)

SUMMARY: ThreadSanitizer: data race (.cacheServer/bundle4/version0.0/librsa_discovery_configured.so.0+0xecfb) 
==================
==================
WARNING: ThreadSanitizer: data race (pid=54775)
  Write of size 4 at 0x7b6800001800 by thread T7:
    #0 <null> <null> (librsa_dfi.so.0+0x2c020)
    #1 <null> <null> (librsa_dfi.so.0+0xcbe3)
    #2 <null> <null> (librsa_dfi.so.0+0xfd70)
    #3 fw_stopBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1055 (libcelix_framework.so.2+0x28401)
    #4 framework_shutdown /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1812 (libcelix_framework.so.2+0x2af94)
    #5 <null> <null> (libtsan.so.0+0x2b3c6)

  Previous read of size 4 at 0x7b6800001800 by thread T23:
    #0 <null> <null> (librsa_dfi.so.0+0x2baf1)
    #1 <null> <null> (librsa_dfi.so.0+0x2bcaa)
    #2 <null> <null> (libtsan.so.0+0x2b3c6)

  As if synchronized via sleep:
    #0 usleep <null> (libtsan.so.0+0x5218f)
    #1 <null> <null> (librsa_discovery_configured.so.0+0x2a4e6)
    #2 <null> <null> (librsa_discovery_configured.so.0+0x107fb)
    #3 <null> <null> (librsa_discovery_configured.so.0+0xb8a6)
    #4 <null> <null> (librsa_discovery_configured.so.0+0xcb63)
    #5 fw_stopBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1055 (libcelix_framework.so.2+0x28401)
    #6 framework_shutdown /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1812 (libcelix_framework.so.2+0x2af94)
    #7 <null> <null> (libtsan.so.0+0x2b3c6)

  Location is heap block of size 1472 at 0x7b6800001800 allocated by main thread:
    #0 calloc <null> (libtsan.so.0+0x2cdbd)
    #1 <null> <null> (librsa_dfi.so.0+0x130b6)
    #2 <null> <null> (librsa_dfi.so.0+0x2c16d)
    #3 <null> <null> (librsa_dfi.so.0+0xc44a)
    #4 <null> <null> (librsa_dfi.so.0+0xfa7f)
    #5 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
    #6 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
    #7 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
    #8 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
    #9 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
    #10 celix_frameworkFactory_createFramework /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_framework_factory.c:33 (libcelix_framework.so.2+0x4845d)
    #11 setupFm /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:48 (test_rsa_dfi+0x29baa)
    #12 RsaDfiClientServerTests::RsaDfiClientServerTests() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:155 (test_rsa_dfi+0x2c9b6)
    #13 RsaDfiClientServerTests_TestRemoteCalculator_Test::RsaDfiClientServerTests_TestRemoteCalculator_Test() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:164 (test_rsa_dfi+0x2caae)
    #14 testing::internal::TestFactoryImpl<RsaDfiClientServerTests_TestRemoteCalculator_Test>::CreateTest() /usr/include/gtest/internal/gtest-internal.h:472 (test_rsa_dfi+0x2da95)
    #15 testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) <null> (test_rsa_dfi+0x52639)
    #16 main /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/main.cc:24 (test_rsa_dfi+0x24b50)

  Thread T7 (tid=54855, running) created by main thread at:
    #0 pthread_create <null> (libtsan.so.0+0x2dc82)
    #1 celixThread_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:37 (libcelix_utils.so.2+0xff3d)
    #2 frameworkActivator_stop /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:2097 (libcelix_framework.so.2+0x2c302)
    #3 fw_stopBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1055 (libcelix_framework.so.2+0x28401)
    #4 framework_stop /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:611 (libcelix_framework.so.2+0x26512)
    #5 celix_frameworkFactory_destroyFramework /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_framework_factory.c:44 (libcelix_framework.so.2+0x484f4)
    #6 teardownFm /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:63 (test_rsa_dfi+0x2a3f1)
    #7 RsaDfiClientServerTests::~RsaDfiClientServerTests() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:158 (test_rsa_dfi+0x2ca30)
    #8 RsaDfiClientServerTests_TestRemoteCalculator_Test::~RsaDfiClientServerTests_TestRemoteCalculator_Test() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:164 (test_rsa_dfi+0x2d6db)
    #9 RsaDfiClientServerTests_TestRemoteCalculator_Test::~RsaDfiClientServerTests_TestRemoteCalculator_Test() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:164 (test_rsa_dfi+0x2d711)
    #10 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) <null> (test_rsa_dfi+0x52489)
    #11 main /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/main.cc:24 (test_rsa_dfi+0x24b50)

  Thread T23 'civetweb-master' (tid=54825, running) created by main thread at:
    #0 pthread_create <null> (libtsan.so.0+0x2dc82)
    #1 <null> <null> (librsa_dfi.so.0+0x17762)
    #2 <null> <null> (librsa_dfi.so.0+0x2c966)
    #3 <null> <null> (librsa_dfi.so.0+0xc44a)
    #4 <null> <null> (librsa_dfi.so.0+0xfa7f)
    #5 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
    #6 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
    #7 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
    #8 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
    #9 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
    #10 celix_frameworkFactory_createFramework /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_framework_factory.c:33 (libcelix_framework.so.2+0x4845d)
    #11 setupFm /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:48 (test_rsa_dfi+0x29baa)
    #12 RsaDfiClientServerTests::RsaDfiClientServerTests() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:155 (test_rsa_dfi+0x2c9b6)
    #13 RsaDfiClientServerTests_TestRemoteCalculator_Test::RsaDfiClientServerTests_TestRemoteCalculator_Test() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:164 (test_rsa_dfi+0x2caae)
    #14 testing::internal::TestFactoryImpl<RsaDfiClientServerTests_TestRemoteCalculator_Test>::CreateTest() /usr/include/gtest/internal/gtest-internal.h:472 (test_rsa_dfi+0x2da95)
    #15 testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) <null> (test_rsa_dfi+0x52639)
    #16 main /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/main.cc:24 (test_rsa_dfi+0x24b50)

SUMMARY: ThreadSanitizer: data race (.cacheServer/bundle1/version0.0/librsa_dfi.so.0+0x2c020) 
==================
==================
WARNING: ThreadSanitizer: data race (pid=54775)
  Read of size 8 at 0x7b0c000050f0 by thread T32:
    #0 <null> <null> (librsa_dfi.so.0+0x2bbea)
    #1 <null> <null> (librsa_dfi.so.0+0x2bcaa)
    #2 <null> <null> (libtsan.so.0+0x2b3c6)

  Previous write of size 8 at 0x7b0c000050f0 by main thread (mutexes: write M15898096324051216, write M38416094460903696, write M60371142644334864, write M78948491107238160):
    #0 <null> <null> (librsa_dfi.so.0+0x1779a)
    #1 <null> <null> (librsa_dfi.so.0+0x2ca0e)
    #2 <null> <null> (librsa_dfi.so.0+0xc44a)
    #3 <null> <null> (librsa_dfi.so.0+0xfa7f)
    #4 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
    #5 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
    #6 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
    #7 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
    #8 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
    #9 celix_frameworkFactory_createFramework /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_framework_factory.c:33 (libcelix_framework.so.2+0x4845d)
    #10 setupFm /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:56 (test_rsa_dfi+0x29f20)
    #11 RsaDfiClientServerTests::RsaDfiClientServerTests() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:155 (test_rsa_dfi+0x2c9b6)
    #12 RsaDfiClientServerTests_TestRemoteCalculator_Test::RsaDfiClientServerTests_TestRemoteCalculator_Test() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:164 (test_rsa_dfi+0x2caae)
    #13 testing::internal::TestFactoryImpl<RsaDfiClientServerTests_TestRemoteCalculator_Test>::CreateTest() /usr/include/gtest/internal/gtest-internal.h:472 (test_rsa_dfi+0x2da95)
    #14 testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) <null> (test_rsa_dfi+0x52639)
    #15 main /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/main.cc:24 (test_rsa_dfi+0x24b50)

  Location is heap block of size 40 at 0x7b0c000050d0 allocated by main thread:
    #0 calloc <null> (libtsan.so.0+0x2cdbd)
    #1 <null> <null> (librsa_dfi.so.0+0x130b6)
    #2 <null> <null> (librsa_dfi.so.0+0x2c847)
    #3 <null> <null> (librsa_dfi.so.0+0xc44a)
    #4 <null> <null> (librsa_dfi.so.0+0xfa7f)
    #5 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
    #6 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
    #7 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
    #8 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
    #9 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
    #10 celix_frameworkFactory_createFramework /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_framework_factory.c:33 (libcelix_framework.so.2+0x4845d)
    #11 setupFm /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:56 (test_rsa_dfi+0x29f20)
    #12 RsaDfiClientServerTests::RsaDfiClientServerTests() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:155 (test_rsa_dfi+0x2c9b6)
    #13 RsaDfiClientServerTests_TestRemoteCalculator_Test::RsaDfiClientServerTests_TestRemoteCalculator_Test() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:164 (test_rsa_dfi+0x2caae)
    #14 testing::internal::TestFactoryImpl<RsaDfiClientServerTests_TestRemoteCalculator_Test>::CreateTest() /usr/include/gtest/internal/gtest-internal.h:472 (test_rsa_dfi+0x2da95)
    #15 testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) <null> (test_rsa_dfi+0x52639)
    #16 main /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/main.cc:24 (test_rsa_dfi+0x24b50)

  Mutex M15898096324051216 is already destroyed.

  Mutex M38416094460903696 is already destroyed.

  Mutex M60371142644334864 is already destroyed.

  Mutex M78948491107238160 is already destroyed.

  Thread T32 'civetweb-master' (tid=54840, running) created by main thread at:
    #0 pthread_create <null> (libtsan.so.0+0x2dc82)
    #1 <null> <null> (librsa_dfi.so.0+0x17762)
    #2 <null> <null> (librsa_dfi.so.0+0x2c966)
    #3 <null> <null> (librsa_dfi.so.0+0xc44a)
    #4 <null> <null> (librsa_dfi.so.0+0xfa7f)
    #5 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
    #6 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
    #7 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
    #8 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
    #9 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
    #10 celix_frameworkFactory_createFramework /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_framework_factory.c:33 (libcelix_framework.so.2+0x4845d)
    #11 setupFm /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:56 (test_rsa_dfi+0x29f20)
    #12 RsaDfiClientServerTests::RsaDfiClientServerTests() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:155 (test_rsa_dfi+0x2c9b6)
    #13 RsaDfiClientServerTests_TestRemoteCalculator_Test::RsaDfiClientServerTests_TestRemoteCalculator_Test() /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:164 (test_rsa_dfi+0x2caae)
    #14 testing::internal::TestFactoryImpl<RsaDfiClientServerTests_TestRemoteCalculator_Test>::CreateTest() /usr/include/gtest/internal/gtest-internal.h:472 (test_rsa_dfi+0x2da95)
    #15 testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) <null> (test_rsa_dfi+0x52639)
    #16 main /home/oipo-unencrypted/Programming/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/main.cc:24 (test_rsa_dfi+0x24b50)

SUMMARY: ThreadSanitizer: data race (.cacheClient/bundle1/version0.0/librsa_dfi.so.0+0x2bbea) 
==================

Oipo avatar May 05 '20 10:05 Oipo