celix icon indicating copy to clipboard operation
celix copied to clipboard

http_websocket_tests thread sanitizer output

Open Oipo opened this issue 5 years ago • 0 comments

==================
WARNING: ThreadSanitizer: data race (pid=64540)
  Write of size 8 at 0x7b0c00000458 by main thread (mutexes: write M57):
    #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 main /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/http_websocket_tests/test_runner.cc:38 (http_websocket_tests+0x1d55b)

  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 main /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/http_websocket_tests/test_runner.cc:38 (http_websocket_tests+0x1d55b)

  Mutex M57 (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 main /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/http_websocket_tests/test_runner.cc:38 (http_websocket_tests+0x1d55b)

  Thread T1 (tid=64542, 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 main /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/http_websocket_tests/test_runner.cc:38 (http_websocket_tests+0x1d55b)

SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/libs/utils/src/array_list.c:187 in arrayList_add
==================
==================
WARNING: ThreadSanitizer: data race (pid=64540)
  Read of size 8 at 0x7fb050872c98 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 0x7fb050872c98 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 0x7fb050872c98 (libcivetweb_shared.so+0x000000046c98)

  Thread T2 'civetweb-master' (tid=64543, 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:90 (libhttp_admin.so.0+0x64eb)
    #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 main /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/http_websocket_tests/test_runner.cc:38 (http_websocket_tests+0x1d55b)

  Thread T3 'civetweb-worker' (tid=64544, 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:90 (libhttp_admin.so.0+0x64eb)
    #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 main /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/http_websocket_tests/test_runner.cc:38 (http_websocket_tests+0x1d55b)

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=64540)
  Read of size 1 at 0x7b0c00000806 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 0x7b0c00000806 by thread T3 (mutexes: write M75):
    #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 0x7b0c000007e0 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:90 (libhttp_admin.so.0+0x64eb)
    #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 main /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/http_websocket_tests/test_runner.cc:38 (http_websocket_tests+0x1d55b)

  Mutex M75 (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:90 (libhttp_admin.so.0+0x64eb)
    #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 main /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/http_websocket_tests/test_runner.cc:38 (http_websocket_tests+0x1d55b)

  Thread T2 'civetweb-master' (tid=64543, 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:90 (libhttp_admin.so.0+0x64eb)
    #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 main /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/http_websocket_tests/test_runner.cc:38 (http_websocket_tests+0x1d55b)

  Thread T3 'civetweb-worker' (tid=64544, 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:90 (libhttp_admin.so.0+0x64eb)
    #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 main /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/http_websocket_tests/test_runner.cc:38 (http_websocket_tests+0x1d55b)

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=64540)
  Write of size 4 at 0x7ba4000009e8 by thread T5:
    #0 websocket_client_thread /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17249 (libcivetweb_shared.so+0x34f7c)
    #1 <null> <null> (libtsan.so.0+0x2b3c6)

  Previous read of size 4 at 0x7ba4000009e8 by main thread (mutexes: write M122):
    #0 push_inner /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:6242 (libcivetweb_shared.so+0xee10)
    #1 push_all /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:6322 (libcivetweb_shared.so+0xf03b)
    #2 mg_write /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:6815 (libcivetweb_shared.so+0x1079f)
    #3 mg_websocket_write_exec /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:12517 (libcivetweb_shared.so+0x2546e)
    #4 mg_websocket_client_write /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:12591 (libcivetweb_shared.so+0x256e2)
    #5 TEST_HTTP_ADMIN_INT_GROUP_websocket_echo_test_Test::testBody() /home/oipo-unencrypted/Programming/celix/bundles/http_admin/test/test/http_websocket_tests.cc:220 (http_websocket_tests+0x1f7f6)
    #6 PlatformSpecificSetJmpImplementation <null> (http_websocket_tests+0x2ff81)
    #7 __libc_start_main <null> (libc.so.6+0x271e2)

  Location is heap block of size 19640 at 0x7ba400000000 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_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 TEST_HTTP_ADMIN_INT_GROUP_websocket_echo_test_Test::testBody() /home/oipo-unencrypted/Programming/celix/bundles/http_admin/test/test/http_websocket_tests.cc:215 (http_websocket_tests+0x1f719)
    #7 PlatformSpecificSetJmpImplementation <null> (http_websocket_tests+0x2ff81)
    #8 __libc_start_main <null> (libc.so.6+0x271e2)

  Mutex M122 (0x7ba400000990) created at:
    #0 pthread_mutex_init <null> (libtsan.so.0+0x2e561)
    #1 mg_connect_client_impl /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:16513 (libcivetweb_shared.so+0x32d91)
    #2 mg_connect_client /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:16617 (libcivetweb_shared.so+0x33367)
    #3 mg_download /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17162 (libcivetweb_shared.so+0x34b13)
    #4 mg_connect_websocket_client /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17312 (libcivetweb_shared.so+0x3515e)
    #5 TEST_HTTP_ADMIN_INT_GROUP_websocket_echo_test_Test::testBody() /home/oipo-unencrypted/Programming/celix/bundles/http_admin/test/test/http_websocket_tests.cc:215 (http_websocket_tests+0x1f719)
    #6 PlatformSpecificSetJmpImplementation <null> (http_websocket_tests+0x2ff81)
    #7 __libc_start_main <null> (libc.so.6+0x271e2)

  Thread T5 'civetweb-worker' (tid=64546, 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_connect_websocket_client /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17389 (libcivetweb_shared.so+0x35495)
    #3 TEST_HTTP_ADMIN_INT_GROUP_websocket_echo_test_Test::testBody() /home/oipo-unencrypted/Programming/celix/bundles/http_admin/test/test/http_websocket_tests.cc:215 (http_websocket_tests+0x1f719)
    #4 PlatformSpecificSetJmpImplementation <null> (http_websocket_tests+0x2ff81)
    #5 __libc_start_main <null> (libc.so.6+0x271e2)

SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17249 in websocket_client_thread
==================
==================
WARNING: ThreadSanitizer: data race (pid=64540)
  Read of size 8 at 0x7b0c00000cc0 by main thread:
    #0 strncmp <null> (libtsan.so.0+0x52d46)
    #1 TEST_HTTP_ADMIN_INT_GROUP_websocket_echo_test_Test::testBody() /home/oipo-unencrypted/Programming/celix/bundles/http_admin/test/test/http_websocket_tests.cc:226 (http_websocket_tests+0x1f932)
    #2 PlatformSpecificSetJmpImplementation <null> (http_websocket_tests+0x2ff81)
    #3 __libc_start_main <null> (libc.so.6+0x271e2)

  Previous write of size 8 at 0x7b0c00000cc0 by thread T5:
    #0 memcpy <null> (libtsan.so.0+0x343fd)
    #1 websocket_client_data_handler /home/oipo-unencrypted/Programming/celix/bundles/http_admin/test/test/http_websocket_tests.cc:244 (http_websocket_tests+0x1faaf)
    #2 read_websocket /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:12355 (libcivetweb_shared.so+0x24d26)
    #3 websocket_client_thread /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17239 (libcivetweb_shared.so+0x34e9c)
    #4 <null> <null> (libtsan.so.0+0x2b3c6)

  As if synchronized via sleep:
    #0 usleep <null> (libtsan.so.0+0x5218f)
    #1 TEST_HTTP_ADMIN_INT_GROUP_websocket_echo_test_Test::testBody() /home/oipo-unencrypted/Programming/celix/bundles/http_admin/test/test/http_websocket_tests.cc:223 (http_websocket_tests+0x1f8aa)
    #2 PlatformSpecificSetJmpImplementation <null> (http_websocket_tests+0x2ff81)
    #3 __libc_start_main <null> (libc.so.6+0x271e2)

  Location is heap block of size 36 at 0x7b0c00000cc0 allocated by main thread:
    #0 malloc <null> (libtsan.so.0+0x2cbe6)
    #1 TEST_HTTP_ADMIN_INT_GROUP_websocket_echo_test_Test::testBody() /home/oipo-unencrypted/Programming/celix/bundles/http_admin/test/test/http_websocket_tests.cc:213 (http_websocket_tests+0x1f6b9)
    #2 PlatformSpecificSetJmpImplementation <null> (http_websocket_tests+0x2ff81)
    #3 __libc_start_main <null> (libc.so.6+0x271e2)

  Thread T5 'civetweb-worker' (tid=64546, finished) 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_connect_websocket_client /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17389 (libcivetweb_shared.so+0x35495)
    #3 TEST_HTTP_ADMIN_INT_GROUP_websocket_echo_test_Test::testBody() /home/oipo-unencrypted/Programming/celix/bundles/http_admin/test/test/http_websocket_tests.cc:215 (http_websocket_tests+0x1f719)
    #4 PlatformSpecificSetJmpImplementation <null> (http_websocket_tests+0x2ff81)
    #5 __libc_start_main <null> (libc.so.6+0x271e2)

SUMMARY: ThreadSanitizer: data race (/lib/x86_64-linux-gnu/libtsan.so.0+0x52d46) in __interceptor_strncmp
==================
==================
WARNING: ThreadSanitizer: data race (pid=64540)
  Write of size 4 at 0x7ba400000958 by main thread:
    #0 mg_close_connection /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:16354 (libcivetweb_shared.so+0x326a6)
    #1 TEST_HTTP_ADMIN_INT_GROUP_websocket_echo_test_Test::testBody() /home/oipo-unencrypted/Programming/celix/bundles/http_admin/test/test/http_websocket_tests.cc:230 (http_websocket_tests+0x1f9aa)
    #2 PlatformSpecificSetJmpImplementation <null> (http_websocket_tests+0x2ff81)
    #3 __libc_start_main <null> (libc.so.6+0x271e2)

  Previous read of size 4 at 0x7ba400000958 by thread T5:
    #0 read_websocket /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:12201 (libcivetweb_shared.so+0x2514c)
    #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)

  As if synchronized via sleep:
    #0 usleep <null> (libtsan.so.0+0x5218f)
    #1 TEST_HTTP_ADMIN_INT_GROUP_websocket_echo_test_Test::testBody() /home/oipo-unencrypted/Programming/celix/bundles/http_admin/test/test/http_websocket_tests.cc:223 (http_websocket_tests+0x1f8aa)
    #2 PlatformSpecificSetJmpImplementation <null> (http_websocket_tests+0x2ff81)
    #3 __libc_start_main <null> (libc.so.6+0x271e2)

  Location is heap block of size 19640 at 0x7ba400000000 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_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 TEST_HTTP_ADMIN_INT_GROUP_websocket_echo_test_Test::testBody() /home/oipo-unencrypted/Programming/celix/bundles/http_admin/test/test/http_websocket_tests.cc:215 (http_websocket_tests+0x1f719)
    #7 PlatformSpecificSetJmpImplementation <null> (http_websocket_tests+0x2ff81)
    #8 __libc_start_main <null> (libc.so.6+0x271e2)

  Thread T5 'civetweb-worker' (tid=64546, finished) 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_connect_websocket_client /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:17389 (libcivetweb_shared.so+0x35495)
    #3 TEST_HTTP_ADMIN_INT_GROUP_websocket_echo_test_Test::testBody() /home/oipo-unencrypted/Programming/celix/bundles/http_admin/test/test/http_websocket_tests.cc:215 (http_websocket_tests+0x1f719)
    #4 PlatformSpecificSetJmpImplementation <null> (http_websocket_tests+0x2ff81)
    #5 __libc_start_main <null> (libc.so.6+0x271e2)

SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:16354 in mg_close_connection
==================
==================
WARNING: ThreadSanitizer: data race (pid=64540)
  Write of size 4 at 0x7b5800000028 by thread T6 (mutexes: write M74):
    #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:90 (libhttp_admin.so.0+0x64eb)
    #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 main /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/http_websocket_tests/test_runner.cc:38 (http_websocket_tests+0x1d55b)

  Mutex M74 (0x7b1c00000248) 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:90 (libhttp_admin.so.0+0x64eb)
    #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 main /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/http_websocket_tests/test_runner.cc:38 (http_websocket_tests+0x1d55b)

  Thread T6 (tid=64547, 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 main /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/http_websocket_tests/test_runner.cc:44 (http_websocket_tests+0x1d58f)

  Thread T2 'civetweb-master' (tid=64543, 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:90 (libhttp_admin.so.0+0x64eb)
    #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 main /home/oipo-unencrypted/Programming/celix/build/celix/gen/containers/http_websocket_tests/test_runner.cc:38 (http_websocket_tests+0x1d55b)

SUMMARY: ThreadSanitizer: data race /home/oipo-unencrypted/Programming/celix/bundles/http_admin/civetweb/src/civetweb.c:18326 in mg_stop
==================

Oipo avatar May 05 '20 10:05 Oipo