Open PerilousApricot opened 8 years ago
WARNING: ThreadSanitizer: destroy of a locked mutex (pid=31427)
#0 pthread_mutex_destroy /home/meloam/llvm/llvm-3.9.0.src/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1135 (globus-gridftp-server+0x00000042c41e)
#1 tbx_pc_destroy /home/meloam/lstore/src/toolbox/pigeon_coop.c:279:5 (libtoolbox.so.0+0x00000001def1)
#2 gop_shutdown /home/meloam/lstore/src/gop/opque.c:129:9 (libgop.so.0+0x0000000235cf)
#3 gop_destruct_fn /home/meloam/lstore/src/gop/constructor.c:31:5 (libgop.so.0+0x00000000d323)
#4 _dl_fini <null> (ld-linux-x86-64.so.2+0x00000000fa19)
#5 globus_l_callback_thread_poll <null> (libglobus_common.so.0+0x00000002517e)
#6 globus_l_thread_pool_thread_start <null> (libglobus_common.so.0+0x000000063084)
#7 thread_starter <null> (libglobus_thread_pthread.so+0x000000003b30)
and:
#0 pthread_mutex_destroy /home/meloam/llvm/llvm-3.9.0.src/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1135 (globus-gridftp-server+0x00000042c41e)
#1 tbx_pc_destroy /home/meloam/lstore/src/toolbox/pigeon_coop.c:279:5 (libtoolbox.so.0+0x00000001def1)
#2 gop_shutdown /home/meloam/lstore/src/gop/opque.c:129:9 (libgop.so.0+0x0000000235cf)
#3 gop_destruct_fn /home/meloam/lstore/src/gop/constructor.c:31:5 (libgop.so.0+0x00000000d323)
#4 _dl_fini <null> (ld-linux-x86-64.so.2+0x00000000fa19)
#5 globus_l_callback_thread_poll <null> (libglobus_common.so.0+0x00000002517e)
#6 globus_l_thread_pool_thread_start <null> (libglobus_common.so.0+0x000000063084)
#7 thread_starter <null> (libglobus_thread_pthread.so+0x000000003b30)
Location is heap block of size 8192 at 0x7d9000004000 allocated by main thread:
#0 malloc /home/meloam/llvm/llvm-3.9.0.src/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:591 (globus-gridftp-server+0x00000044d5cf)
#1 allocator_alloc /home/meloam/lstore/vendor/apr-accre/memory/unix/apr_pools.c:349:17 (liblio.so.0+0x0000001a8ea7)
#2 gop_init_opque_system /home/meloam/lstore/src/gop/opque.c:114:24 (libgop.so.0+0x0000000234da)
#3 gop_construct_fn /home/meloam/lstore/src/gop/constructor.c:27:5 (libgop.so.0+0x00000000d2f5)
#4 _dl_init_internal <null> (ld-linux-x86-64.so.2+0x00000000f3a2)
#5 <null> <null> (libltdl.so.7+0x0000000066a1)
#6 globus_extension_activate <null> (libglobus_common.so.0+0x000000073628)
#7 globus_i_gfs_data_new_dsi <null> (libglobus_gridftp_server.so.6+0x0000000317cb)
#8 globus_i_gfs_data_init <null> (libglobus_gridftp_server.so.6+0x000000031155)
#9 main <null> (globus-gridftp-server+0x0000004acbc2)
Mutex M171 (0x7d90000040a8) created at:
#0 pthread_mutex_init /home/meloam/llvm/llvm-3.9.0.src/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1119 (globus-gridftp-server+0x000000433f55)
#1 apr_thread_mutex_create /home/meloam/lstore/vendor/apr-accre/locks/unix/thread_mutex.c:71:14 (liblio.so.0+0x0000001a8b26)
#2 gop_init_opque_system /home/meloam/lstore/src/gop/opque.c:114:24 (libgop.so.0+0x0000000234da)
#3 gop_construct_fn /home/meloam/lstore/src/gop/constructor.c:27:5 (libgop.so.0+0x00000000d2f5)
#4 _dl_init_internal <null> (ld-linux-x86-64.so.2+0x00000000f3a2)
#5 <null> <null> (libltdl.so.7+0x0000000066a1)
#6 globus_extension_activate <null> (libglobus_common.so.0+0x000000073628)
#7 globus_i_gfs_data_new_dsi <null> (libglobus_gridftp_server.so.6+0x0000000317cb)
#8 globus_i_gfs_data_init <null> (libglobus_gridftp_server.so.6+0x000000031155)
#9 main <null> (globus-gridftp-server+0x0000004acbc2)
SUMMARY: ThreadSanitizer: destroy of a locked mutex /home/meloam/lstore/src/toolbox/pigeon_coop.c:279:5 in tbx_pc_destroy