celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] Oipo opened a new issue #221: pubsub_tcp_tests thread sanitizer output
Date Tue, 05 May 2020 10:30:38 GMT

Oipo opened a new issue #221:
URL: https://github.com/apache/celix/issues/221


   ```
   ==================
   WARNING: ThreadSanitizer: data race (pid=64600)
     Write of size 4 at 0x7b4000008240 by thread T3 (mutexes: write M148, read M285, write M187, write M188, write M190, write M291):
       #0 pubsub_tcpHandler_setTimeout /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:656 (libcelix_pubsub_admin_tcp.so.1+0x16877)
       #1 pubsub_tcpTopicReceiver_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:220 (libcelix_pubsub_admin_tcp.so.1+0x105e6)
       #2 pubsub_tcpAdmin_setupTopicReceiver /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:515 (libcelix_pubsub_admin_tcp.so.1+0xb888)
       #3 pstm_setupTopicReceiverCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:884 (libcelix_pubsub_topology_manager.so.1+0x9d8f)
       #4 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #5 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #6 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #7 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #8 pstm_setupTopicReceivers /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:933 (libcelix_pubsub_topology_manager.so.1+0xa25a)
       #9 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:973 (libcelix_pubsub_topology_manager.so.1+0xa571)
       #10 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Previous read of size 4 at 0x7b4000008240 by thread T12:
       #0 pubsub_tcpHandler_handler /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1289 (libcelix_pubsub_admin_tcp.so.1+0x1a0c3)
       #1 pubsub_tcpHandler_thread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1338 (libcelix_pubsub_admin_tcp.so.1+0x1a783)
       #2 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Location is heap block of size 248 at 0x7b4000008200 allocated by thread T3:
       #0 calloc <null> (libtsan.so.0+0x2cdbd)
       #1 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:154 (libcelix_pubsub_admin_tcp.so.1+0x1403d)
       #2 pubsub_tcpTopicReceiver_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:202 (libcelix_pubsub_admin_tcp.so.1+0x103fc)
       #3 pubsub_tcpAdmin_setupTopicReceiver /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:515 (libcelix_pubsub_admin_tcp.so.1+0xb888)
       #4 pstm_setupTopicReceiverCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:884 (libcelix_pubsub_topology_manager.so.1+0x9d8f)
       #5 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #6 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #7 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #8 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #9 pstm_setupTopicReceivers /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:933 (libcelix_pubsub_topology_manager.so.1+0xa25a)
       #10 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:973 (libcelix_pubsub_topology_manager.so.1+0xa571)
       #11 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Mutex M148 (0x7b4c00000ae8) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_topologyManager_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:72 (libcelix_pubsub_topology_manager.so.1+0x5c85)
       #3 pstm_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:68 (libcelix_pubsub_topology_manager.so.1+0x51dc)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:170 (libcelix_pubsub_topology_manager.so.1+0x5ab4)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M285 (0x7b3400006888) created at:
       #0 pthread_rwlock_init <null> (libtsan.so.0+0x2ef82)
       #1 celixThreadRwlock_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:188 (libcelix_utils.so.2+0x10642)
       #2 celix_serviceTracker_createWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:712 (libcelix_framework.so.2+0x3f1ef)
       #3 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:783 (libcelix_framework.so.2+0x21690)
       #4 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #5 pstm_setupTopicReceivers /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:933 (libcelix_pubsub_topology_manager.so.1+0xa25a)
       #6 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:973 (libcelix_pubsub_topology_manager.so.1+0xa571)
       #7 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Mutex M187 (0x7b4800000648) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:131 (libcelix_pubsub_admin_tcp.so.1+0x9b89)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M188 (0x7b4800000678) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:134 (libcelix_pubsub_admin_tcp.so.1+0x9bd2)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M190 (0x7b48000006d8) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:139 (libcelix_pubsub_admin_tcp.so.1+0x9c7c)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M291 (0x7b4000008208) created at:
       #0 pthread_rwlock_init <null> (libtsan.so.0+0x2ef82)
       #1 celixThreadRwlock_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:188 (libcelix_utils.so.2+0x10642)
       #2 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:170 (libcelix_pubsub_admin_tcp.so.1+0x14205)
       #3 pubsub_tcpTopicReceiver_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:202 (libcelix_pubsub_admin_tcp.so.1+0x103fc)
       #4 pubsub_tcpAdmin_setupTopicReceiver /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:515 (libcelix_pubsub_admin_tcp.so.1+0xb888)
       #5 pstm_setupTopicReceiverCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:884 (libcelix_pubsub_topology_manager.so.1+0x9d8f)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicReceivers /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:933 (libcelix_pubsub_topology_manager.so.1+0xa25a)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:973 (libcelix_pubsub_topology_manager.so.1+0xa571)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Thread T3 'PubSub TopologyManager' (tid=64604, 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 pubsub_topologyManager_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:90 (libcelix_pubsub_topology_manager.so.1+0x5ee2)
       #3 pstm_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:68 (libcelix_pubsub_topology_manager.so.1+0x51dc)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:170 (libcelix_pubsub_topology_manager.so.1+0x5ab4)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Thread T12 'TCP TS ping' (tid=64613, running) created by thread T3 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 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:172 (libcelix_pubsub_admin_tcp.so.1+0x14245)
       #3 pubsub_tcpTopicReceiver_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:202 (libcelix_pubsub_admin_tcp.so.1+0x103fc)
       #4 pubsub_tcpAdmin_setupTopicReceiver /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:515 (libcelix_pubsub_admin_tcp.so.1+0xb888)
       #5 pstm_setupTopicReceiverCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:884 (libcelix_pubsub_topology_manager.so.1+0x9d8f)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicReceivers /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:933 (libcelix_pubsub_topology_manager.so.1+0xa25a)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:973 (libcelix_pubsub_topology_manager.so.1+0xa571)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
   SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:656 in pubsub_tcpHandler_setTimeout
   ==================
   ```
   
   ```
   ==================
   WARNING: ThreadSanitizer: data race (pid=64600)
     Read of size 4 at 0x7b10000041d0 by thread T8:
       #0 hashMapIterator_init /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:359 (libcelix_utils.so.2+0xcdcf)
       #1 hashMapIterator_construct /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:353 (libcelix_utils.so.2+0xcd30)
       #2 pubsub_tcpHandler_handler /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1296 (libcelix_pubsub_admin_tcp.so.1+0x1a1ff)
       #3 pubsub_tcpHandler_thread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1338 (libcelix_pubsub_admin_tcp.so.1+0x1a783)
       #4 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Previous write of size 4 at 0x7b10000041d0 by thread T3 (mutexes: write M149, read M72474532283181192, write M187, write M188, write M189, write M263):
       #0 hashMap_put /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:179 (libcelix_utils.so.2+0xbf98)
       #1 pubsub_tcpHandler_listen /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:621 (libcelix_pubsub_admin_tcp.so.1+0x166b2)
       #2 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:225 (libcelix_pubsub_admin_tcp.so.1+0xd61b)
       #3 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #4 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #5 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #6 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #7 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #8 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #9 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #10 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #11 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Location is heap block of size 56 at 0x7b10000041c0 allocated by thread T3:
       #0 malloc <null> (libtsan.so.0+0x2cbe6)
       #1 hashMap_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:73 (libcelix_utils.so.2+0xb61e)
       #2 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:164 (libcelix_pubsub_admin_tcp.so.1+0x14138)
       #3 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:186 (libcelix_pubsub_admin_tcp.so.1+0xd2af)
       #4 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #5 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Mutex M149 (0x7b4c00000b18) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_topologyManager_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:73 (libcelix_pubsub_topology_manager.so.1+0x5c9f)
       #3 pstm_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:68 (libcelix_pubsub_topology_manager.so.1+0x51dc)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:170 (libcelix_pubsub_topology_manager.so.1+0x5ab4)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M72474532283181192 is already destroyed.
   
     Mutex M187 (0x7b4800000648) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:131 (libcelix_pubsub_admin_tcp.so.1+0x9b89)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M188 (0x7b4800000678) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:134 (libcelix_pubsub_admin_tcp.so.1+0x9bd2)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M189 (0x7b48000006a8) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:136 (libcelix_pubsub_admin_tcp.so.1+0x9c22)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M263 (0x7b4000008108) created at:
       #0 pthread_rwlock_init <null> (libtsan.so.0+0x2ef82)
       #1 celixThreadRwlock_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:188 (libcelix_utils.so.2+0x10642)
       #2 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:170 (libcelix_pubsub_admin_tcp.so.1+0x14205)
       #3 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:186 (libcelix_pubsub_admin_tcp.so.1+0xd2af)
       #4 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #5 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Thread T8 'TCP TS ping' (tid=64609, running) created by thread T3 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 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:172 (libcelix_pubsub_admin_tcp.so.1+0x14245)
       #3 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:186 (libcelix_pubsub_admin_tcp.so.1+0xd2af)
       #4 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #5 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Thread T3 'PubSub TopologyManager' (tid=64604, 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 pubsub_topologyManager_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:90 (libcelix_pubsub_topology_manager.so.1+0x5ee2)
       #3 pstm_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:68 (libcelix_pubsub_topology_manager.so.1+0x51dc)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:170 (libcelix_pubsub_topology_manager.so.1+0x5ab4)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
   SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:359 in hashMapIterator_init
   ==================
   ```
   
   ```
   ==================
   WARNING: ThreadSanitizer: data race (pid=64600)
     Read of size 4 at 0x7b10000041c8 by thread T8:
       #0 hashMapIterator_init /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:363 (libcelix_utils.so.2+0xce52)
       #1 hashMapIterator_construct /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:353 (libcelix_utils.so.2+0xcd30)
       #2 pubsub_tcpHandler_handler /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1296 (libcelix_pubsub_admin_tcp.so.1+0x1a1ff)
       #3 pubsub_tcpHandler_thread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1338 (libcelix_pubsub_admin_tcp.so.1+0x1a783)
       #4 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Previous write of size 4 at 0x7b10000041c8 by thread T3 (mutexes: write M149, read M72474532283181192, write M187, write M188, write M189, write M263):
       #0 hashMap_addEntry /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:331 (libcelix_utils.so.2+0xcbc7)
       #1 hashMap_put /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:180 (libcelix_utils.so.2+0xbfbc)
       #2 pubsub_tcpHandler_listen /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:621 (libcelix_pubsub_admin_tcp.so.1+0x166b2)
       #3 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:225 (libcelix_pubsub_admin_tcp.so.1+0xd61b)
       #4 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #5 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Location is heap block of size 56 at 0x7b10000041c0 allocated by thread T3:
       #0 malloc <null> (libtsan.so.0+0x2cbe6)
       #1 hashMap_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:73 (libcelix_utils.so.2+0xb61e)
       #2 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:164 (libcelix_pubsub_admin_tcp.so.1+0x14138)
       #3 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:186 (libcelix_pubsub_admin_tcp.so.1+0xd2af)
       #4 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #5 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Mutex M149 (0x7b4c00000b18) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_topologyManager_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:73 (libcelix_pubsub_topology_manager.so.1+0x5c9f)
       #3 pstm_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:68 (libcelix_pubsub_topology_manager.so.1+0x51dc)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:170 (libcelix_pubsub_topology_manager.so.1+0x5ab4)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M72474532283181192 is already destroyed.
   
     Mutex M187 (0x7b4800000648) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:131 (libcelix_pubsub_admin_tcp.so.1+0x9b89)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M188 (0x7b4800000678) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:134 (libcelix_pubsub_admin_tcp.so.1+0x9bd2)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M189 (0x7b48000006a8) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:136 (libcelix_pubsub_admin_tcp.so.1+0x9c22)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M263 (0x7b4000008108) created at:
       #0 pthread_rwlock_init <null> (libtsan.so.0+0x2ef82)
       #1 celixThreadRwlock_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:188 (libcelix_utils.so.2+0x10642)
       #2 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:170 (libcelix_pubsub_admin_tcp.so.1+0x14205)
       #3 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:186 (libcelix_pubsub_admin_tcp.so.1+0xd2af)
       #4 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #5 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Thread T8 'TCP TS ping' (tid=64609, running) created by thread T3 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 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:172 (libcelix_pubsub_admin_tcp.so.1+0x14245)
       #3 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:186 (libcelix_pubsub_admin_tcp.so.1+0xd2af)
       #4 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #5 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Thread T3 'PubSub TopologyManager' (tid=64604, 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 pubsub_topologyManager_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:90 (libcelix_pubsub_topology_manager.so.1+0x5ee2)
       #3 pstm_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:68 (libcelix_pubsub_topology_manager.so.1+0x51dc)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:170 (libcelix_pubsub_topology_manager.so.1+0x5ab4)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
   SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:363 in hashMapIterator_init
   ==================
   ```
   
   ```
   ==================
   WARNING: ThreadSanitizer: data race (pid=64600)
     Read of size 8 at 0x7b2000004340 by thread T8:
       #0 hashMapIterator_init /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:364 (libcelix_utils.so.2+0xcef4)
       #1 hashMapIterator_construct /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:353 (libcelix_utils.so.2+0xcd30)
       #2 pubsub_tcpHandler_handler /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1296 (libcelix_pubsub_admin_tcp.so.1+0x1a1ff)
       #3 pubsub_tcpHandler_thread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1338 (libcelix_pubsub_admin_tcp.so.1+0x1a783)
       #4 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Previous write of size 8 at 0x7b2000004340 by thread T3 (mutexes: write M149, read M72474532283181192, write M187, write M188, write M189, write M263):
       #0 hashMap_addEntry /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:330 (libcelix_utils.so.2+0xcb95)
       #1 hashMap_put /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:180 (libcelix_utils.so.2+0xbfbc)
       #2 pubsub_tcpHandler_listen /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:621 (libcelix_pubsub_admin_tcp.so.1+0x166b2)
       #3 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:225 (libcelix_pubsub_admin_tcp.so.1+0xd61b)
       #4 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #5 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Location is heap block of size 128 at 0x7b2000004300 allocated by thread T3:
       #0 calloc <null> (libtsan.so.0+0x2cdbd)
       #1 hashMap_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:75 (libcelix_utils.so.2+0xb6b9)
       #2 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:164 (libcelix_pubsub_admin_tcp.so.1+0x14138)
       #3 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:186 (libcelix_pubsub_admin_tcp.so.1+0xd2af)
       #4 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #5 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Mutex M149 (0x7b4c00000b18) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_topologyManager_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:73 (libcelix_pubsub_topology_manager.so.1+0x5c9f)
       #3 pstm_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:68 (libcelix_pubsub_topology_manager.so.1+0x51dc)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:170 (libcelix_pubsub_topology_manager.so.1+0x5ab4)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M72474532283181192 is already destroyed.
   
     Mutex M187 (0x7b4800000648) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:131 (libcelix_pubsub_admin_tcp.so.1+0x9b89)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M188 (0x7b4800000678) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:134 (libcelix_pubsub_admin_tcp.so.1+0x9bd2)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M189 (0x7b48000006a8) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:136 (libcelix_pubsub_admin_tcp.so.1+0x9c22)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M263 (0x7b4000008108) created at:
       #0 pthread_rwlock_init <null> (libtsan.so.0+0x2ef82)
       #1 celixThreadRwlock_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:188 (libcelix_utils.so.2+0x10642)
       #2 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:170 (libcelix_pubsub_admin_tcp.so.1+0x14205)
       #3 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:186 (libcelix_pubsub_admin_tcp.so.1+0xd2af)
       #4 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #5 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Thread T8 'TCP TS ping' (tid=64609, running) created by thread T3 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 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:172 (libcelix_pubsub_admin_tcp.so.1+0x14245)
       #3 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:186 (libcelix_pubsub_admin_tcp.so.1+0xd2af)
       #4 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #5 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Thread T3 'PubSub TopologyManager' (tid=64604, 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 pubsub_topologyManager_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:90 (libcelix_pubsub_topology_manager.so.1+0x5ee2)
       #3 pstm_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:68 (libcelix_pubsub_topology_manager.so.1+0x51dc)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:170 (libcelix_pubsub_topology_manager.so.1+0x5ab4)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
   SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:364 in hashMapIterator_init
   ==================
   ```
   
   ```
   ==================
   WARNING: ThreadSanitizer: data race (pid=64600)
     Read of size 8 at 0x7b080001a6b0 by thread T8:
       #0 hashMapIterator_nextValue /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:411 (libcelix_utils.so.2+0xd264)
       #1 pubsub_tcpHandler_handler /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1299 (libcelix_pubsub_admin_tcp.so.1+0x1a21e)
       #2 pubsub_tcpHandler_thread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1338 (libcelix_pubsub_admin_tcp.so.1+0x1a783)
       #3 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Previous write of size 8 at 0x7b080001a6b0 by thread T3 (mutexes: write M149, read M72474532283181192, write M187, write M188, write M189, write M263):
       #0 malloc <null> (libtsan.so.0+0x2cbe6)
       #1 hashMap_addEntry /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:325 (libcelix_utils.so.2+0xcaff)
       #2 hashMap_put /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:180 (libcelix_utils.so.2+0xbfbc)
       #3 pubsub_tcpHandler_listen /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:621 (libcelix_pubsub_admin_tcp.so.1+0x166b2)
       #4 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:225 (libcelix_pubsub_admin_tcp.so.1+0xd61b)
       #5 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #6 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #7 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #8 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #9 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #10 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #11 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #12 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #13 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Location is heap block of size 32 at 0x7b080001a6a0 allocated by thread T3:
       #0 malloc <null> (libtsan.so.0+0x2cbe6)
       #1 hashMap_addEntry /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:325 (libcelix_utils.so.2+0xcaff)
       #2 hashMap_put /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:180 (libcelix_utils.so.2+0xbfbc)
       #3 pubsub_tcpHandler_listen /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:621 (libcelix_pubsub_admin_tcp.so.1+0x166b2)
       #4 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:225 (libcelix_pubsub_admin_tcp.so.1+0xd61b)
       #5 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #6 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #7 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #8 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #9 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #10 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #11 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #12 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #13 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Mutex M149 (0x7b4c00000b18) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_topologyManager_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:73 (libcelix_pubsub_topology_manager.so.1+0x5c9f)
       #3 pstm_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:68 (libcelix_pubsub_topology_manager.so.1+0x51dc)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:170 (libcelix_pubsub_topology_manager.so.1+0x5ab4)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M72474532283181192 is already destroyed.
   
     Mutex M187 (0x7b4800000648) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:131 (libcelix_pubsub_admin_tcp.so.1+0x9b89)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M188 (0x7b4800000678) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:134 (libcelix_pubsub_admin_tcp.so.1+0x9bd2)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M189 (0x7b48000006a8) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:136 (libcelix_pubsub_admin_tcp.so.1+0x9c22)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M263 (0x7b4000008108) created at:
       #0 pthread_rwlock_init <null> (libtsan.so.0+0x2ef82)
       #1 celixThreadRwlock_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:188 (libcelix_utils.so.2+0x10642)
       #2 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:170 (libcelix_pubsub_admin_tcp.so.1+0x14205)
       #3 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:186 (libcelix_pubsub_admin_tcp.so.1+0xd2af)
       #4 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #5 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Thread T8 'TCP TS ping' (tid=64609, running) created by thread T3 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 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:172 (libcelix_pubsub_admin_tcp.so.1+0x14245)
       #3 pubsub_tcpTopicSender_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c:186 (libcelix_pubsub_admin_tcp.so.1+0xd2af)
       #4 pubsub_tcpAdmin_setupTopicSender /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:429 (libcelix_pubsub_admin_tcp.so.1+0xb24b)
       #5 pstm_setupTopicSenderCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:811 (libcelix_pubsub_topology_manager.so.1+0x953e)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicSenders /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:858 (libcelix_pubsub_topology_manager.so.1+0x9a0b)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:972 (libcelix_pubsub_topology_manager.so.1+0xa565)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Thread T3 'PubSub TopologyManager' (tid=64604, 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 pubsub_topologyManager_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:90 (libcelix_pubsub_topology_manager.so.1+0x5ee2)
       #3 pstm_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:68 (libcelix_pubsub_topology_manager.so.1+0x51dc)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:170 (libcelix_pubsub_topology_manager.so.1+0x5ab4)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
   SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:411 in hashMapIterator_nextValue
   ==================
   ```
   ```
   ==================
   WARNING: ThreadSanitizer: data race (pid=64600)
     Read of size 1 at 0x7b440000ffd0 by thread T13 (mutexes: write M294):
       #0 psa_tcp_recvThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:613 (libcelix_pubsub_admin_tcp.so.1+0x12abf)
       #1 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Previous write of size 1 at 0x7b440000ffd0 by thread T12 (mutexes: write M291):
       #0 psa_tcp_disConnectHandler /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:741 (libcelix_pubsub_admin_tcp.so.1+0x13cb3)
       #1 pubsub_tcpHandler_closeConnectionEntry /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:505 (libcelix_pubsub_admin_tcp.so.1+0x15f5e)
       #2 pubsub_tcpHandler_close /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:295 (libcelix_pubsub_admin_tcp.so.1+0x14c7b)
       #3 pubsub_tcpHandler_readHandler /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1181 (libcelix_pubsub_admin_tcp.so.1+0x19c5b)
       #4 pubsub_tcpHandler_handler /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1307 (libcelix_pubsub_admin_tcp.so.1+0x1a3c6)
       #5 pubsub_tcpHandler_thread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1338 (libcelix_pubsub_admin_tcp.so.1+0x1a783)
       #6 <null> <null> (libtsan.so.0+0x2b3c6)
   
     As if synchronized via sleep:
       #0 usleep <null> (libtsan.so.0+0x5218f)
       #1 psa_tcp_recvThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:606 (libcelix_pubsub_admin_tcp.so.1+0x12a5b)
       #2 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Location is heap block of size 280 at 0x7b440000ff00 allocated by thread T3:
       #0 calloc <null> (libtsan.so.0+0x2cdbd)
       #1 pubsub_tcpTopicReceiver_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:151 (libcelix_pubsub_admin_tcp.so.1+0xff17)
       #2 pubsub_tcpAdmin_setupTopicReceiver /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:515 (libcelix_pubsub_admin_tcp.so.1+0xb888)
       #3 pstm_setupTopicReceiverCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:884 (libcelix_pubsub_topology_manager.so.1+0x9d8f)
       #4 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #5 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #6 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #7 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #8 pstm_setupTopicReceivers /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:933 (libcelix_pubsub_topology_manager.so.1+0xa25a)
       #9 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:973 (libcelix_pubsub_topology_manager.so.1+0xa571)
       #10 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Mutex M294 (0x7b440000ffa0) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpTopicReceiver_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:232 (libcelix_pubsub_admin_tcp.so.1+0x10760)
       #3 pubsub_tcpAdmin_setupTopicReceiver /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:515 (libcelix_pubsub_admin_tcp.so.1+0xb888)
       #4 pstm_setupTopicReceiverCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:884 (libcelix_pubsub_topology_manager.so.1+0x9d8f)
       #5 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #6 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #7 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #8 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #9 pstm_setupTopicReceivers /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:933 (libcelix_pubsub_topology_manager.so.1+0xa25a)
       #10 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:973 (libcelix_pubsub_topology_manager.so.1+0xa571)
       #11 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Mutex M291 (0x7b4000008208) created at:
       #0 pthread_rwlock_init <null> (libtsan.so.0+0x2ef82)
       #1 celixThreadRwlock_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:188 (libcelix_utils.so.2+0x10642)
       #2 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:170 (libcelix_pubsub_admin_tcp.so.1+0x14205)
       #3 pubsub_tcpTopicReceiver_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:202 (libcelix_pubsub_admin_tcp.so.1+0x103fc)
       #4 pubsub_tcpAdmin_setupTopicReceiver /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:515 (libcelix_pubsub_admin_tcp.so.1+0xb888)
       #5 pstm_setupTopicReceiverCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:884 (libcelix_pubsub_topology_manager.so.1+0x9d8f)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicReceivers /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:933 (libcelix_pubsub_topology_manager.so.1+0xa25a)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:973 (libcelix_pubsub_topology_manager.so.1+0xa571)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Thread T13 'TCP TR (null)/ping' (tid=64614, running) created by thread T3 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 pubsub_tcpTopicReceiver_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:257 (libcelix_pubsub_admin_tcp.so.1+0x10a6f)
       #3 pubsub_tcpAdmin_setupTopicReceiver /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:515 (libcelix_pubsub_admin_tcp.so.1+0xb888)
       #4 pstm_setupTopicReceiverCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:884 (libcelix_pubsub_topology_manager.so.1+0x9d8f)
       #5 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #6 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #7 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #8 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #9 pstm_setupTopicReceivers /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:933 (libcelix_pubsub_topology_manager.so.1+0xa25a)
       #10 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:973 (libcelix_pubsub_topology_manager.so.1+0xa571)
       #11 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Thread T12 'TCP TS ping' (tid=64613, running) created by thread T3 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 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:172 (libcelix_pubsub_admin_tcp.so.1+0x14245)
       #3 pubsub_tcpTopicReceiver_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:202 (libcelix_pubsub_admin_tcp.so.1+0x103fc)
       #4 pubsub_tcpAdmin_setupTopicReceiver /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:515 (libcelix_pubsub_admin_tcp.so.1+0xb888)
       #5 pstm_setupTopicReceiverCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:884 (libcelix_pubsub_topology_manager.so.1+0x9d8f)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicReceivers /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:933 (libcelix_pubsub_topology_manager.so.1+0xa25a)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:973 (libcelix_pubsub_topology_manager.so.1+0xa571)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Thread T3 'PubSub TopologyManager' (tid=64604, 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 pubsub_topologyManager_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:90 (libcelix_pubsub_topology_manager.so.1+0x5ee2)
       #3 pstm_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:68 (libcelix_pubsub_topology_manager.so.1+0x51dc)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pstm_activator.c:170 (libcelix_pubsub_topology_manager.so.1+0x5ab4)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
   SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:613 in psa_tcp_recvThread
   ==================
   ```
   ```
   ==================
   WARNING: ThreadSanitizer: data race (pid=64600)
     Write of size 8 at 0x7b080001af60 by thread T9 (mutexes: write M190, write M294):
       #0 free <null> (libtsan.so.0+0x2cf6b)
       #1 pubsub_tcpTopicReceiver_destroy /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:327 (libcelix_pubsub_admin_tcp.so.1+0x11225)
       #2 pubsub_tcpAdmin_removeProtocolSvc /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:356 (libcelix_pubsub_admin_tcp.so.1+0xac65)
       #3 serviceTracker_invokeRemovingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:651 (libcelix_framework.so.2+0x3ecaa)
       #4 serviceTracker_untrackTracked /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:623 (libcelix_framework.so.2+0x3ea3c)
       #5 serviceTracker_untrack /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:614 (libcelix_framework.so.2+0x3e982)
       #6 serviceTracker_serviceChanged /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:423 (libcelix_framework.so.2+0x3dba6)
       #7 celix_serviceRegistry_serviceChanged /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_registry.c:1180 (libcelix_framework.so.2+0x3beb4)
       #8 serviceRegistry_unregisterService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_registry.c:280 (libcelix_framework.so.2+0x3887d)
       #9 serviceRegistration_unregister /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_registration.c:178 (libcelix_framework.so.2+0x36ea1)
       #10 celix_bundleContext_unregisterService /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:503 (libcelix_framework.so.2+0x2000c)
       #11 ps_wp_stop /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_protocol_wire_v1/src/ps_wire_protocol_activator.c:62 (libcelix_pubsub_protocol_wire_v1.so.1+0x28cc)
       #12 celix_bundleActivator_stop /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_protocol_wire_v1/src/ps_wire_protocol_activator.c:68 (libcelix_pubsub_protocol_wire_v1.so.1+0x2a01)
       #13 fw_stopBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1055 (libcelix_framework.so.2+0x28401)
       #14 framework_shutdown /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1812 (libcelix_framework.so.2+0x2af94)
       #15 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Previous read of size 8 at 0x7b080001af60 by thread T12 (mutexes: write M291):
       #0 strcmp <null> (libtsan.so.0+0x52ae1)
       #1 utils_stringEquals /home/oipo-unencrypted/Programming/celix/libs/utils/src/utils.c:49 (libcelix_utils.so.2+0x146a9)
       #2 hashMap_get /home/oipo-unencrypted/Programming/celix/libs/utils/src/hash_map.c:129 (libcelix_utils.so.2+0xbada)
       #3 psa_tcp_disConnectHandler /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:738 (libcelix_pubsub_admin_tcp.so.1+0x13c7e)
       #4 pubsub_tcpHandler_closeConnectionEntry /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:505 (libcelix_pubsub_admin_tcp.so.1+0x15f5e)
       #5 pubsub_tcpHandler_close /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:295 (libcelix_pubsub_admin_tcp.so.1+0x14c7b)
       #6 pubsub_tcpHandler_readHandler /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1181 (libcelix_pubsub_admin_tcp.so.1+0x19c5b)
       #7 pubsub_tcpHandler_handler /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1307 (libcelix_pubsub_admin_tcp.so.1+0x1a3c6)
       #8 pubsub_tcpHandler_thread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:1338 (libcelix_pubsub_admin_tcp.so.1+0x1a783)
       #9 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Mutex M190 (0x7b48000006d8) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:139 (libcelix_pubsub_admin_tcp.so.1+0x9c7c)
       #3 psa_tcp_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:59 (libcelix_pubsub_admin_tcp.so.1+0x8fa3)
       #4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/psa_activator.c:148 (libcelix_pubsub_admin_tcp.so.1+0x9862)
       #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 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
       #11 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
       #12 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
       #13 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:37 (pubsub_tcp_tests+0x18997)
       #14 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #15 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Mutex M294 (0x7b440000ffa0) created at:
       #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
       #1 celixThreadMutex_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:102 (libcelix_utils.so.2+0x1020e)
       #2 pubsub_tcpTopicReceiver_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:232 (libcelix_pubsub_admin_tcp.so.1+0x10760)
       #3 pubsub_tcpAdmin_setupTopicReceiver /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:515 (libcelix_pubsub_admin_tcp.so.1+0xb888)
       #4 pstm_setupTopicReceiverCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:884 (libcelix_pubsub_topology_manager.so.1+0x9d8f)
       #5 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #6 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #7 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #8 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #9 pstm_setupTopicReceivers /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:933 (libcelix_pubsub_topology_manager.so.1+0xa25a)
       #10 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:973 (libcelix_pubsub_topology_manager.so.1+0xa571)
       #11 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Mutex M291 (0x7b4000008208) created at:
       #0 pthread_rwlock_init <null> (libtsan.so.0+0x2ef82)
       #1 celixThreadRwlock_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:188 (libcelix_utils.so.2+0x10642)
       #2 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:170 (libcelix_pubsub_admin_tcp.so.1+0x14205)
       #3 pubsub_tcpTopicReceiver_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:202 (libcelix_pubsub_admin_tcp.so.1+0x103fc)
       #4 pubsub_tcpAdmin_setupTopicReceiver /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:515 (libcelix_pubsub_admin_tcp.so.1+0xb888)
       #5 pstm_setupTopicReceiverCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:884 (libcelix_pubsub_topology_manager.so.1+0x9d8f)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicReceivers /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:933 (libcelix_pubsub_topology_manager.so.1+0xa25a)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:973 (libcelix_pubsub_topology_manager.so.1+0xa571)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
     Thread T9 (tid=64629, 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 bundle_stopWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:307 (libcelix_framework.so.2+0x18608)
       #6 bundle_stop /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:297 (libcelix_framework.so.2+0x18557)
       #7 celixLauncher_stop /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:192 (libcelix_framework.so.2+0x47f3c)
       #8 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::teardown() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_tcp_tests/test_runner.cc:42 (pubsub_tcp_tests+0x18a34)
       #9 PlatformSpecificSetJmpImplementation <null> (pubsub_tcp_tests+0x27361)
       #10 __libc_start_main <null> (libc.so.6+0x271e2)
   
     Thread T12 'TCP TS ping' (tid=64613, running) created by thread T3 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 pubsub_tcpHandler_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c:172 (libcelix_pubsub_admin_tcp.so.1+0x14245)
       #3 pubsub_tcpTopicReceiver_create /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_topic_receiver.c:202 (libcelix_pubsub_admin_tcp.so.1+0x103fc)
       #4 pubsub_tcpAdmin_setupTopicReceiver /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_admin.c:515 (libcelix_pubsub_admin_tcp.so.1+0xb888)
       #5 pstm_setupTopicReceiverCallback /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:884 (libcelix_pubsub_topology_manager.so.1+0x9d8f)
       #6 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
       #7 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
       #8 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
       #9 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
       #10 pstm_setupTopicReceivers /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:933 (libcelix_pubsub_topology_manager.so.1+0xa25a)
       #11 pstm_psaHandlingThread /home/oipo-unencrypted/Programming/celix/bundles/pubsub/pubsub_topology_manager/src/pubsub_topology_manager.c:973 (libcelix_pubsub_topology_manager.so.1+0xa571)
       #12 <null> <null> (libtsan.so.0+0x2b3c6)
   
   SUMMARY: ThreadSanitizer: data race (/lib/x86_64-linux-gnu/libtsan.so.0+0x2cf6b) in free
   ==================
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message