Console Output
Skipping 1,037 KB..
Full Logarray_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M1 (0x72b4000002c0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Thread T6 (tid=172750, running) created by main thread at:
> #0 pthread_create <null> (weak_array_par.opt+0xb64ab) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_domain_spawn /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1348:9 (weak_array_par.opt+0x1b4804) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x171056) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x1539e2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #11 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #12 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Thread T4 (tid=172748, running) created by main thread at:
> #0 pthread_create <null> (weak_array_par.opt+0xb64ab) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_domain_spawn /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1348:9 (weak_array_par.opt+0x1b4804) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x171056) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x1539e2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #11 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #12 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> SUMMARY: ThreadSanitizer: data race /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 in ephe_clean_minor
> ==================
> ==================
> WARNING: ThreadSanitizer: data race (pid=172742)
> Write of size 8 at 0x72c400000020 by thread T6 (mutexes: write M0):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_stw_empty_minor_heap /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:903:3 (weak_array_par.opt+0x1e4342) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 stw_handler /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1539:3 (weak_array_par.opt+0x1b2c5f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 handle_incoming /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:360:5 (weak_array_par.opt+0x1b2c5f)
> #5 caml_handle_incoming_interrupts /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:373:3 (weak_array_par.opt+0x1b2c5f)
> #6 caml_handle_gc_interrupt /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1950:5 (weak_array_par.opt+0x1b60d4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_alloc_small_dispatch /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:984:7 (weak_array_par.opt+0x1e4484) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_alloc_small /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:164:3 (weak_array_par.opt+0x1a3b74) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 ephe_get_field /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:279:11 (weak_array_par.opt+0x1f7b2b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_ephe_get_key /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:293:10 (weak_array_par.opt+0x1f7be3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_weak_get /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:298:10 (weak_array_par.opt+0x1f7be3)
> #12 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 camlStdlib__Weak$get_393 <null> (weak_array_par.opt+0x19e77b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 camlWeak_array_par$go_325 /tmp/camlasm6d649d.s:100 (weak_array_par.opt+0x136268) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #15 camlStdlib__Domain$body_759 <null> (weak_array_par.opt+0x17113f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #16 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #17 caml_callback_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:206:12 (weak_array_par.opt+0x1b01f3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #18 caml_callback_res /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:321:25 (weak_array_par.opt+0x1b0c6e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #19 domain_thread_func /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1274:21 (weak_array_par.opt+0x1b4bd3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Previous write of size 8 at 0x72c400000020 by main thread (mutexes: write M1):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_stw_empty_minor_heap /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:903:3 (weak_array_par.opt+0x1e4342) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 stw_handler /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1539:3 (weak_array_par.opt+0x1b2c5f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 handle_incoming /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:360:5 (weak_array_par.opt+0x1b2c5f)
> #5 caml_handle_incoming_interrupts /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:373:3 (weak_array_par.opt+0x1b2c5f)
> #6 caml_handle_gc_interrupt /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1950:5 (weak_array_par.opt+0x1b60d4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_alloc_small_dispatch /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:984:7 (weak_array_par.opt+0x1e4484) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_alloc_string /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:183:5 (weak_array_par.opt+0x1a3c9a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_alloc_initialized_string /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:197:18 (weak_array_par.opt+0x1a3d5c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_alloc_sprintf /home/barsac/ci/builds/workspace/sanitizers/runtime/str.c:415:11 (weak_array_par.opt+0x1f3943) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_format_int /home/barsac/ci/builds/workspace/sanitizers/runtime/ints.c (weak_array_par.opt+0x1ccc1c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 camlStdlib$string_of_int_175 <null> (weak_array_par.opt+0x138d7b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 camlWeak_array_par$go_325 /tmp/camlasm6d649d.s:72 (weak_array_par.opt+0x136204) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #15 camlWeak_array_par$entry /tmp/camlasm6d649d.s:333 (weak_array_par.opt+0x1364e3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #16 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #17 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #18 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #19 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #20 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #21 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #22 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Location is heap block of size 80040 at 0x72c400000000 allocated by main thread:
> #0 malloc <null> (weak_array_par.opt+0xb4b5c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 large_allocate /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:470:20 (weak_array_par.opt+0x1ec0f6) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_shared_try_alloc /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:505:9 (weak_array_par.opt+0x1ec0f6)
> #3 alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:423:14 (weak_array_par.opt+0x1db0ff) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:454:10 (weak_array_par.opt+0x1db0ff)
> #5 caml_ephe_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:79:9 (weak_array_par.opt+0x1f6e8a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_weak_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:91:10 (weak_array_par.opt+0x1f6e8a)
> #7 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 camlStdlib__Weak$create_277 <null> (weak_array_par.opt+0x19e56d) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 camlWeak_array_par$entry /tmp/camlasm6d649d.s:305 (weak_array_par.opt+0x136486) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #15 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #16 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M0 (0x72b4000003d0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M1 (0x72b4000000a0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Thread T6 (tid=172750, running) created by main thread at:
> #0 pthread_create <null> (weak_array_par.opt+0xb64ab) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_domain_spawn /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1348:9 (weak_array_par.opt+0x1b4804) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x171056) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x1539e2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #11 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #12 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> SUMMARY: ThreadSanitizer: data race /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 in ephe_clean_minor
> ==================
> ==================
> WARNING: ThreadSanitizer: data race (pid=172742)
> Write of size 8 at 0x72c400000020 by thread T6 (mutexes: write M0):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_empty_minor_heap_no_major_slice_from_stw /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:920:3 (weak_array_par.opt+0x1e35d2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 stw_cycle_all_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/major_gc.c:1607:3 (weak_array_par.opt+0x1d8577) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 stw_handler /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1539:3 (weak_array_par.opt+0x1b2c5f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 handle_incoming /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:360:5 (weak_array_par.opt+0x1b2c5f)
> #6 caml_handle_incoming_interrupts /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:373:3 (weak_array_par.opt+0x1b2c5f)
> #7 caml_handle_gc_interrupt /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1950:5 (weak_array_par.opt+0x1b60d4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_do_pending_actions_res /home/barsac/ci/builds/workspace/sanitizers/runtime/signals.c:338:3 (weak_array_par.opt+0x1efc62) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_alloc_small_dispatch /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:980:31 (weak_array_par.opt+0x1e4494) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_garbage_collection /home/barsac/ci/builds/workspace/sanitizers/runtime/signals_nat.c:86:5 (weak_array_par.opt+0x201527) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_call_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:609 (weak_array_par.opt+0x1fcb81) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 camlWeak_array_par$go_325 /tmp/camlasm6d649d.s:182 (weak_array_par.opt+0x136378) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 camlStdlib__Domain$body_759 <null> (weak_array_par.opt+0x17113f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #15 caml_callback_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:206:12 (weak_array_par.opt+0x1b01f3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #16 caml_callback_res /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:321:25 (weak_array_par.opt+0x1b0c6e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #17 domain_thread_func /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1274:21 (weak_array_par.opt+0x1b4bd3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Previous write of size 8 at 0x72c400000020 by thread T1 (mutexes: write M1):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_empty_minor_heap_no_major_slice_from_stw /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:920:3 (weak_array_par.opt+0x1e35d2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 stw_cycle_all_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/major_gc.c:1607:3 (weak_array_par.opt+0x1d8577) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_try_run_on_all_domains_with_spin_work /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1748:3 (weak_array_par.opt+0x1b5663) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_try_run_on_all_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1770:7 (weak_array_par.opt+0x1b35c0) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 major_collection_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/major_gc.c:2044:9 (weak_array_par.opt+0x1d6154) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_major_collection_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/major_gc.c:2062:5 (weak_array_par.opt+0x1d620b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_poll_gc_work /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1927:5 (weak_array_par.opt+0x1b5f06) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_handle_gc_interrupt /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1954:3 (weak_array_par.opt+0x1b60e3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_alloc_small_dispatch /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:984:7 (weak_array_par.opt+0x1e4484) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_alloc_small /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:164:3 (weak_array_par.opt+0x1a3b74) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 ephe_get_field /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:279:11 (weak_array_par.opt+0x1f7b2b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 caml_ephe_get_key /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:293:10 (weak_array_par.opt+0x1f7be3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 caml_weak_get /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:298:10 (weak_array_par.opt+0x1f7be3)
> #15 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #16 camlStdlib__Weak$get_393 <null> (weak_array_par.opt+0x19e77b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #17 camlWeak_array_par$go_325 /tmp/camlasm6d649d.s:100 (weak_array_par.opt+0x136268) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #18 camlStdlib__Domain$body_759 <null> (weak_array_par.opt+0x17113f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #19 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #20 caml_callback_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:206:12 (weak_array_par.opt+0x1b01f3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #21 caml_callback_res /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:321:25 (weak_array_par.opt+0x1b0c6e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #22 domain_thread_func /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1274:21 (weak_array_par.opt+0x1b4bd3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Location is heap block of size 80040 at 0x72c400000000 allocated by main thread:
> #0 malloc <null> (weak_array_par.opt+0xb4b5c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 large_allocate /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:470:20 (weak_array_par.opt+0x1ec0f6) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_shared_try_alloc /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:505:9 (weak_array_par.opt+0x1ec0f6)
> #3 alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:423:14 (weak_array_par.opt+0x1db0ff) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:454:10 (weak_array_par.opt+0x1db0ff)
> #5 caml_ephe_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:79:9 (weak_array_par.opt+0x1f6e8a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_weak_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:91:10 (weak_array_par.opt+0x1f6e8a)
> #7 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 camlStdlib__Weak$create_277 <null> (weak_array_par.opt+0x19e56d) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 camlWeak_array_par$entry /tmp/camlasm6d649d.s:305 (weak_array_par.opt+0x136486) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #15 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #16 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M0 (0x72b4000003d0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M1 (0x72b4000001b0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Thread T6 (tid=172750, running) created by main thread at:
> #0 pthread_create <null> (weak_array_par.opt+0xb64ab) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_domain_spawn /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1348:9 (weak_array_par.opt+0x1b4804) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x171056) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x1539e2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #11 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #12 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Thread T1 (tid=172745, running) created by main thread at:
> #0 pthread_create <null> (weak_array_par.opt+0xb64ab) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_domain_spawn /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1348:9 (weak_array_par.opt+0x1b4804) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x171056) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x153984) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #11 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #12 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> SUMMARY: ThreadSanitizer: data race /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 in ephe_clean_minor
> ==================
> ==================
> WARNING: ThreadSanitizer: data race (pid=172742)
> Write of size 8 at 0x72c400000020 by thread T6 (mutexes: write M0):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_stw_empty_minor_heap /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:903:3 (weak_array_par.opt+0x1e4342) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 stw_handler /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1539:3 (weak_array_par.opt+0x1b2c5f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 handle_incoming /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:360:5 (weak_array_par.opt+0x1b2c5f)
> #5 caml_handle_incoming_interrupts /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:373:3 (weak_array_par.opt+0x1b2c5f)
> #6 caml_handle_gc_interrupt /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1950:5 (weak_array_par.opt+0x1b60d4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_alloc_small_dispatch /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:984:7 (weak_array_par.opt+0x1e4484) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_alloc_string /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:183:5 (weak_array_par.opt+0x1a3c9a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_alloc_initialized_string /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:197:18 (weak_array_par.opt+0x1a3d5c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_alloc_sprintf /home/barsac/ci/builds/workspace/sanitizers/runtime/str.c:415:11 (weak_array_par.opt+0x1f3943) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_format_int /home/barsac/ci/builds/workspace/sanitizers/runtime/ints.c (weak_array_par.opt+0x1ccc1c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 camlStdlib$string_of_int_175 <null> (weak_array_par.opt+0x138d7b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 camlWeak_array_par$go_325 /tmp/camlasm6d649d.s:72 (weak_array_par.opt+0x136204) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #15 camlStdlib__Domain$body_759 <null> (weak_array_par.opt+0x17113f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #16 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #17 caml_callback_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:206:12 (weak_array_par.opt+0x1b01f3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #18 caml_callback_res /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:321:25 (weak_array_par.opt+0x1b0c6e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #19 domain_thread_func /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1274:21 (weak_array_par.opt+0x1b4bd3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Previous write of size 8 at 0x72c400000020 by main thread (mutexes: write M1):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_stw_empty_minor_heap /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:903:3 (weak_array_par.opt+0x1e4342) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 stw_handler /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1539:3 (weak_array_par.opt+0x1b2c5f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 handle_incoming /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:360:5 (weak_array_par.opt+0x1b2c5f)
> #5 caml_handle_incoming_interrupts /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:373:3 (weak_array_par.opt+0x1b2c5f)
> #6 caml_handle_gc_interrupt /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1950:5 (weak_array_par.opt+0x1b60d4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_do_pending_actions_res /home/barsac/ci/builds/workspace/sanitizers/runtime/signals.c:338:3 (weak_array_par.opt+0x1efc62) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_alloc_small_dispatch /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:980:31 (weak_array_par.opt+0x1e4494) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_garbage_collection /home/barsac/ci/builds/workspace/sanitizers/runtime/signals_nat.c:86:5 (weak_array_par.opt+0x201527) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_call_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:609 (weak_array_par.opt+0x1fcb81) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 camlWeak_array_par$go_325 /tmp/camlasm6d649d.s:182 (weak_array_par.opt+0x136378) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 camlWeak_array_par$entry /tmp/camlasm6d649d.s:333 (weak_array_par.opt+0x1364e3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #15 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #16 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #17 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #18 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #19 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Location is heap block of size 80040 at 0x72c400000000 allocated by main thread:
> #0 malloc <null> (weak_array_par.opt+0xb4b5c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 large_allocate /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:470:20 (weak_array_par.opt+0x1ec0f6) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_shared_try_alloc /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:505:9 (weak_array_par.opt+0x1ec0f6)
> #3 alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:423:14 (weak_array_par.opt+0x1db0ff) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:454:10 (weak_array_par.opt+0x1db0ff)
> #5 caml_ephe_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:79:9 (weak_array_par.opt+0x1f6e8a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_weak_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:91:10 (weak_array_par.opt+0x1f6e8a)
> #7 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 camlStdlib__Weak$create_277 <null> (weak_array_par.opt+0x19e56d) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 camlWeak_array_par$entry /tmp/camlasm6d649d.s:305 (weak_array_par.opt+0x136486) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #15 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #16 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M0 (0x72b4000003d0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M1 (0x72b4000000a0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Thread T6 (tid=172750, running) created by main thread at:
> #0 pthread_create <null> (weak_array_par.opt+0xb64ab) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_domain_spawn /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1348:9 (weak_array_par.opt+0x1b4804) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x171056) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x1539e2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #11 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #12 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> SUMMARY: ThreadSanitizer: data race /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 in ephe_clean_minor
> ==================
> ==================
> WARNING: ThreadSanitizer: data race (pid=172742)
> Write of size 8 at 0x72c400000020 by main thread (mutexes: write M0):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_stw_empty_minor_heap /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:903:3 (weak_array_par.opt+0x1e4342) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 stw_handler /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1539:3 (weak_array_par.opt+0x1b2c5f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 handle_incoming /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:360:5 (weak_array_par.opt+0x1b2c5f)
> #5 caml_handle_incoming_interrupts /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:373:3 (weak_array_par.opt+0x1b2c5f)
> #6 caml_handle_gc_interrupt /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1950:5 (weak_array_par.opt+0x1b60d4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_alloc_small_dispatch /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:984:7 (weak_array_par.opt+0x1e4484) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_alloc_small /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:164:3 (weak_array_par.opt+0x1a3b74) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 ephe_get_field /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:279:11 (weak_array_par.opt+0x1f7b2b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_ephe_get_key /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:293:10 (weak_array_par.opt+0x1f7be3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_weak_get /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:298:10 (weak_array_par.opt+0x1f7be3)
> #12 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 camlStdlib__Weak$get_393 <null> (weak_array_par.opt+0x19e77b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 camlWeak_array_par$go_325 /tmp/camlasm6d649d.s:100 (weak_array_par.opt+0x136268) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #15 camlWeak_array_par$entry /tmp/camlasm6d649d.s:333 (weak_array_par.opt+0x1364e3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #16 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #17 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #18 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #19 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #20 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #21 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #22 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Previous write of size 8 at 0x72c400000020 by thread T6 (mutexes: write M1):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_stw_empty_minor_heap /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:903:3 (weak_array_par.opt+0x1e4342) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_try_run_on_all_domains_with_spin_work /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1748:3 (weak_array_par.opt+0x1b5663) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_try_empty_minor_heap_on_all_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:932:10 (weak_array_par.opt+0x1e43d1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_empty_minor_heaps_once /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:955:5 (weak_array_par.opt+0x1e43d1)
> #6 caml_poll_gc_work /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1921:5 (weak_array_par.opt+0x1b5eae) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_handle_gc_interrupt /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1954:3 (weak_array_par.opt+0x1b60e3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_alloc_small_dispatch /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:984:7 (weak_array_par.opt+0x1e4484) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_alloc_string /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:183:5 (weak_array_par.opt+0x1a3c9a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_alloc_initialized_string /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:197:18 (weak_array_par.opt+0x1a3d5c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_alloc_sprintf /home/barsac/ci/builds/workspace/sanitizers/runtime/str.c:415:11 (weak_array_par.opt+0x1f3943) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_format_int /home/barsac/ci/builds/workspace/sanitizers/runtime/ints.c (weak_array_par.opt+0x1ccc1c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 camlStdlib$string_of_int_175 <null> (weak_array_par.opt+0x138d7b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #15 camlWeak_array_par$go_325 /tmp/camlasm6d649d.s:72 (weak_array_par.opt+0x136204) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #16 camlStdlib__Domain$body_759 <null> (weak_array_par.opt+0x17113f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #17 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #18 caml_callback_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:206:12 (weak_array_par.opt+0x1b01f3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #19 caml_callback_res /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:321:25 (weak_array_par.opt+0x1b0c6e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #20 domain_thread_func /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1274:21 (weak_array_par.opt+0x1b4bd3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Location is heap block of size 80040 at 0x72c400000000 allocated by main thread:
> #0 malloc <null> (weak_array_par.opt+0xb4b5c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 large_allocate /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:470:20 (weak_array_par.opt+0x1ec0f6) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_shared_try_alloc /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:505:9 (weak_array_par.opt+0x1ec0f6)
> #3 alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:423:14 (weak_array_par.opt+0x1db0ff) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:454:10 (weak_array_par.opt+0x1db0ff)
> #5 caml_ephe_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:79:9 (weak_array_par.opt+0x1f6e8a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_weak_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:91:10 (weak_array_par.opt+0x1f6e8a)
> #7 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 camlStdlib__Weak$create_277 <null> (weak_array_par.opt+0x19e56d) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 camlWeak_array_par$entry /tmp/camlasm6d649d.s:305 (weak_array_par.opt+0x136486) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #15 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #16 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M0 (0x72b4000000a0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M1 (0x72b4000003d0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Thread T6 (tid=172750, running) created by main thread at:
> #0 pthread_create <null> (weak_array_par.opt+0xb64ab) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_domain_spawn /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1348:9 (weak_array_par.opt+0x1b4804) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x171056) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x1539e2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #11 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #12 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> SUMMARY: ThreadSanitizer: data race /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 in ephe_clean_minor
> ==================
> ==================
> WARNING: ThreadSanitizer: data race (pid=172742)
> Write of size 8 at 0x72c400000020 by thread T1 (mutexes: write M0):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_empty_minor_heap_no_major_slice_from_stw /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:920:3 (weak_array_par.opt+0x1e35d2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 stw_cycle_all_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/major_gc.c:1607:3 (weak_array_par.opt+0x1d8577) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 stw_handler /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1539:3 (weak_array_par.opt+0x1b2c5f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 handle_incoming /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:360:5 (weak_array_par.opt+0x1b2c5f)
> #6 caml_handle_incoming_interrupts /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:373:3 (weak_array_par.opt+0x1b2c5f)
> #7 caml_handle_gc_interrupt /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1950:5 (weak_array_par.opt+0x1b60d4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_alloc_small_dispatch /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:984:7 (weak_array_par.opt+0x1e4484) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_alloc_small /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:164:3 (weak_array_par.opt+0x1a3b74) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 ephe_get_field /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:279:11 (weak_array_par.opt+0x1f7b2b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_ephe_get_key /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:293:10 (weak_array_par.opt+0x1f7be3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_weak_get /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:298:10 (weak_array_par.opt+0x1f7be3)
> #13 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 camlStdlib__Weak$get_393 <null> (weak_array_par.opt+0x19e77b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #15 camlWeak_array_par$go_325 /tmp/camlasm6d649d.s:100 (weak_array_par.opt+0x136268) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #16 camlStdlib__Domain$body_759 <null> (weak_array_par.opt+0x17113f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #17 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #18 caml_callback_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:206:12 (weak_array_par.opt+0x1b01f3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #19 caml_callback_res /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:321:25 (weak_array_par.opt+0x1b0c6e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #20 domain_thread_func /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1274:21 (weak_array_par.opt+0x1b4bd3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Previous write of size 8 at 0x72c400000020 by thread T6 (mutexes: write M1):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_empty_minor_heap_no_major_slice_from_stw /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:920:3 (weak_array_par.opt+0x1e35d2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 stw_cycle_all_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/major_gc.c:1607:3 (weak_array_par.opt+0x1d8577) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 stw_handler /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1539:3 (weak_array_par.opt+0x1b2c5f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 handle_incoming /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:360:5 (weak_array_par.opt+0x1b2c5f)
> #6 caml_handle_incoming_interrupts /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:373:3 (weak_array_par.opt+0x1b2c5f)
> #7 caml_handle_gc_interrupt /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1950:5 (weak_array_par.opt+0x1b60d4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_alloc_small_dispatch /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:984:7 (weak_array_par.opt+0x1e4484) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_alloc_string /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:183:5 (weak_array_par.opt+0x1a3c9a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_alloc_initialized_string /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:197:18 (weak_array_par.opt+0x1a3d5c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_alloc_sprintf /home/barsac/ci/builds/workspace/sanitizers/runtime/str.c:415:11 (weak_array_par.opt+0x1f3943) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_format_int /home/barsac/ci/builds/workspace/sanitizers/runtime/ints.c (weak_array_par.opt+0x1ccc1c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 camlStdlib$string_of_int_175 <null> (weak_array_par.opt+0x138d7b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #15 camlWeak_array_par$go_325 /tmp/camlasm6d649d.s:72 (weak_array_par.opt+0x136204) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #16 camlStdlib__Domain$body_759 <null> (weak_array_par.opt+0x17113f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #17 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #18 caml_callback_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:206:12 (weak_array_par.opt+0x1b01f3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #19 caml_callback_res /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:321:25 (weak_array_par.opt+0x1b0c6e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #20 domain_thread_func /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1274:21 (weak_array_par.opt+0x1b4bd3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Location is heap block of size 80040 at 0x72c400000000 allocated by main thread:
> #0 malloc <null> (weak_array_par.opt+0xb4b5c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 large_allocate /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:470:20 (weak_array_par.opt+0x1ec0f6) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_shared_try_alloc /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:505:9 (weak_array_par.opt+0x1ec0f6)
> #3 alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:423:14 (weak_array_par.opt+0x1db0ff) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:454:10 (weak_array_par.opt+0x1db0ff)
> #5 caml_ephe_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:79:9 (weak_array_par.opt+0x1f6e8a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_weak_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:91:10 (weak_array_par.opt+0x1f6e8a)
> #7 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 camlStdlib__Weak$create_277 <null> (weak_array_par.opt+0x19e56d) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 camlWeak_array_par$entry /tmp/camlasm6d649d.s:305 (weak_array_par.opt+0x136486) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #15 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #16 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M0 (0x72b4000001b0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M1 (0x72b4000003d0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Thread T1 (tid=172745, running) created by main thread at:
> #0 pthread_create <null> (weak_array_par.opt+0xb64ab) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_domain_spawn /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1348:9 (weak_array_par.opt+0x1b4804) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x171056) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x153984) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #11 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #12 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Thread T6 (tid=172750, running) created by main thread at:
> #0 pthread_create <null> (weak_array_par.opt+0xb64ab) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_domain_spawn /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1348:9 (weak_array_par.opt+0x1b4804) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x171056) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x1539e2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #11 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #12 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> SUMMARY: ThreadSanitizer: data race /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 in ephe_clean_minor
> ==================
> ==================
> WARNING: ThreadSanitizer: data race (pid=172742)
> Write of size 8 at 0x72c400000020 by thread T6 (mutexes: write M0):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_stw_empty_minor_heap /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:903:3 (weak_array_par.opt+0x1e4342) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 stw_handler /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1539:3 (weak_array_par.opt+0x1b2c5f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 handle_incoming /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:360:5 (weak_array_par.opt+0x1b2c5f)
> #5 caml_handle_incoming_interrupts /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:373:3 (weak_array_par.opt+0x1b2c5f)
> #6 caml_handle_gc_interrupt /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1950:5 (weak_array_par.opt+0x1b60d4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_do_pending_actions_res /home/barsac/ci/builds/workspace/sanitizers/runtime/signals.c:338:3 (weak_array_par.opt+0x1efc62) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_alloc_small_dispatch /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:980:31 (weak_array_par.opt+0x1e4494) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_garbage_collection /home/barsac/ci/builds/workspace/sanitizers/runtime/signals_nat.c:86:5 (weak_array_par.opt+0x201527) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_call_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:609 (weak_array_par.opt+0x1fcb81) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 camlWeak_array_par$go_325 /tmp/camlasm6d649d.s:182 (weak_array_par.opt+0x136378) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 camlStdlib__Domain$body_759 <null> (weak_array_par.opt+0x17113f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 caml_callback_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:206:12 (weak_array_par.opt+0x1b01f3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #15 caml_callback_res /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:321:25 (weak_array_par.opt+0x1b0c6e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #16 domain_thread_func /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1274:21 (weak_array_par.opt+0x1b4bd3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Previous write of size 8 at 0x72c400000020 by thread T1 (mutexes: write M1, write M2):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_stw_empty_minor_heap /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:903:3 (weak_array_par.opt+0x1e4342) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_try_run_on_all_domains_with_spin_work /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1748:3 (weak_array_par.opt+0x1b5663) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_try_empty_minor_heap_on_all_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:932:10 (weak_array_par.opt+0x1e43d1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_empty_minor_heaps_once /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:955:5 (weak_array_par.opt+0x1e43d1)
> #6 caml_domain_terminate /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:2071:5 (weak_array_par.opt+0x1b66e5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 domain_thread_func /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1278:5 (weak_array_par.opt+0x1b4dee) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Location is heap block of size 80040 at 0x72c400000000 allocated by main thread:
> #0 malloc <null> (weak_array_par.opt+0xb4b5c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 large_allocate /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:470:20 (weak_array_par.opt+0x1ec0f6) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_shared_try_alloc /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:505:9 (weak_array_par.opt+0x1ec0f6)
> #3 alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:423:14 (weak_array_par.opt+0x1db0ff) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:454:10 (weak_array_par.opt+0x1db0ff)
> #5 caml_ephe_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:79:9 (weak_array_par.opt+0x1f6e8a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_weak_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:91:10 (weak_array_par.opt+0x1f6e8a)
> #7 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 camlStdlib__Weak$create_277 <null> (weak_array_par.opt+0x19e56d) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 camlWeak_array_par$entry /tmp/camlasm6d649d.s:305 (weak_array_par.opt+0x136486) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #15 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #16 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M0 (0x72b4000003d0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M1 (0x72b4000001b0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M2 (0x720c000001e0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 sync_mutex_create /home/barsac/ci/builds/workspace/sanitizers/runtime/sync_posix.h:44:8 (weak_array_par.opt+0x1f3bc2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_ml_mutex_new /home/barsac/ci/builds/workspace/sanitizers/runtime/sync.c:98:20 (weak_array_par.opt+0x1f3bc2)
> #3 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x170fd2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x153984) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #12 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #13 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Thread T6 (tid=172750, running) created by main thread at:
> #0 pthread_create <null> (weak_array_par.opt+0xb64ab) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_domain_spawn /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1348:9 (weak_array_par.opt+0x1b4804) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x171056) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x1539e2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #11 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #12 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Thread T1 (tid=172745, running) created by main thread at:
> #0 pthread_create <null> (weak_array_par.opt+0xb64ab) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_domain_spawn /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1348:9 (weak_array_par.opt+0x1b4804) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x171056) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x153984) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #11 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #12 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> SUMMARY: ThreadSanitizer: data race /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 in ephe_clean_minor
> ==================
> ==================
> WARNING: ThreadSanitizer: data race (pid=172742)
> Write of size 8 at 0x72c400000020 by main thread (mutexes: write M0):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_stw_empty_minor_heap /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:903:3 (weak_array_par.opt+0x1e4342) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 stw_handler /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1539:3 (weak_array_par.opt+0x1b2c5f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 handle_incoming /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:360:5 (weak_array_par.opt+0x1b2c5f)
> #5 caml_handle_incoming_interrupts /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:373:3 (weak_array_par.opt+0x1b2c5f)
> #6 caml_handle_gc_interrupt /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1950:5 (weak_array_par.opt+0x1b60d4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_alloc_small_dispatch /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:984:7 (weak_array_par.opt+0x1e4484) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_alloc_small /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:164:3 (weak_array_par.opt+0x1a3b74) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 ephe_get_field /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:279:11 (weak_array_par.opt+0x1f7b2b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_ephe_get_key /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:293:10 (weak_array_par.opt+0x1f7be3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_weak_get /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:298:10 (weak_array_par.opt+0x1f7be3)
> #12 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 camlStdlib__Weak$get_393 <null> (weak_array_par.opt+0x19e77b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 camlWeak_array_par$go_325 /tmp/camlasm6d649d.s:100 (weak_array_par.opt+0x136268) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #15 camlWeak_array_par$entry /tmp/camlasm6d649d.s:333 (weak_array_par.opt+0x1364e3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #16 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #17 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #18 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #19 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #20 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #21 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #22 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Previous write of size 8 at 0x72c400000020 by thread T1 (mutexes: write M1, write M2):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_stw_empty_minor_heap /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:903:3 (weak_array_par.opt+0x1e4342) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_try_run_on_all_domains_with_spin_work /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1748:3 (weak_array_par.opt+0x1b5663) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_try_empty_minor_heap_on_all_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:932:10 (weak_array_par.opt+0x1e43d1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_empty_minor_heaps_once /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:955:5 (weak_array_par.opt+0x1e43d1)
> #6 caml_domain_terminate /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:2071:5 (weak_array_par.opt+0x1b66e5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 domain_thread_func /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1278:5 (weak_array_par.opt+0x1b4dee) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Location is heap block of size 80040 at 0x72c400000000 allocated by main thread:
> #0 malloc <null> (weak_array_par.opt+0xb4b5c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 large_allocate /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:470:20 (weak_array_par.opt+0x1ec0f6) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_shared_try_alloc /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:505:9 (weak_array_par.opt+0x1ec0f6)
> #3 alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:423:14 (weak_array_par.opt+0x1db0ff) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:454:10 (weak_array_par.opt+0x1db0ff)
> #5 caml_ephe_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:79:9 (weak_array_par.opt+0x1f6e8a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_weak_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:91:10 (weak_array_par.opt+0x1f6e8a)
> #7 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 camlStdlib__Weak$create_277 <null> (weak_array_par.opt+0x19e56d) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 camlWeak_array_par$entry /tmp/camlasm6d649d.s:305 (weak_array_par.opt+0x136486) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #15 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #16 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M0 (0x72b4000000a0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M1 (0x72b4000001b0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M2 (0x720c000001e0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 sync_mutex_create /home/barsac/ci/builds/workspace/sanitizers/runtime/sync_posix.h:44:8 (weak_array_par.opt+0x1f3bc2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_ml_mutex_new /home/barsac/ci/builds/workspace/sanitizers/runtime/sync.c:98:20 (weak_array_par.opt+0x1f3bc2)
> #3 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x170fd2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x153984) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #12 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #13 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Thread T1 (tid=172745, running) created by main thread at:
> #0 pthread_create <null> (weak_array_par.opt+0xb64ab) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_domain_spawn /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1348:9 (weak_array_par.opt+0x1b4804) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x171056) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x153984) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #11 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #12 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> SUMMARY: ThreadSanitizer: data race /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 in ephe_clean_minor
> ==================
> ==================
> WARNING: ThreadSanitizer: data race (pid=172742)
> Write of size 8 at 0x72c400000020 by thread T4 (mutexes: write M0, write M1):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_stw_empty_minor_heap /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:903:3 (weak_array_par.opt+0x1e4342) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_try_run_on_all_domains_with_spin_work /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1748:3 (weak_array_par.opt+0x1b5663) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_try_empty_minor_heap_on_all_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:932:10 (weak_array_par.opt+0x1e43d1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_empty_minor_heaps_once /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:955:5 (weak_array_par.opt+0x1e43d1)
> #6 caml_domain_terminate /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:2071:5 (weak_array_par.opt+0x1b66e5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 domain_thread_func /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1278:5 (weak_array_par.opt+0x1b4dee) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Previous write of size 8 at 0x72c400000020 by main thread (mutexes: write M2):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_stw_empty_minor_heap /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:903:3 (weak_array_par.opt+0x1e4342) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 stw_handler /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1539:3 (weak_array_par.opt+0x1b2c5f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 handle_incoming /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:360:5 (weak_array_par.opt+0x1b2c5f)
> #5 caml_handle_incoming_interrupts /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:373:3 (weak_array_par.opt+0x1b2c5f)
> #6 caml_handle_gc_interrupt /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1950:5 (weak_array_par.opt+0x1b60d4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_alloc_small_dispatch /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:984:7 (weak_array_par.opt+0x1e4484) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_alloc_string /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:183:5 (weak_array_par.opt+0x1a3c9a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_alloc_initialized_string /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:197:18 (weak_array_par.opt+0x1a3d5c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_alloc_sprintf /home/barsac/ci/builds/workspace/sanitizers/runtime/str.c:415:11 (weak_array_par.opt+0x1f3943) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_format_int /home/barsac/ci/builds/workspace/sanitizers/runtime/ints.c (weak_array_par.opt+0x1ccc1c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 camlStdlib$string_of_int_175 <null> (weak_array_par.opt+0x138d7b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 camlWeak_array_par$go_325 /tmp/camlasm6d649d.s:72 (weak_array_par.opt+0x136204) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #15 camlWeak_array_par$entry /tmp/camlasm6d649d.s:333 (weak_array_par.opt+0x1364e3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #16 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #17 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #18 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #19 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #20 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #21 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #22 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Location is heap block of size 80040 at 0x72c400000000 allocated by main thread:
> #0 malloc <null> (weak_array_par.opt+0xb4b5c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 large_allocate /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:470:20 (weak_array_par.opt+0x1ec0f6) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_shared_try_alloc /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:505:9 (weak_array_par.opt+0x1ec0f6)
> #3 alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:423:14 (weak_array_par.opt+0x1db0ff) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:454:10 (weak_array_par.opt+0x1db0ff)
> #5 caml_ephe_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:79:9 (weak_array_par.opt+0x1f6e8a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_weak_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:91:10 (weak_array_par.opt+0x1f6e8a)
> #7 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 camlStdlib__Weak$create_277 <null> (weak_array_par.opt+0x19e56d) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 camlWeak_array_par$entry /tmp/camlasm6d649d.s:305 (weak_array_par.opt+0x136486) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #15 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #16 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M0 (0x72b4000002c0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M1 (0x720c00000270) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 sync_mutex_create /home/barsac/ci/builds/workspace/sanitizers/runtime/sync_posix.h:44:8 (weak_array_par.opt+0x1f3bc2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_ml_mutex_new /home/barsac/ci/builds/workspace/sanitizers/runtime/sync.c:98:20 (weak_array_par.opt+0x1f3bc2)
> #3 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x170fd2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x1539e2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #12 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #13 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M2 (0x72b4000000a0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Thread T4 (tid=172748, running) created by main thread at:
> #0 pthread_create <null> (weak_array_par.opt+0xb64ab) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_domain_spawn /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1348:9 (weak_array_par.opt+0x1b4804) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x171056) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x1539e2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #11 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #12 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> SUMMARY: ThreadSanitizer: data race /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 in ephe_clean_minor
> ==================
> ==================
> WARNING: ThreadSanitizer: data race (pid=172742)
> Write of size 8 at 0x72c400000020 by main thread (mutexes: write M0):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_stw_empty_minor_heap /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:903:3 (weak_array_par.opt+0x1e4342) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_try_run_on_all_domains_with_spin_work /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1748:3 (weak_array_par.opt+0x1b5663) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_try_empty_minor_heap_on_all_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:932:10 (weak_array_par.opt+0x1e43d1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_empty_minor_heaps_once /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:955:5 (weak_array_par.opt+0x1e43d1)
> #6 caml_poll_gc_work /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1921:5 (weak_array_par.opt+0x1b5eae) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_handle_gc_interrupt /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1954:3 (weak_array_par.opt+0x1b60e3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_alloc_small_dispatch /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:984:7 (weak_array_par.opt+0x1e4484) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_alloc_small /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:164:3 (weak_array_par.opt+0x1a3b74) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 ephe_get_field /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:279:11 (weak_array_par.opt+0x1f7b2b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_ephe_get_key /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:293:10 (weak_array_par.opt+0x1f7be3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_weak_get /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:298:10 (weak_array_par.opt+0x1f7be3)
> #13 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 camlStdlib__Weak$get_393 <null> (weak_array_par.opt+0x19e77b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #15 camlWeak_array_par$go_325 /tmp/camlasm6d649d.s:100 (weak_array_par.opt+0x136268) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #16 camlWeak_array_par$entry /tmp/camlasm6d649d.s:333 (weak_array_par.opt+0x1364e3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #17 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #18 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #19 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #20 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #21 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #22 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #23 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Previous write of size 8 at 0x72c400000020 by thread T6 (mutexes: write M1):
> #0 ephe_clean_minor /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 (weak_array_par.opt+0x1e3f1f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_stw_empty_minor_heap_no_major_slice /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:870:5 (weak_array_par.opt+0x1e3f1f)
> #2 caml_stw_empty_minor_heap /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:903:3 (weak_array_par.opt+0x1e4342) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 stw_handler /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1539:3 (weak_array_par.opt+0x1b2c5f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 handle_incoming /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:360:5 (weak_array_par.opt+0x1b2c5f)
> #5 caml_handle_incoming_interrupts /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:373:3 (weak_array_par.opt+0x1b2c5f)
> #6 caml_handle_gc_interrupt /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1950:5 (weak_array_par.opt+0x1b60d4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_alloc_small_dispatch /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:984:7 (weak_array_par.opt+0x1e4484) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_alloc_small /home/barsac/ci/builds/workspace/sanitizers/runtime/alloc.c:164:3 (weak_array_par.opt+0x1a3b74) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 ephe_get_field /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:279:11 (weak_array_par.opt+0x1f7b2b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_ephe_get_key /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:293:10 (weak_array_par.opt+0x1f7be3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_weak_get /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:298:10 (weak_array_par.opt+0x1f7be3)
> #12 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 camlStdlib__Weak$get_393 <null> (weak_array_par.opt+0x19e77b) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 camlWeak_array_par$go_325 /tmp/camlasm6d649d.s:100 (weak_array_par.opt+0x136268) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #15 camlStdlib__Domain$body_759 <null> (weak_array_par.opt+0x17113f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #16 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #17 caml_callback_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:206:12 (weak_array_par.opt+0x1b01f3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #18 caml_callback_res /home/barsac/ci/builds/workspace/sanitizers/runtime/callback.c:321:25 (weak_array_par.opt+0x1b0c6e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #19 domain_thread_func /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1274:21 (weak_array_par.opt+0x1b4bd3) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Location is heap block of size 80040 at 0x72c400000000 allocated by main thread:
> #0 malloc <null> (weak_array_par.opt+0xb4b5c) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 large_allocate /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:470:20 (weak_array_par.opt+0x1ec0f6) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_shared_try_alloc /home/barsac/ci/builds/workspace/sanitizers/runtime/shared_heap.c:505:9 (weak_array_par.opt+0x1ec0f6)
> #3 alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:423:14 (weak_array_par.opt+0x1db0ff) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_alloc_shr /home/barsac/ci/builds/workspace/sanitizers/runtime/memory.c:454:10 (weak_array_par.opt+0x1db0ff)
> #5 caml_ephe_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:79:9 (weak_array_par.opt+0x1f6e8a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_weak_create /home/barsac/ci/builds/workspace/sanitizers/runtime/weak.c:91:10 (weak_array_par.opt+0x1f6e8a)
> #7 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 camlStdlib__Weak$create_277 <null> (weak_array_par.opt+0x19e56d) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 camlWeak_array_par$entry /tmp/camlasm6d649d.s:305 (weak_array_par.opt+0x136486) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #11 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #12 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #13 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #14 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #15 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #16 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M0 (0x72b4000000a0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Mutex M1 (0x72b4000003d0) created at:
> #0 pthread_mutex_init <null> (weak_array_par.opt+0xb7c9f) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_plat_mutex_init /home/barsac/ci/builds/workspace/sanitizers/runtime/platform.c:59:8 (weak_array_par.opt+0x1e76f1) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_init_domains /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:997:5 (weak_array_par.opt+0x1b3b4a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 caml_init_gc /home/barsac/ci/builds/workspace/sanitizers/runtime/gc_ctrl.c:359:3 (weak_array_par.opt+0x1c4de4) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:106:3 (weak_array_par.opt+0x1fc54e) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #7 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #8 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> Thread T6 (tid=172750, running) created by main thread at:
> #0 pthread_create <null> (weak_array_par.opt+0xb64ab) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #1 caml_domain_spawn /home/barsac/ci/builds/workspace/sanitizers/runtime/domain.c:1348:9 (weak_array_par.opt+0x1b4804) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #2 caml_c_call /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:708 (weak_array_par.opt+0x1fcdd7) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #3 camlStdlib__Domain$spawn_754 <null> (weak_array_par.opt+0x171056) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #4 camlStdlib__Array$init_295 <null> (weak_array_par.opt+0x1539e2) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #5 camlWeak_array_par$entry /tmp/camlasm6d649d.s:329 (weak_array_par.opt+0x1364d5) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #6 caml_program /tmp/camlstartup392899.s:163 (weak_array_par.opt+0x133979) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #7 caml_start_program /home/barsac/ci/builds/workspace/sanitizers/runtime/amd64.S:858 (weak_array_par.opt+0x1fcefb) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #8 caml_startup_common /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:127:9 (weak_array_par.opt+0x1fc67a) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #9 caml_startup_exn /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:134:10 (weak_array_par.opt+0x1fc737) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
> #10 caml_startup /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:139:15 (weak_array_par.opt+0x1fc737)
> #11 caml_main /home/barsac/ci/builds/workspace/sanitizers/runtime/startup_nat.c:146:3 (weak_array_par.opt+0x1fc737)
> #12 main /home/barsac/ci/builds/workspace/sanitizers/runtime/main.c:37:3 (weak_array_par.opt+0x1d3b95) (BuildId: 127c28b754f42d36fa79f7c0a42cef60201f3ef0)
>
> SUMMARY: ThreadSanitizer: data race /home/barsac/ci/builds/workspace/sanitizers/runtime/minor_gc.c:761:27 in ephe_clean_minor
> ==================
> ok
> ThreadSanitizer: reported 57 warnings
> ### end stdout ###
> Action 4/8 (run) => failed (Running program /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlopt.byte/weak_array_par.opt without any argument: command
> /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlopt.byte/weak_array_par.opt
> failed with exit code 66)
> Running test bytecode with 9 actions
>
> Running action 1/9 (setup-ocamlc.byte-build-env)
> Action 1/9 (setup-ocamlc.byte-build-env) => passed
>
> Running action 2/9 (ocamlc.byte)
> Compiling program /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.byte/weak_array_par.byte from modules weak_array_par.ml
> Commandline: /home/barsac/ci/builds/workspace/sanitizers/runtime/ocamlrun /home/barsac/ci/builds/workspace/sanitizers/ocamlc -use-runtime /home/barsac/ci/builds/workspace/sanitizers/runtime/ocamlrun -I /home/barsac/ci/builds/workspace/sanitizers/runtime -nostdlib -I /home/barsac/ci/builds/workspace/sanitizers/stdlib -o /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.byte/weak_array_par.byte weak_array_par.ml
> Redirecting stdout to /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.byte/ocamlc.byte.output
> Redirecting stderr to /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.byte/ocamlc.byte.output
> Action 2/9 (ocamlc.byte) => passed
>
> Running action 3/9 (check-ocamlc.byte-output)
> Comparing compiler output /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.byte/ocamlc.byte.output to reference /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/weak_array_par.compilers.reference
> Action 3/9 (check-ocamlc.byte-output) => passed
>
> Running action 4/9 (run)
> Commandline: /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.byte/weak_array_par.byte
> Redirecting stdout to /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.byte/weak_array_par.byte.output
> Redirecting stderr to /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.byte/weak_array_par.byte.output
> ### begin stdout ###
> ok
> ### end stdout ###
> Action 4/9 (run) => passed
>
> Running action 5/9 (check-program-output)
> Comparing program output /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.byte/weak_array_par.byte.output to reference /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/weak_array_par.reference
> Action 5/9 (check-program-output) => passed
>
> Running action 6/9 (setup-ocamlc.opt-build-env)
> Action 6/9 (setup-ocamlc.opt-build-env) => passed
>
> Running action 7/9 (ocamlc.opt)
> Compiling program /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.opt/weak_array_par.byte from modules weak_array_par.ml
> Commandline: /home/barsac/ci/builds/workspace/sanitizers/ocamlc.opt -use-runtime /home/barsac/ci/builds/workspace/sanitizers/runtime/ocamlrun -I /home/barsac/ci/builds/workspace/sanitizers/runtime -nostdlib -I /home/barsac/ci/builds/workspace/sanitizers/stdlib -o /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.opt/weak_array_par.byte weak_array_par.ml
> Redirecting stdout to /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.opt/ocamlc.opt.output
> Redirecting stderr to /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.opt/ocamlc.opt.output
> Action 7/9 (ocamlc.opt) => passed
>
> Running action 8/9 (check-ocamlc.opt-output)
> Comparing compiler output /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.opt/ocamlc.opt.output to reference /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/weak_array_par.compilers.reference
> Action 8/9 (check-ocamlc.opt-output) => passed
>
> Running action 9/9 (compare-bytecode-programs)
> Comparing bytecode programs /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.byte/weak_array_par.byte and /home/barsac/ci/builds/workspace/sanitizers/testsuite/tests/weak-ephe-final/_ocamltest/tests/weak-ephe-final/weak_array_par/ocamlc.opt/weak_array_par.byte
> Action 9/9 (compare-bytecode-programs) => passed
... testing 'weaklifetime.ml' => passed
... testing 'weaklifetime2.ml' => passed
... testing 'weaktest.ml' => passed
... testing 'weaktest_par_load.ml' => passed
Running tests from 'tests/win-unicode' ...
... testing 'mltest.ml' => skipped
make[1]: Entering directory '/home/barsac/ci/builds/workspace/sanitizers/testsuite'
List of skipped tests:
tests/afl-instrumentation
tests/arch-power
tests/asmcomp/lift_mutable_let_flambda.ml
tests/asmcomp/unrolling_flambda.ml
tests/asmcomp/unrolling_flambda2.ml
tests/asmgen/integr.cmm
tests/asmgen/soli.cmm
tests/atomic-locs/cmm.ml
tests/backtrace/pr2195.ml
tests/callback/test3.ml
tests/ephe-c-api
tests/flambda/afl_lazy.ml
tests/flambda/specialise.ml
tests/frame-pointers
tests/letrec-check/no_flat_float_array.ml
tests/lf_skiplist/test_parallel.ml
tests/lib-bigarray-2/bigarrfml.ml
tests/lib-dynlink-csharp
tests/lib-marshal/intext_par.ml
tests/lib-systhreads/boundscheck.ml
tests/lib-systhreads/test_c_thread_register.ml
tests/lib-systhreads/testfork.ml
tests/lib-threads/mutex_errors.ml
tests/lib-unix/isatty/isatty_tty.ml
tests/lib-unix/unix-execvpe
tests/lib-unix/win-channel-of
tests/lib-unix/win-createprocess
tests/lib-unix/win-env
tests/lib-unix/win-socketpair
tests/lib-unix/win-stat
tests/lib-unix/win-symlink
tests/manual-intf-c
tests/memory-model
tests/misc/pr7168.ml
tests/native-debugger
tests/output-complete-obj/test.ml
tests/parallel/catch_break.ml
tests/parallel/pingpong.ml
tests/regression/pr9853
tests/runtime-errors/stackoverflow.ml
tests/typing-misc/pr6939-no-flat-float-array.ml
tests/typing-unboxed-types/test_no_flat.ml
tests/unwind
tests/win-unicode
List of failed tests:
tests/weak-ephe-final/weak_array_par.ml
Summary:
1449 tests passed
60 tests skipped
1 tests failed
0 tests not started (parent test skipped or failed)
0 unexpected errors
1510 tests considered
#### Something failed. Exiting with error status.
make[1]: *** [Makefile:329: report] Error 4
make[1]: Leaving directory '/home/barsac/ci/builds/workspace/sanitizers/testsuite'
make: *** [Makefile:230: parallel-*] Error 2
make: Leaving directory '/home/barsac/ci/builds/workspace/sanitizers/testsuite'