Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.16.0
-
None
Description
TSAN_OPTIONS=second_deadlock_stack=1 router/qdrouterd -c ./tests/system_test.dir/system_tests_policy/LoadPolicyFromFolder/setUpClass/conn-limit-router.conf -I /home/jdanek/repos/qpid/qpid-dispatch/python
================== WARNING: ThreadSanitizer: data race (pid=5929) Write of size 1 at 0x7b6400031b20 by main thread: #0 qdr_core_free ../src/router_core/router_core.c:138 (libqpid-dispatch.so+0xc18f4) #1 qd_router_free ../src/router_node.c:2157 (libqpid-dispatch.so+0xe3bde) #2 qd_dispatch_free ../src/dispatch.c:372 (libqpid-dispatch.so+0x71387) #3 main_process ../router/src/main.c:119 (qdrouterd+0x40263a) #4 main ../router/src/main.c:369 (qdrouterd+0x4032ae) Previous read of size 1 at 0x7b6400031b20 by thread T1: #0 router_core_thread ../src/router_core/router_core_thread.c:210 (libqpid-dispatch.so+0xc41ce) #1 _thread_init ../src/posix/threading.c:172 (libqpid-dispatch.so+0x8f3cf) #2 <null> <null> (libtsan.so.0+0x30f0f) Location is heap block of size 1160 at 0x7b6400031b00 allocated by main thread: #0 malloc <null> (libtsan.so.0+0x33dc1) #1 qd_malloc ../include/qpid/dispatch/ctools.h:229 (libqpid-dispatch.so+0xbd690) #2 qdr_core ../src/router_core/router_core.c:71 (libqpid-dispatch.so+0xbd690) #3 qd_router_setup_late ../src/router_node.c:2119 (libqpid-dispatch.so+0xe3a56) #4 ffi_call_unix64 <null> (libffi.so.7+0x7abc) #5 main_process ../router/src/main.c:97 (qdrouterd+0x4025ae) #6 main ../router/src/main.c:369 (qdrouterd+0x4032ae) Thread T1 (tid=5931, running) created by main thread at: #0 pthread_create <null> (libtsan.so.0+0x5cba2) #1 sys_thread ../src/posix/threading.c:181 (libqpid-dispatch.so+0x8f89b) #2 qdr_core ../src/router_core/router_core.c:122 (libqpid-dispatch.so+0xbd91b) #3 qd_router_setup_late ../src/router_node.c:2119 (libqpid-dispatch.so+0xe3a56) #4 ffi_call_unix64 <null> (libffi.so.7+0x7abc) #5 main_process ../router/src/main.c:97 (qdrouterd+0x4025ae) #6 main ../router/src/main.c:369 (qdrouterd+0x4032ae) SUMMARY: ThreadSanitizer: data race ../src/router_core/router_core.c:138 in qdr_core_free ==================