-
Type:
Build Failure
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Engines, Storage Engines - Foundations
-
SE Foundations - Q4+ Backlog
-
None
-
2
format-stress-test-tsan on amazon2023-arm64-tsan
Host: i-05a0a2522ec29cf52
Project: wiredtiger
Commit: cc311fdb
Please refer to BF(G) Playbook for instructions on handling BF and BFG tickets as well as Auto-Resolution Rules
Task Logs:
format-stress-test-tsan task_log
Logs:
WARNING: ThreadSanitizer: data race (pid=6563)
Write of size 8 at 0xffff889a0830 by thread T76:
#0 __curfile_close /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/cursor/cur_file.c:615:5 (libwiredtiger.so.12.0.0+0x3a4550)
#1 __wt_curhs_cache /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/cursor/cur_hs.c:156:5 (libwiredtiger.so.12.0.0+0x3ad780)
#2 __evict_thread_run /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/evict/evict_lru.c:321:5 (libwiredtiger.so.12.0.0+0x46d2c4)
#3 __thread_run /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/support/thread_group.c:32:9 (libwiredtiger.so.12.0.0+0x760288)
Previous read of size 8 at 0xffff889a0830 by thread T66:
#0 __thread_set_name /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/os_posix/os_thread.c:24:37 (libwiredtiger.so.12.0.0+0x54f7a4)
#1 __wt_thread_create /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/os_posix/os_thread.c:64:9 (libwiredtiger.so.12.0.0+0x54f67c)
#2 __thread_group_resize /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/support/thread_group.c:209:9 (libwiredtiger.so.12.0.0+0x75df48)
#3 __wt_thread_group_create /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/support/thread_group.c:295:5 (libwiredtiger.so.12.0.0+0x75e848)
#4 __wt_evict_threads_create /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/evict/evict_lru.c:600:5 (libwiredtiger.so.12.0.0+0x46d0dc)
#5 __wti_connection_workers /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/conn/conn_open.c:307:5 (libwiredtiger.so.12.0.0+0x33cf80)
#6 wiredtiger_open /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/conn/conn_api.c:3531:5 (libwiredtiger.so.12.0.0+0x2dff00)
#7 wts_open /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/test/format/wts.c:842:9 (t+0x143884)
#8 check_copy /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/test/format/backup.c:51:5 (t+0xffff0)
#9 backup /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/test/format/backup.c:625:9 (t+0xfde50)
Location is heap block of size 398000 at 0xffff8899e000 allocated by thread T66:
#0 calloc /data/mci/f49c90f0be13703fc74cd438c017c2d0/toolchain-builder/tmp/build-llvm-v5.sh-WmZ/llvm-project-llvmorg/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:686:5 (t+0x6c2e4)
#1 __wt_calloc /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/os_common/os_alloc.c:68:14 (libwiredtiger.so.12.0.0+0x533ee0)
#2 __wti_connection_open /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/conn/conn_open.c:25:5 (libwiredtiger.so.12.0.0+0x339984)
#3 wiredtiger_open /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/conn/conn_api.c:3413:5 (libwiredtiger.so.12.0.0+0x2df000)
#4 wts_open /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/test/format/wts.c:842:9 (t+0x143884)
#5 check_copy /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/test/format/backup.c:51:5 (t+0xffff0)
#6 backup /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/test/format/backup.c:625:9 (t+0xfde50)
Thread T76 'eviction-ser 1' (tid=6712, running) created by thread T66 at:
#0 pthread_create /data/mci/f49c90f0be13703fc74cd438c017c2d0/toolchain-builder/tmp/build-llvm-v5.sh-WmZ/llvm-project-llvmorg/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1023:3 (t+0x6e014)
#1 __wt_thread_create /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/os_posix/os_thread.c:60:5 (libwiredtiger.so.12.0.0+0x54f558)
#2 __thread_group_resize /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/support/thread_group.c:209:9 (libwiredtiger.so.12.0.0+0x75df48)
#3 __wt_thread_group_create /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/support/thread_group.c:295:5 (libwiredtiger.so.12.0.0+0x75e848)
#4 __wt_evict_threads_create /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/evict/evict_lru.c:600:5 (libwiredtiger.so.12.0.0+0x46d0dc)
#5 __wti_connection_workers /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/conn/conn_open.c:307:5 (libwiredtiger.so.12.0.0+0x33cf80)
#6 wiredtiger_open /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/conn/conn_api.c:3531:5 (libwiredtiger.so.12.0.0+0x2dff00)
#7 wts_open /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/test/format/wts.c:842:9 (t+0x143884)
#8 check_copy /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/test/format/backup.c:51:5 (t+0xffff0)
#9 backup /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/test/format/backup.c:625:9 (t+0xfde50)
Thread T66 (tid=6697, running) created by main thread at:
#0 pthread_create /data/mci/f49c90f0be13703fc74cd438c017c2d0/toolchain-builder/tmp/build-llvm-v5.sh-WmZ/llvm-project-llvmorg/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1023:3 (t+0x6e014)
#1 __wt_thread_create /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/os_posix/os_thread.c:60:5 (libwiredtiger.so.12.0.0+0x54f558)
#2 operations /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/test/format/ops.c:371:9 (t+0x11b170)
#3 main /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/test/format/t.c:393:13 (t+0x134b90)
format-stress-test-tsan task_log
Logs:
SUMMARY: ThreadSanitizer: data race /data/mci/153c3793a1a55bf6dd957d538bbb3f45/wiredtiger/src/cursor/cur_file.c:615:5 in __curfile_close
format-stress-test-tsan task_log
Logs:
#0 0x0000ffffb1ebf7b4 in __pthread_kill_implementation () from /lib64/libc.so.6 #0 0x0000ffffb1ebf7b4 in __pthread_kill_implementation () from /lib64/libc.so.6 #1 0x0000ffffb1e763a0 [PAC] in raise () from /lib64/libc.so.6 #2 0x0000ffffb1e62264 [PAC] in abort () from /lib64/libc.so.6 #3 0x0000aaaad4696244 [PAC] in ___interceptor_abort () at /data/mci/f49c90f0be13703fc74cd438c017c2d0/toolchain-builder/tmp/build-llvm-v5.sh-WmZ/llvm-project-llvmorg/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1926 #4 0x0000aaaad46742dc in Abort () at /data/mci/f49c90f0be13703fc74cd438c017c2d0/toolchain-builder/tmp/build-llvm-v5.sh-WmZ/llvm-project-llvmorg/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp:163 #5 0x0000aaaad46721c4 in __sanitizer::Die() () at /data/mci/f49c90f0be13703fc74cd438c017c2d0/toolchain-builder/tmp/build-llvm-v5.sh-WmZ/llvm-project-llvmorg/compiler-rt/lib/sanitizer_common/sanitizer_termination.cpp:58 #6 0x0000aaaad46de320 in finalize () at /data/mci/f49c90f0be13703fc74cd438c017c2d0/toolchain-builder/tmp/build-llvm-v5.sh-WmZ/llvm-project-llvmorg/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:2871 #7 0x0000ffffb1e78b58 in __run_exit_handlers () from /lib64/libc.so.6 #8 0x0000ffffb1e78c44 [PAC] in exit () from /lib64/libc.so.6 #9 0x0000ffffb1e6255c [PAC] in __libc_start_call_main () from /lib64/libc.so.6 #10 0x0000ffffb1e6263c [PAC] in __libc_start_main_impl () from /lib64/libc.so.6 #11 0x0000aaaad465d5b0 [PAC] in _start ()
Repro Artifacts: