You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by GitBox <gi...@apache.org> on 2020/05/05 10:31:23 UTC
[GitHub] [celix] Oipo opened a new issue #222: pubsub_websocket_tests thread sanitizer output
Oipo opened a new issue #222:
URL: https://github.com/apache/celix/issues/222
```
==================
WARNING: ThreadSanitizer: data race (pid=64753)
Write of size 8 at 0x7b0c00000458 by main thread (mutexes: write M46):
#0 arrayList_add /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:187 (libcelix_utils.so.2+0x92b9)
#1 fw_addBundleListener /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1490 (libcelix_framework.so.2+0x29f20)
#2 celix_bundleContext_trackBundlesWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:567 (libcelix_framework.so.2+0x2055a)
#3 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:108 (libhttp_admin.so.0+0x674d)
#4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#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_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#14 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#15 __libc_start_main <null> (libc.so.6+0x271e2)
Previous read of size 8 at 0x7b0c00000458 by thread T1:
#0 arrayList_size /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:104 (libcelix_utils.so.2+0x8cd8)
#1 fw_eventDispatcher /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:2003 (libcelix_framework.so.2+0x2bb6e)
#2 <null> <null> (libtsan.so.0+0x2b3c6)
Location is heap block of size 48 at 0x7b0c00000450 allocated by main thread:
#0 calloc <null> (libtsan.so.0+0x2cdbd)
#1 celix_arrayList_createWithEquals /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:365 (libcelix_utils.so.2+0xa0f6)
#2 celix_arrayList_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:361 (libcelix_utils.so.2+0xa0b8)
#3 arrayList_createWithEquals /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:45 (libcelix_utils.so.2+0x8843)
#4 arrayList_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:41 (libcelix_utils.so.2+0x8808)
#5 fw_init /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:404 (libcelix_framework.so.2+0x2521e)
#6 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:527 (libcelix_framework.so.2+0x25d9d)
#7 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#8 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#9 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#10 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#11 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#12 __libc_start_main <null> (libc.so.6+0x271e2)
Mutex M46 (0x7b4c00000050) 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 framework_create /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:251 (libcelix_framework.so.2+0x244f5)
#3 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:170 (libcelix_framework.so.2+0x47e31)
#4 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#5 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#6 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#7 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#8 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T1 (tid=64755, 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 fw_init /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:407 (libcelix_framework.so.2+0x252b4)
#3 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:527 (libcelix_framework.so.2+0x25d9d)
#4 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#5 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#6 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#7 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#8 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#9 __libc_start_main <null> (libc.so.6+0x271e2)
SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:187 in arrayList_add
==================
```
```
==================
WARNING: ThreadSanitizer: data race (pid=64753)
Read of size 8 at 0x7f7994995c98 by thread T2:
#0 DEBUG_TRACE_FUNC /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:1684 (libcivetweb_shared.so+0x7c61)
#1 accept_new_connection /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18007 (libcivetweb_shared.so+0x37537)
#2 master_thread_run /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18129 (libcivetweb_shared.so+0x37abd)
#3 master_thread /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18213 (libcivetweb_shared.so+0x37d94)
#4 <null> <null> (libtsan.so.0+0x2b3c6)
Previous write of size 8 at 0x7f7994995c98 by thread T3:
#0 DEBUG_TRACE_FUNC /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:1702 (libcivetweb_shared.so+0x7dd6)
#1 consume_socket /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17686 (libcivetweb_shared.so+0x36722)
#2 worker_thread_run /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17862 (libcivetweb_shared.so+0x3719e)
#3 worker_thread /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17980 (libcivetweb_shared.so+0x37372)
#4 <null> <null> (libtsan.so.0+0x2b3c6)
Location is global 'nslast.7766' of size 8 at 0x7f7994995c98 (libcivetweb_shared.so+0x000000046c98)
Thread T2 'civetweb-master' (tid=64756, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 mg_start_thread_with_id /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:5927 (libcivetweb_shared.so+0xe15c)
#2 mg_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18701 (libcivetweb_shared.so+0x39309)
#3 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:88 (libhttp_admin.so.0+0x3c41)
#4 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#5 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#11 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#12 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#13 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#14 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#15 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#16 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T3 'civetweb-worker' (tid=64757, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 mg_start_thread_with_id /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:5927 (libcivetweb_shared.so+0xe15c)
#2 mg_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18707 (libcivetweb_shared.so+0x393bb)
#3 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:88 (libhttp_admin.so.0+0x3c41)
#4 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#5 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#11 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#12 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#13 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#14 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#15 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#16 __libc_start_main <null> (libc.so.6+0x271e2)
SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:1684 in DEBUG_TRACE_FUNC
==================
```
```
==================
WARNING: ThreadSanitizer: data race (pid=64753)
Read of size 1 at 0x7b0c00000da6 by thread T2:
#0 produce_socket /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17661 (libcivetweb_shared.so+0x364c2)
#1 accept_new_connection /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18062 (libcivetweb_shared.so+0x377e7)
#2 master_thread_run /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18129 (libcivetweb_shared.so+0x37abd)
#3 master_thread /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18213 (libcivetweb_shared.so+0x37d94)
#4 <null> <null> (libtsan.so.0+0x2b3c6)
Previous write of size 1 at 0x7b0c00000da6 by thread T3 (mutexes: write M74):
#0 consume_socket /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17688 (libcivetweb_shared.so+0x3676e)
#1 worker_thread_run /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17862 (libcivetweb_shared.so+0x3719e)
#2 worker_thread /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17980 (libcivetweb_shared.so+0x37372)
#3 <null> <null> (libtsan.so.0+0x2b3c6)
Location is heap block of size 40 at 0x7b0c00000d80 allocated by main thread:
#0 calloc <null> (libtsan.so.0+0x2cdbd)
#1 mg_calloc /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:1479 (libcivetweb_shared.so+0x79c3)
#2 mg_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18651 (libcivetweb_shared.so+0x38fd2)
#3 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:88 (libhttp_admin.so.0+0x3c41)
#4 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#5 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#11 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#12 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#13 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#14 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#15 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#16 __libc_start_main <null> (libc.so.6+0x271e2)
Mutex M74 (0x7b5800000030) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
#1 mg_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18457 (libcivetweb_shared.so+0x3855e)
#2 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:88 (libhttp_admin.so.0+0x3c41)
#3 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#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_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#14 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#15 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T2 'civetweb-master' (tid=64756, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 mg_start_thread_with_id /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:5927 (libcivetweb_shared.so+0xe15c)
#2 mg_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18701 (libcivetweb_shared.so+0x39309)
#3 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:88 (libhttp_admin.so.0+0x3c41)
#4 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#5 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#11 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#12 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#13 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#14 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#15 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#16 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T3 'civetweb-worker' (tid=64757, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 mg_start_thread_with_id /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:5927 (libcivetweb_shared.so+0xe15c)
#2 mg_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18707 (libcivetweb_shared.so+0x393bb)
#3 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:88 (libhttp_admin.so.0+0x3c41)
#4 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#5 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#11 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#12 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#13 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#14 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#15 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#16 __libc_start_main <null> (libc.so.6+0x271e2)
SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17661 in produce_socket
==================
```
```
==================
WARNING: ThreadSanitizer: data race (pid=64753)
Write of size 8 at 0x7b3400006940 by thread T3:
#0 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xc203)
#1 websocket_ready_handler /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/websocket_admin.c:168 (libhttp_admin.so.0+0x5e75)
#2 handle_websocket_request /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:12786 (libcivetweb_shared.so+0x25dd9)
#3 handle_request /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:13980 (libcivetweb_shared.so+0x2bd59)
#4 process_new_connection /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17561 (libcivetweb_shared.so+0x35c27)
#5 worker_thread_run /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17930 (libcivetweb_shared.so+0x3715d)
#6 worker_thread /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17980 (libcivetweb_shared.so+0x37372)
#7 <null> <null> (libtsan.so.0+0x2b3c6)
Previous read of size 8 at 0x7b3400006940 by thread T5 (mutexes: write M165):
#0 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xbad8)
#1 <null> <null> (libpubsub_sut.so.1+0x19e8)
#2 <null> <null> (libtsan.so.0+0x2b3c6)
Location is heap block of size 200 at 0x7b34000068d0 allocated by thread T4:
#0 calloc <null> (libtsan.so.0+0x2cdbd)
#1 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xa721)
#2 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x8ddc)
#3 <null> <null> (libcelix_pubsub_topology_manager.so.1+0x953e)
#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 <null> <null> (libcelix_pubsub_topology_manager.so.1+0x9a0b)
#9 <null> <null> (libcelix_pubsub_topology_manager.so.1+0xa565)
#10 <null> <null> (libtsan.so.0+0x2b3c6)
Mutex M165 (0x7b14000018c0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x42a4f)
#1 <null> <null> (libpubsub_sut.so.1+0x187f)
#2 <null> <null> (libtsan.so.0+0x2b3c6)
Thread T3 'civetweb-worker' (tid=64757, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 mg_start_thread_with_id /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:5927 (libcivetweb_shared.so+0xe15c)
#2 mg_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18707 (libcivetweb_shared.so+0x393bb)
#3 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:88 (libhttp_admin.so.0+0x3c41)
#4 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#5 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#11 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#12 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#13 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#14 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#15 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#16 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T5 (tid=64759, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 <null> <null> (libpubsub_sut.so.1+0x15a3)
#2 <null> <null> (libpubsub_sut.so.1+0x1737)
#3 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#4 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#5 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#6 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#7 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#8 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#9 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#10 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#11 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#12 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#13 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T4 'PubSub TopologyManager' (tid=64758, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 celixThread_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:37 (libcelix_utils.so.2+0xff3d)
#2 <null> <null> (libcelix_pubsub_topology_manager.so.1+0x5ee2)
#3 <null> <null> (libcelix_pubsub_topology_manager.so.1+0x51dc)
#4 <null> <null> (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_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#14 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#15 __libc_start_main <null> (libc.so.6+0x271e2)
SUMMARY: ThreadSanitizer: data race (.cache/bundle4/version0.0/libcelix_pubsub_admin_websocket.so.1+0xc203)
==================
```
```
==================
WARNING: ThreadSanitizer: data race (pid=64753)
Atomic read of size 1 at 0x7b7400000990 by thread T5 (mutexes: write M165, write M296):
#0 pthread_mutex_lock <null> (libtsan.so.0+0x42a4f)
#1 mg_lock_connection /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:12049 (libcivetweb_shared.so+0x209cd)
#2 mg_websocket_write_exec /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:12509 (libcivetweb_shared.so+0x25424)
#3 mg_websocket_client_write /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:12591 (libcivetweb_shared.so+0x256e2)
#4 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xbe1e)
#5 <null> <null> (libpubsub_sut.so.1+0x19e8)
#6 <null> <null> (libtsan.so.0+0x2b3c6)
Previous write of size 1 at 0x7b7400000990 by thread T3:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
#1 worker_thread_run /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17849 (libcivetweb_shared.so+0x36cc2)
#2 worker_thread /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17980 (libcivetweb_shared.so+0x37372)
#3 <null> <null> (libtsan.so.0+0x2b3c6)
As if synchronized via sleep:
#0 sleep <null> (libtsan.so.0+0x51ffe)
#1 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xc2d1)
#2 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xbb09)
#3 <null> <null> (libpubsub_sut.so.1+0x19e8)
#4 <null> <null> (libtsan.so.0+0x2b3c6)
Location is heap block of size 2496 at 0x7b7400000000 allocated by main thread:
#0 calloc <null> (libtsan.so.0+0x2cdbd)
#1 mg_calloc /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:1479 (libcivetweb_shared.so+0x79c3)
#2 mg_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18623 (libcivetweb_shared.so+0x38e2a)
#3 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:88 (libhttp_admin.so.0+0x3c41)
#4 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#5 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#11 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#12 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#13 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#14 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#15 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#16 __libc_start_main <null> (libc.so.6+0x271e2)
Mutex M165 (0x7b14000018c0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x42a4f)
#1 <null> <null> (libpubsub_sut.so.1+0x187f)
#2 <null> <null> (libtsan.so.0+0x2b3c6)
Mutex M296 (0x7b1000002318) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x42a4f)
#1 celixThreadMutex_lock /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:110 (libcelix_utils.so.2+0x10280)
#2 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xbbee)
#3 <null> <null> (libpubsub_sut.so.1+0x19e8)
#4 <null> <null> (libtsan.so.0+0x2b3c6)
Thread T5 (tid=64759, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 <null> <null> (libpubsub_sut.so.1+0x15a3)
#2 <null> <null> (libpubsub_sut.so.1+0x1737)
#3 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#4 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#5 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#6 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#7 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#8 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#9 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#10 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#11 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#12 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#13 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T3 'civetweb-wsock' (tid=64757, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 mg_start_thread_with_id /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:5927 (libcivetweb_shared.so+0xe15c)
#2 mg_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18707 (libcivetweb_shared.so+0x393bb)
#3 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:88 (libhttp_admin.so.0+0x3c41)
#4 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#5 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#11 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#12 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#13 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#14 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#15 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#16 __libc_start_main <null> (libc.so.6+0x271e2)
SUMMARY: ThreadSanitizer: data race (/lib/x86_64-linux-gnu/libtsan.so.0+0x42a4f) in __interceptor_pthread_mutex_lock
==================
```
```
==================
WARNING: ThreadSanitizer: data race (pid=64753)
Read of size 4 at 0x7b740000097c by thread T5 (mutexes: write M165, write M296, write M77):
#0 mg_write /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:6776 (libcivetweb_shared.so+0x1042f)
#1 mg_websocket_write_exec /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:12511 (libcivetweb_shared.so+0x2543b)
#2 mg_websocket_client_write /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:12591 (libcivetweb_shared.so+0x256e2)
#3 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xbe1e)
#4 <null> <null> (libpubsub_sut.so.1+0x19e8)
#5 <null> <null> (libtsan.so.0+0x2b3c6)
Previous write of size 4 at 0x7b740000097c by thread T3:
#0 reset_per_request_attributes /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:16107 (libcivetweb_shared.so+0x31d25)
#1 get_message /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:16852 (libcivetweb_shared.so+0x33acb)
#2 get_request /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:16923 (libcivetweb_shared.so+0x33ee7)
#3 process_new_connection /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17492 (libcivetweb_shared.so+0x357f4)
#4 worker_thread_run /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17930 (libcivetweb_shared.so+0x3715d)
#5 worker_thread /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17980 (libcivetweb_shared.so+0x37372)
#6 <null> <null> (libtsan.so.0+0x2b3c6)
As if synchronized via sleep:
#0 sleep <null> (libtsan.so.0+0x51ffe)
#1 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xc2d1)
#2 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xbb09)
#3 <null> <null> (libpubsub_sut.so.1+0x19e8)
#4 <null> <null> (libtsan.so.0+0x2b3c6)
Location is heap block of size 2496 at 0x7b7400000000 allocated by main thread:
#0 calloc <null> (libtsan.so.0+0x2cdbd)
#1 mg_calloc /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:1479 (libcivetweb_shared.so+0x79c3)
#2 mg_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18623 (libcivetweb_shared.so+0x38e2a)
#3 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:88 (libhttp_admin.so.0+0x3c41)
#4 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#5 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#11 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#12 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#13 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#14 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#15 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#16 __libc_start_main <null> (libc.so.6+0x271e2)
Mutex M165 (0x7b14000018c0) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x42a4f)
#1 <null> <null> (libpubsub_sut.so.1+0x187f)
#2 <null> <null> (libtsan.so.0+0x2b3c6)
Mutex M296 (0x7b1000002318) created at:
#0 pthread_mutex_lock <null> (libtsan.so.0+0x42a4f)
#1 celixThreadMutex_lock /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:110 (libcelix_utils.so.2+0x10280)
#2 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xbbee)
#3 <null> <null> (libpubsub_sut.so.1+0x19e8)
#4 <null> <null> (libtsan.so.0+0x2b3c6)
Mutex M77 (0x7b7400000990) created at:
#0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
#1 worker_thread_run /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17849 (libcivetweb_shared.so+0x36cc2)
#2 worker_thread /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17980 (libcivetweb_shared.so+0x37372)
#3 <null> <null> (libtsan.so.0+0x2b3c6)
Thread T5 (tid=64759, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 <null> <null> (libpubsub_sut.so.1+0x15a3)
#2 <null> <null> (libpubsub_sut.so.1+0x1737)
#3 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#4 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#5 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#6 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#7 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#8 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#9 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#10 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#11 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#12 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#13 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T3 'civetweb-wsock' (tid=64757, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 mg_start_thread_with_id /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:5927 (libcivetweb_shared.so+0xe15c)
#2 mg_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18707 (libcivetweb_shared.so+0x393bb)
#3 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:88 (libhttp_admin.so.0+0x3c41)
#4 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#5 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#11 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#12 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#13 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#14 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#15 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#16 __libc_start_main <null> (libc.so.6+0x271e2)
SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:6776 in mg_write
==================
```
```
==================
WARNING: ThreadSanitizer: data race (pid=64753)
Read of size 8 at 0x7b0c00004ef8 by thread T10:
#0 celix_arrayList_size /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:381 (libcelix_utils.so.2+0xa21a)
#1 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xef26)
#2 <null> <null> (libtsan.so.0+0x2b3c6)
Previous write of size 8 at 0x7b0c00004ef8 by thread T12 (mutexes: write M222):
#0 arrayList_addEntry /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:409 (libcelix_utils.so.2+0xa62d)
#1 celix_arrayList_add /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:414 (libcelix_utils.so.2+0xa69d)
#2 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xf40e)
#3 read_websocket /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:12355 (libcivetweb_shared.so+0x24d26)
#4 websocket_client_thread /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17239 (libcivetweb_shared.so+0x34e9c)
#5 <null> <null> (libtsan.so.0+0x2b3c6)
Location is heap block of size 48 at 0x7b0c00004ef0 allocated by thread T4:
#0 calloc <null> (libtsan.so.0+0x2cdbd)
#1 celix_arrayList_createWithEquals /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:365 (libcelix_utils.so.2+0xa0f6)
#2 celix_arrayList_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:361 (libcelix_utils.so.2+0xa0b8)
#3 arrayList_createWithEquals /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:45 (libcelix_utils.so.2+0x8843)
#4 arrayList_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:41 (libcelix_utils.so.2+0x8808)
#5 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xc67d)
#6 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x92ec)
#7 <null> <null> (libcelix_pubsub_topology_manager.so.1+0x9d8f)
#8 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
#9 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
#10 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
#11 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
#12 <null> <null> (libcelix_pubsub_topology_manager.so.1+0xa25a)
#13 <null> <null> (libcelix_pubsub_topology_manager.so.1+0xa571)
#14 <null> <null> (libtsan.so.0+0x2b3c6)
Mutex M222 (0x7b48000100f0) 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 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xc5e0)
#3 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x92ec)
#4 <null> <null> (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 <null> <null> (libcelix_pubsub_topology_manager.so.1+0xa25a)
#10 <null> <null> (libcelix_pubsub_topology_manager.so.1+0xa571)
#11 <null> <null> (libtsan.so.0+0x2b3c6)
Thread T10 'WEBSOCKET TR (null)/ping' (tid=64764, running) created by thread T4 at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 celixThread_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:37 (libcelix_utils.so.2+0xff3d)
#2 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xce84)
#3 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x92ec)
#4 <null> <null> (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 <null> <null> (libcelix_pubsub_topology_manager.so.1+0xa25a)
#10 <null> <null> (libcelix_pubsub_topology_manager.so.1+0xa571)
#11 <null> <null> (libtsan.so.0+0x2b3c6)
Thread T12 'civetweb-wsock' (tid=64766, running) created by thread T10 at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 mg_start_thread_with_id /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:5927 (libcivetweb_shared.so+0xe15c)
#2 mg_connect_websocket_client /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17389 (libcivetweb_shared.so+0x35495)
#3 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xf8f4)
#4 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xee00)
#5 <null> <null> (libtsan.so.0+0x2b3c6)
Thread T4 'PubSub TopologyManager' (tid=64758, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 celixThread_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:37 (libcelix_utils.so.2+0xff3d)
#2 <null> <null> (libcelix_pubsub_topology_manager.so.1+0x5ee2)
#3 <null> <null> (libcelix_pubsub_topology_manager.so.1+0x51dc)
#4 <null> <null> (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_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#14 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#15 __libc_start_main <null> (libc.so.6+0x271e2)
SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:381 in celix_arrayList_size
==================
```
```
==================
WARNING: ThreadSanitizer: data race (pid=64753)
Write of size 8 at 0x7b0400001158 by thread T7 (mutexes: write M143, write M86):
#0 destroyServiceNode /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/service_tree.c:224 (libhttp_admin.so.0+0x7a93)
#1 websocket_admin_removeWebsocketService /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/websocket_admin.c:116 (libhttp_admin.so.0+0x5bfb)
#2 serviceTracker_invokeRemovingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:651 (libcelix_framework.so.2+0x3ecaa)
#3 serviceTracker_untrackTracked /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:623 (libcelix_framework.so.2+0x3ea3c)
#4 serviceTracker_untrack /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:614 (libcelix_framework.so.2+0x3e982)
#5 serviceTracker_serviceChanged /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:423 (libcelix_framework.so.2+0x3dba6)
#6 celix_serviceRegistry_serviceChanged /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_registry.c:1180 (libcelix_framework.so.2+0x3beb4)
#7 serviceRegistry_unregisterService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_registry.c:280 (libcelix_framework.so.2+0x3887d)
#8 serviceRegistration_unregister /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_registration.c:178 (libcelix_framework.so.2+0x36ea1)
#9 celix_bundleContext_unregisterService /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:503 (libcelix_framework.so.2+0x2000c)
#10 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xaf00)
#11 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x8779)
#12 serviceTracker_invokeRemovingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:651 (libcelix_framework.so.2+0x3ecaa)
#13 serviceTracker_untrackTracked /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:623 (libcelix_framework.so.2+0x3ea3c)
#14 serviceTracker_close /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:261 (libcelix_framework.so.2+0x3d25c)
#15 celix_serviceTracker_destroy /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:784 (libcelix_framework.so.2+0x3f83a)
#16 celix_bundleContext_stopTracker /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:673 (libcelix_framework.so.2+0x20d98)
#17 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x7c15)
#18 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x7d5a)
#19 fw_stopBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1055 (libcelix_framework.so.2+0x28401)
#20 framework_shutdown /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1812 (libcelix_framework.so.2+0x2af94)
#21 <null> <null> (libtsan.so.0+0x2b3c6)
Previous read of size 8 at 0x7b0400001158 by thread T3:
#0 findServiceNodeInTree /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/service_tree.c:331 (libhttp_admin.so.0+0x81bf)
#1 websocket_ready_handler /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/websocket_admin.c:161 (libhttp_admin.so.0+0x5def)
#2 handle_websocket_request /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:12786 (libcivetweb_shared.so+0x25dd9)
#3 handle_request /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:13980 (libcivetweb_shared.so+0x2bd59)
#4 process_new_connection /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17561 (libcivetweb_shared.so+0x35c27)
#5 worker_thread_run /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17930 (libcivetweb_shared.so+0x3715d)
#6 worker_thread /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17980 (libcivetweb_shared.so+0x37372)
#7 <null> <null> (libtsan.so.0+0x2b3c6)
Location is heap block of size 16 at 0x7b0400001150 allocated by thread T4:
#0 calloc <null> (libtsan.so.0+0x2cdbd)
#1 createServiceNode /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/service_tree.c:46 (libhttp_admin.so.0+0x6c87)
#2 addServiceNode /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/service_tree.c:136 (libhttp_admin.so.0+0x7444)
#3 websocket_admin_addWebsocketService /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/websocket_admin.c:94 (libhttp_admin.so.0+0x5ac0)
#4 serviceTracker_invokeAddService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:553 (libcelix_framework.so.2+0x3e533)
#5 serviceTracker_track /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:493 (libcelix_framework.so.2+0x3e06f)
#6 serviceTracker_serviceChanged /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:417 (libcelix_framework.so.2+0x3db56)
#7 celix_serviceRegistry_serviceChanged /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_registry.c:1180 (libcelix_framework.so.2+0x3beb4)
#8 serviceRegistry_registerServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_registry.c:244 (libcelix_framework.so.2+0x386f1)
#9 serviceRegistry_registerService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_registry.c:201 (libcelix_framework.so.2+0x382e4)
#10 fw_registerService /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1382 (libcelix_framework.so.2+0x29650)
#11 bundleContext_registerService /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:168 (libcelix_framework.so.2+0x1e7ef)
#12 celix_bundleContext_registerServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:468 (libcelix_framework.so.2+0x1fddd)
#13 celix_bundleContext_registerService /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:440 (libcelix_framework.so.2+0x1f9b5)
#14 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xa8bc)
#15 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x8ddc)
#16 <null> <null> (libcelix_pubsub_topology_manager.so.1+0x953e)
#17 serviceTracker_useHighestRankingServiceInternal /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:825 (libcelix_framework.so.2+0x3fa44)
#18 celix_serviceTracker_useHighestRankingService /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:856 (libcelix_framework.so.2+0x3fbec)
#19 celix_bundleContext_useServiceWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:794 (libcelix_framework.so.2+0x217ad)
#20 celix_bundleContext_useServiceWithId /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:741 (libcelix_framework.so.2+0x2128f)
#21 <null> <null> (libcelix_pubsub_topology_manager.so.1+0x9a0b)
#22 <null> <null> (libcelix_pubsub_topology_manager.so.1+0xa565)
#23 <null> <null> (libtsan.so.0+0x2b3c6)
Mutex M143 (0x7b4000000168) 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 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x7f99)
#3 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x769f)
#4 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x7d16)
#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_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#14 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#15 __libc_start_main <null> (libc.so.6+0x271e2)
Mutex M86 (0x7b1400000f70) 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 websocketAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/websocket_admin.c:63 (libhttp_admin.so.0+0x59a2)
#3 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:115 (libhttp_admin.so.0+0x67d5)
#4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#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_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#14 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#15 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T7 (tid=64782, 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_websocket_tests/test_runner.cc:42 (pubsub_websocket_tests+0x18a34)
#9 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#10 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T3 'civetweb-wsock' (tid=64757, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 mg_start_thread_with_id /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:5927 (libcivetweb_shared.so+0xe15c)
#2 mg_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18707 (libcivetweb_shared.so+0x393bb)
#3 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:88 (libhttp_admin.so.0+0x3c41)
#4 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#5 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#11 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#12 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#13 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#14 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#15 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#16 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T4 'PubSub TopologyManager' (tid=64758, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 celixThread_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:37 (libcelix_utils.so.2+0xff3d)
#2 <null> <null> (libcelix_pubsub_topology_manager.so.1+0x5ee2)
#3 <null> <null> (libcelix_pubsub_topology_manager.so.1+0x51dc)
#4 <null> <null> (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_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#14 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#15 __libc_start_main <null> (libc.so.6+0x271e2)
SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/service_tree.c:224 in destroyServiceNode
==================
```
```
==================
WARNING: ThreadSanitizer: data race (pid=64753)
Write of size 8 at 0x7b3400006910 by thread T7 (mutexes: write M143):
#0 free <null> (libtsan.so.0+0x2cf6b)
#1 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xafa4)
#2 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x8779)
#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_close /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:261 (libcelix_framework.so.2+0x3d25c)
#6 celix_serviceTracker_destroy /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:784 (libcelix_framework.so.2+0x3f83a)
#7 celix_bundleContext_stopTracker /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:673 (libcelix_framework.so.2+0x20d98)
#8 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x7c15)
#9 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x7d5a)
#10 fw_stopBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1055 (libcelix_framework.so.2+0x28401)
#11 framework_shutdown /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1812 (libcelix_framework.so.2+0x2af94)
#12 <null> <null> (libtsan.so.0+0x2b3c6)
Previous read of size 8 at 0x7b3400006910 by thread T3:
#0 websocket_ready_handler /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/websocket_admin.c:168 (libhttp_admin.so.0+0x5e62)
#1 handle_websocket_request /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:12786 (libcivetweb_shared.so+0x25dd9)
#2 handle_request /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:13980 (libcivetweb_shared.so+0x2bd59)
#3 process_new_connection /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17561 (libcivetweb_shared.so+0x35c27)
#4 worker_thread_run /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17930 (libcivetweb_shared.so+0x3715d)
#5 worker_thread /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17980 (libcivetweb_shared.so+0x37372)
#6 <null> <null> (libtsan.so.0+0x2b3c6)
Mutex M143 (0x7b4000000168) 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 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x7f99)
#3 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x769f)
#4 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x7d16)
#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_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#14 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#15 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T7 (tid=64782, 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_websocket_tests/test_runner.cc:42 (pubsub_websocket_tests+0x18a34)
#9 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#10 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T3 'civetweb-wsock' (tid=64757, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 mg_start_thread_with_id /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:5927 (libcivetweb_shared.so+0xe15c)
#2 mg_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18707 (libcivetweb_shared.so+0x393bb)
#3 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:88 (libhttp_admin.so.0+0x3c41)
#4 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#5 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#11 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#12 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#13 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#14 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#15 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#16 __libc_start_main <null> (libc.so.6+0x271e2)
SUMMARY: ThreadSanitizer: data race (/lib/x86_64-linux-gnu/libtsan.so.0+0x2cf6b) in free
==================
```
```
==================
WARNING: ThreadSanitizer: data race (pid=64753)
Write of size 4 at 0x7ba4000009e8 by thread T7 (mutexes: write M144, write M220):
#0 mg_close_connection /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:16353 (libcivetweb_shared.so+0x3268d)
#1 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xd300)
#2 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x889f)
#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_close /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:261 (libcelix_framework.so.2+0x3d25c)
#6 celix_serviceTracker_destroy /home/oipo-unencrypted/Programming/celix/libs/framework/src/service_tracker.c:784 (libcelix_framework.so.2+0x3f83a)
#7 celix_bundleContext_stopTracker /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle_context.c:673 (libcelix_framework.so.2+0x20d98)
#8 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x7c15)
#9 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x7d5a)
#10 fw_stopBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1055 (libcelix_framework.so.2+0x28401)
#11 framework_shutdown /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1812 (libcelix_framework.so.2+0x2af94)
#12 <null> <null> (libtsan.so.0+0x2b3c6)
Previous read of size 4 at 0x7ba4000009e8 by thread T12:
#0 read_websocket /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:12201 (libcivetweb_shared.so+0x25130)
#1 websocket_client_thread /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17239 (libcivetweb_shared.so+0x34e9c)
#2 <null> <null> (libtsan.so.0+0x2b3c6)
Location is heap block of size 19640 at 0x7ba400000000 allocated by thread T10:
#0 calloc <null> (libtsan.so.0+0x2cdbd)
#1 mg_calloc /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:1479 (libcivetweb_shared.so+0x79c3)
#2 mg_connect_client_impl /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:16414 (libcivetweb_shared.so+0x32988)
#3 mg_connect_client /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:16617 (libcivetweb_shared.so+0x33367)
#4 mg_download /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17162 (libcivetweb_shared.so+0x34b13)
#5 mg_connect_websocket_client /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17312 (libcivetweb_shared.so+0x3515e)
#6 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xf8f4)
#7 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xee00)
#8 <null> <null> (libtsan.so.0+0x2b3c6)
Mutex M144 (0x7b4000000198) 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 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x7ff3)
#3 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x769f)
#4 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x7d16)
#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_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#14 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#15 __libc_start_main <null> (libc.so.6+0x271e2)
Mutex M220 (0x7b4800010160) 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 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xc5ae)
#3 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x92ec)
#4 <null> <null> (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 <null> <null> (libcelix_pubsub_topology_manager.so.1+0xa25a)
#10 <null> <null> (libcelix_pubsub_topology_manager.so.1+0xa571)
#11 <null> <null> (libtsan.so.0+0x2b3c6)
Thread T7 (tid=64782, 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_websocket_tests/test_runner.cc:42 (pubsub_websocket_tests+0x18a34)
#9 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#10 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T12 'civetweb-wsock' (tid=64766, running) created by thread T10 at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 mg_start_thread_with_id /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:5927 (libcivetweb_shared.so+0xe15c)
#2 mg_connect_websocket_client /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17389 (libcivetweb_shared.so+0x35495)
#3 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xf8f4)
#4 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xee00)
#5 <null> <null> (libtsan.so.0+0x2b3c6)
Thread T10 'WEBSOCKET TR (null)/ping' (tid=64764, finished) created by thread T4 at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 celixThread_create /home/oipo-unencrypted/Programming/celix/libs/utils/src/celix_threads.c:37 (libcelix_utils.so.2+0xff3d)
#2 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0xce84)
#3 <null> <null> (libcelix_pubsub_admin_websocket.so.1+0x92ec)
#4 <null> <null> (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 <null> <null> (libcelix_pubsub_topology_manager.so.1+0xa25a)
#10 <null> <null> (libcelix_pubsub_topology_manager.so.1+0xa571)
#11 <null> <null> (libtsan.so.0+0x2b3c6)
SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:16353 in mg_close_connection
==================
```
```
==================
WARNING: ThreadSanitizer: data race (pid=64753)
Write of size 4 at 0x7b5800000028 by thread T7 (mutexes: write M71):
#0 mg_stop /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18326 (libcivetweb_shared.so+0x38288)
#1 httpAdmin_destroy /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:116 (libhttp_admin.so.0+0x3e57)
#2 http_admin_stop /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:134 (libhttp_admin.so.0+0x69f4)
#3 celix_bundleActivator_stop /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b63)
#4 fw_stopBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1055 (libcelix_framework.so.2+0x28401)
#5 framework_shutdown /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:1812 (libcelix_framework.so.2+0x2af94)
#6 <null> <null> (libtsan.so.0+0x2b3c6)
Previous read of size 4 at 0x7b5800000028 by thread T2:
#0 master_thread_run /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18115 (libcivetweb_shared.so+0x37af1)
#1 master_thread /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18213 (libcivetweb_shared.so+0x37d94)
#2 <null> <null> (libtsan.so.0+0x2b3c6)
Location is heap block of size 760 at 0x7b5800000000 allocated by main thread:
#0 calloc <null> (libtsan.so.0+0x2cdbd)
#1 mg_calloc /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:1479 (libcivetweb_shared.so+0x79c3)
#2 mg_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18414 (libcivetweb_shared.so+0x383e2)
#3 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:88 (libhttp_admin.so.0+0x3c41)
#4 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#5 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#11 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#12 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#13 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#14 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#15 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#16 __libc_start_main <null> (libc.so.6+0x271e2)
Mutex M71 (0x7b1c00000478) 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 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:80 (libhttp_admin.so.0+0x3bad)
#3 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#4 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#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_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#14 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#15 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T7 (tid=64782, 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_websocket_tests/test_runner.cc:42 (pubsub_websocket_tests+0x18a34)
#9 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#10 __libc_start_main <null> (libc.so.6+0x271e2)
Thread T2 'civetweb-master' (tid=64756, running) created by main thread at:
#0 pthread_create <null> (libtsan.so.0+0x2dc82)
#1 mg_start_thread_with_id /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:5927 (libcivetweb_shared.so+0xe15c)
#2 mg_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18701 (libcivetweb_shared.so+0x39309)
#3 httpAdmin_create /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/http_admin.c:88 (libhttp_admin.so.0+0x3c41)
#4 http_admin_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:84 (libhttp_admin.so.0+0x644a)
#5 celix_bundleActivator_start /home/oipo-unencrypted/Programming/celix/bundles/http_admin/http_admin/src/activator.c:145 (libhttp_admin.so.0+0x6b1f)
#6 fw_startBundle /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:884 (libcelix_framework.so.2+0x27815)
#7 bundle_startWithOptions /home/oipo-unencrypted/Programming/celix/libs/framework/src/bundle.c:267 (libcelix_framework.so.2+0x18373)
#8 framework_autoStartConfiguredBundlesForList /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:603 (libcelix_framework.so.2+0x26467)
#9 framework_autoStartConfiguredBundles /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:570 (libcelix_framework.so.2+0x2624d)
#10 framework_start /home/oipo-unencrypted/Programming/celix/libs/framework/src/framework.c:549 (libcelix_framework.so.2+0x25f58)
#11 celixLauncher_launchWithProperties /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:172 (libcelix_framework.so.2+0x47e55)
#12 celixLauncher_launchWithConfigAndProps /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:157 (libcelix_framework.so.2+0x47dd3)
#13 celixLauncher_launch /home/oipo-unencrypted/Programming/celix/libs/framework/src/celix_launcher.c:141 (libcelix_framework.so.2+0x47d22)
#14 TEST_GROUP_CppUTestGroupPUBSUB_INT_GROUP::setup() /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/pubsub_websocket_tests/test_runner.cc:37 (pubsub_websocket_tests+0x18997)
#15 PlatformSpecificSetJmpImplementation <null> (pubsub_websocket_tests+0x27361)
#16 __libc_start_main <null> (libc.so.6+0x271e2)
SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18326 in mg_stop
==================
```
----------------------------------------------------------------
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