Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Darwin/ARM64: Julia freezes on nested @threads loops #41820

Closed
hexaeder opened this issue Aug 7, 2021 · 33 comments
Closed

Darwin/ARM64: Julia freezes on nested @threads loops #41820

hexaeder opened this issue Aug 7, 2021 · 33 comments
Labels
multithreading Base.Threads and related functionality system:apple silicon Affects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chips system:mac Affects only macOS

Comments

@hexaeder
Copy link
Contributor

hexaeder commented Aug 7, 2021

The arm64 native 1.7-beta3 sometimes hangs on nested threaded loops.

MWE:

using Base.Threads: @threads

function foo()
    @threads for i in 1:10
        bar()
    end
end

function bar()
    @threads for i in 1:10
        rand(100)
    end
end

for i in 1:1000
    println(i)
    for j in 1:10000
        foo()
    end
end

Hangs for me after ~20-500 printed numbers. The non-minimal code was ^C-interruptable with the following stacktrace:

ERROR: InterruptException:
Stacktrace:
  [1] poptask(W::Base.InvasiveLinkedListSynchronized{Task})
    @ Base ./task.jl:814
  [2] wait
    @ ./task.jl:822 [inlined]
  [3] wait(c::Base.GenericCondition{Base.Threads.SpinLock})
    @ Base ./condition.jl:112
  [4] _wait(t::Task)
    @ Base ./task.jl:293
  [5] wait
    @ ./task.jl:320 [inlined]
  [6] threading_run(func::Function)
    @ Base.Threads ./threadingconstructs.jl:38
  [7] macro expansion
    @ ./threadingconstructs.jl:97 [inlined]
julia> versioninfo()
Julia Version 1.7.0-beta3
Commit e76c9dad42* (2021-07-07 08:12 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin20.5.0)
  CPU: Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.0 (ORCJIT, cyclone)

ref #36617 (comment)

@brett-mahar
Copy link

Since I also have an ARM-based computer (PinebookPro/Rockchip), I tried out this MWE on
julia> versioninfo()
Julia Version 1.8.0-DEV.310
Commit cb30aa7 (2021-08-06 03:11 UTC)
Platform Info:
OS: Linux (aarch64-unknown-linux-gnu)
CPU: unknown
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, cortex-a72)
Environment:
JULIA_EDITOR = /usr/bin/vi
JULIA_BINDIR = /home/brett/.julia/julia-2021-08-07/bin/

The script made it all the way to 1000 with no issue (I use scripts with #!/usr/bin/env julia
as I find REPLs cumbersome).

Only thing I noticed was this ran surprisingly slowly and maxed out 1 core.

Looping in main loop for i in 1:50 with @threads:
0m51.10s real 0m49.10s user 0m02.22s system

Looping in main loop for i in 1:50 with @threads removed:
0m40.40s real 0m39.46s user 0m01.22s system

@hexaeder
Copy link
Contributor Author

hexaeder commented Aug 8, 2021

Did you start Julia with more than one thread?Maybe run your script with julia -t 4

@giordano
Copy link
Contributor

giordano commented Aug 9, 2021

I can confirm the issue on the M1. CPU usage in Activity Monitor goes to 0, it looks like a deadlock.

@brett-mahar I think you're only seeing overhead of Threads.@threads (and I agree with @hexaeder that maybe you are using a single thread)

@IanButterworth IanButterworth added system:apple silicon Affects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chips multithreading Base.Threads and related functionality labels Aug 9, 2021
@brett-mahar
Copy link

Hi @hexaeder @giordano

You are both right, I didn't know about the -t command line flag

using ```#!/home/brett/.julia/julia-2021-08-07/bin/julia -t 4`` at the shebang line, htop confirms multiple cores in use:
Looping in main loop for i in 1:50 with @threads:
1m16.40s real 3m01.47s user 1m04.79s system
Looping in main loop for i in 1:50 with @threads removed:
0m38.44s real 0m37.51s user 0m01.24s system

My comment was unclear, it wasn't the overhead of @threads that I found surprisingly slow, I was referring to both versions, with and without @threads (we only have a rand(100) and a println(i) inside the loops, that's what I thought would have been faster :-) ).

Anyway, I used julia -t 4 I tried the original for i in 1:1000 and again made it to 1000. M1 is definitely looking like the culprit.

Here is the MWE in @code_native
It may or may not be useful to compare this to the M1 version:

julia> @code_native binary=true debuginfo=:default include("/home/brett/.JULIA-LANGUAGE/threads-MWE.jl")
.text
; code origin: 0000ffff5c378da0, code size: 80
; ┌ @ client.jl:449 within include
; 8da0: d100c3ff
sub sp, sp, #48 // =48
; 8da4: f90017e1
str x1, [sp, #40]
; 8da8: f9400028
ldr x8, [x1]
; 8dac: d28bd809
mov x9, #24256
; 8db0: f2ae41e9
movk x9, #29199, lsl #16
; 8db4: f2dfffe9
movk x9, #65535, lsl #32
; 8db8: d29c6c0a
mov x10, #58208
; 8dbc: f2ae21aa
movk x10, #28941, lsl #16
; 8dc0: f2dfffea
movk x10, #65535, lsl #32
; │ @ client.jl:451 within include
; 8dc4: a900abe9
stp x9, x10, [sp, #8]
; 8dc8: a901fbe8
stp x8, x30, [sp, #24]
; 8dcc: 910023e1
add x1, sp, #8 // =8
; 8dd0: d2992e00
mov x0, #51568
; 8dd4: f2ae3240
movk x0, #29074, lsl #16
; 8dd8: f2dfffe0
movk x0, #65535, lsl #32
; 8ddc: 52800062
mov w2, #3
; 8de0: 94000004
bl 0x10
; 8de4: f94013fe
ldr x30, [sp, #32]
; 8de8: 9100c3ff
add sp, sp, #48 // =48
; 8dec: d65f03c0
ret
; └

@gbaraldi
Copy link
Member

Here is the @code_native it's quite different, but I don't think it helps much at all.

Details
julia> function foobar()
       for i in 1:1000
                  println(i)
                  for j in 1:10000
                      foo()
                  end
              end
              end
foobar (generic function with 1 method)

julia> @code_native binary=true debuginfo=:default foobar()
	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 11, 0
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function julia_foobar_249
lCPI0_0:
	.quad	1                               ; 0x1
	.quad	10                              ; 0xa
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_julia_foobar_249
	.p2align	2
_julia_foobar_249:                      ; @julia_foobar_249
; ┌ @ REPL[34]:1 within `foobar`
	.cfi_startproc
; %bb.0:                                ; %top
	sub	sp, sp, #160                    ; encoding: [0xff,0x83,0x02,0xd1]
                                        ; =160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
                                        ; encoding: [0xfc,0x6f,0x04,0xa9]
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
                                        ; encoding: [0xfa,0x67,0x05,0xa9]
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
                                        ; encoding: [0xf8,0x5f,0x06,0xa9]
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
                                        ; encoding: [0xf6,0x57,0x07,0xa9]
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
                                        ; encoding: [0xf4,0x4f,0x08,0xa9]
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
                                        ; encoding: [0xfd,0x7b,0x09,0xa9]
	.cfi_def_cfa_offset 160
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	xzr, xzr, [sp, #16]             ; encoding: [0xff,0x7f,0x01,0xa9]
	str	xzr, [sp, #32]                  ; encoding: [0xff,0x13,0x00,0xf9]
	mov	x8, #42580                      ; encoding: [0x88,0xca,0x94,0xd2]
	movk	x8, #34658, lsl #16             ; encoding: [0x48,0xec,0xb0,0xf2]
	movk	x8, #1, lsl #32                 ; encoding: [0x28,0x00,0xc0,0xf2]
	mov	w0, #260                        ; encoding: [0x80,0x20,0x80,0x52]
	blr	x8                              ; encoding: [0x00,0x01,0x3f,0xd6]
	mov	x19, x0                         ; encoding: [0xf3,0x03,0x00,0xaa]
	mov	w8, #4                          ; encoding: [0x88,0x00,0x80,0x52]
	str	x8, [sp, #16]                   ; encoding: [0xe8,0x0b,0x00,0xf9]
	ldr	x8, [x0]                        ; encoding: [0x08,0x00,0x40,0xf9]
	str	x8, [sp, #24]                   ; encoding: [0xe8,0x0f,0x00,0xf9]
	add	x8, sp, #16                     ; encoding: [0xe8,0x43,0x00,0x91]
                                        ; =16
	str	x8, [x0]                        ; encoding: [0x08,0x00,0x00,0xf9]
	mov	w20, #1                         ; encoding: [0x34,0x00,0x80,0x52]
	mov	x22, #2656                      ; encoding: [0x16,0x4c,0x81,0xd2]
	movk	x22, #199, lsl #16              ; encoding: [0xf6,0x18,0xa0,0xf2]
	movk	x22, #1, lsl #32                ; encoding: [0x36,0x00,0xc0,0xf2]
Lloh0:
	adrp	x23, _jl_gc_pool_alloc@GOTPAGE  ; encoding: [0x17'A',A,A,0x90'A']
                                        ;   fixup A - offset: 0, value: _jl_gc_pool_alloc@GOTPAGE, kind: fixup_aarch64_pcrel_adrp_imm21
Lloh1:
	ldr	x23, [x23, _jl_gc_pool_alloc@GOTPAGEOFF] ; encoding: [0xf7,0bAAAAAA10,0b01AAAAAA,0xf9]
                                        ;   fixup A - offset: 0, value: _jl_gc_pool_alloc@GOTPAGEOFF, kind: fixup_aarch64_ldst_imm12_scale8
	mov	x24, #64688                     ; encoding: [0x18,0x96,0x9f,0xd2]
	movk	x24, #1440, lsl #16             ; encoding: [0x18,0xb4,0xa0,0xf2]
	movk	x24, #1, lsl #32                ; encoding: [0x38,0x00,0xc0,0xf2]
Lloh2:
	adrp	x8, lCPI0_0@GOTPAGE             ; encoding: [0x08'A',A,A,0x90'A']
                                        ;   fixup A - offset: 0, value: lCPI0_0@GOTPAGE, kind: fixup_aarch64_pcrel_adrp_imm21
Lloh3:
	ldr	x8, [x8, lCPI0_0@GOTPAGEOFF]    ; encoding: [0x08,0bAAAAAA01,0b01AAAAAA,0xf9]
                                        ;   fixup A - offset: 0, value: lCPI0_0@GOTPAGEOFF, kind: fixup_aarch64_ldst_imm12_scale8
	ldr	q0, [x8]                        ; encoding: [0x00,0x01,0xc0,0x3d]
	str	q0, [sp]                        ; 16-byte Folded Spill
                                        ; encoding: [0xe0,0x03,0x80,0x3d]
Lloh4:
	adrp	x25, _j1_threading_run_252@GOTPAGE ; encoding: [0x19'A',A,A,0x90'A']
                                        ;   fixup A - offset: 0, value: _j1_threading_run_252@GOTPAGE, kind: fixup_aarch64_pcrel_adrp_imm21
Lloh5:
	ldr	x25, [x25, _j1_threading_run_252@GOTPAGEOFF] ; encoding: [0x39,0bAAAAAA11,0b01AAAAAA,0xf9]
                                        ;   fixup A - offset: 0, value: _j1_threading_run_252@GOTPAGEOFF, kind: fixup_aarch64_ldst_imm12_scale8
	mov	x26, #62768                     ; encoding: [0x1a,0xa6,0x9e,0xd2]
	movk	x26, #1449, lsl #16             ; encoding: [0x3a,0xb5,0xa0,0xf2]
	movk	x26, #1, lsl #32                ; encoding: [0x3a,0x00,0xc0,0xf2]
	mov	x27, #58400                     ; encoding: [0x1b,0x84,0x9c,0xd2]
	movk	x27, #2573, lsl #16             ; encoding: [0xbb,0x41,0xa1,0xf2]
	movk	x27, #1, lsl #32                ; encoding: [0x3b,0x00,0xc0,0xf2]
Lloh6:
	adrp	x28, _jl_f__call_latest@GOTPAGE ; encoding: [0x1c'A',A,A,0x90'A']
                                        ;   fixup A - offset: 0, value: _jl_f__call_latest@GOTPAGE, kind: fixup_aarch64_pcrel_adrp_imm21
Lloh7:
	ldr	x28, [x28, _jl_f__call_latest@GOTPAGEOFF] ; encoding: [0x9c,0bAAAAAA11,0b01AAAAAA,0xf9]
                                        ;   fixup A - offset: 0, value: _jl_f__call_latest@GOTPAGEOFF, kind: fixup_aarch64_ldst_imm12_scale8
	b	LBB0_2                          ; encoding: [A,A,A,0b000101AA]
                                        ;   fixup A - offset: 0, value: LBB0_2, kind: fixup_aarch64_pcrel_branch26
LBB0_1:                                 ; %L37
                                        ;   in Loop: Header=BB0_2 Depth=1
; │ @ REPL[34]:5 within `foobar`
; │┌ @ range.jl:832 within `iterate`
	add	x8, x20, #1                     ; encoding: [0x88,0x06,0x00,0x91]
                                        ; =1
; │└
	cmp	x20, #1000                      ; encoding: [0x9f,0xa2,0x0f,0xf1]
                                        ; =1000
	mov	x20, x8                         ; encoding: [0xf4,0x03,0x08,0xaa]
	b.eq	LBB0_7                          ; encoding: [0bAAA00000,A,A,0x54]
                                        ;   fixup A - offset: 0, value: LBB0_7, kind: fixup_aarch64_pcrel_branch19
LBB0_2:                                 ; %L2
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
; │ @ REPL[34]:3 within `foobar`
	mov	x0, x20                         ; encoding: [0xe0,0x03,0x14,0xaa]
Lloh8:
	adrp	x8, _j_println_251@GOTPAGE      ; encoding: [0x08'A',A,A,0x90'A']
                                        ;   fixup A - offset: 0, value: _j_println_251@GOTPAGE, kind: fixup_aarch64_pcrel_adrp_imm21
Lloh9:
	ldr	x8, [x8, _j_println_251@GOTPAGEOFF] ; encoding: [0x08,0bAAAAAA01,0b01AAAAAA,0xf9]
                                        ;   fixup A - offset: 0, value: _j_println_251@GOTPAGEOFF, kind: fixup_aarch64_ldst_imm12_scale8
	blr	x8                              ; encoding: [0x00,0x01,0x3f,0xd6]
	mov	w21, #10000                     ; encoding: [0x15,0xe2,0x84,0x52]
	b	LBB0_4                          ; encoding: [A,A,A,0b000101AA]
                                        ;   fixup A - offset: 0, value: LBB0_4, kind: fixup_aarch64_pcrel_branch26
LBB0_3:                                 ; %L23
                                        ;   in Loop: Header=BB0_4 Depth=2
; │ @ REPL[34]:5 within `foobar`
; │┌ @ REPL[2]:2 within `foo`
; ││┌ @ threadingconstructs.jl:90 within `macro expansion`
; │││┌ @ essentials.jl:716 within `invokelatest`
; ││││┌ @ essentials.jl:718 within `#invokelatest#2`
	stp	x26, x27, [sp, #48]             ; encoding: [0xfa,0x6f,0x03,0xa9]
	add	x1, sp, #48                     ; encoding: [0xe1,0xc3,0x00,0x91]
                                        ; =48
	mov	x0, #0                          ; encoding: [0x00,0x00,0x80,0xd2]
	mov	w2, #2                          ; encoding: [0x42,0x00,0x80,0x52]
	blr	x28                             ; encoding: [0x80,0x03,0x3f,0xd6]
; │└└└└
; │┌ @ range.jl:832 within `iterate`
; ││┌ @ promotion.jl:429 within `==`
	subs	x21, x21, #1                    ; encoding: [0xb5,0x06,0x00,0xf1]
                                        ; =1
; │└└
	b.eq	LBB0_1                          ; encoding: [0bAAA00000,A,A,0x54]
                                        ;   fixup A - offset: 0, value: LBB0_1, kind: fixup_aarch64_pcrel_branch19
LBB0_4:                                 ; %L6
                                        ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
; │┌ @ REPL[2]:2 within `foo`
; ││┌ @ threadingconstructs.jl:89 within `macro expansion`
; │││┌ @ threadingconstructs.jl:10 within `threadid`
	ldurh	w8, [x19, #-4]                  ; encoding: [0x68,0xc2,0x5f,0x78]
; │││└
	cbnz	w8, LBB0_3                      ; encoding: [0bAAA01000,A,A,0x35]
                                        ;   fixup A - offset: 0, value: LBB0_3, kind: fixup_aarch64_pcrel_branch19
; %bb.5:                                ; %L15
                                        ;   in Loop: Header=BB0_4 Depth=2
	blr	x22                             ; encoding: [0xc0,0x02,0x3f,0xd6]
	cbnz	w0, LBB0_3                      ; encoding: [0bAAA00000,A,A,0x35]
                                        ;   fixup A - offset: 0, value: LBB0_3, kind: fixup_aarch64_pcrel_branch19
; %bb.6:                                ; %L21
                                        ;   in Loop: Header=BB0_4 Depth=2
; ││└
; ││┌ @ threadingconstructs.jl:97 within `macro expansion`
	ldr	x0, [x19, #16]                  ; encoding: [0x60,0x0a,0x40,0xf9]
	mov	w1, #1440                       ; encoding: [0x01,0xb4,0x80,0x52]
	mov	w2, #32                         ; encoding: [0x02,0x04,0x80,0x52]
	blr	x23                             ; encoding: [0xe0,0x02,0x3f,0xd6]
	stur	x24, [x0, #-8]                  ; encoding: [0x18,0x80,0x1f,0xf8]
	ldr	q0, [sp]                        ; 16-byte Folded Reload
                                        ; encoding: [0xe0,0x03,0xc0,0x3d]
	str	q0, [x0]                        ; encoding: [0x00,0x00,0x80,0x3d]
	str	x0, [sp, #32]                   ; encoding: [0xe0,0x13,0x00,0xf9]
	str	x0, [sp, #48]                   ; encoding: [0xe0,0x1b,0x00,0xf9]
	add	x1, sp, #48                     ; encoding: [0xe1,0xc3,0x00,0x91]
                                        ; =48
	mov	x0, #54704                      ; encoding: [0x00,0xb6,0x9a,0xd2]
	movk	x0, #3500, lsl #16              ; encoding: [0x80,0xb5,0xa1,0xf2]
	movk	x0, #1, lsl #32                 ; encoding: [0x20,0x00,0xc0,0xf2]
	mov	w2, #1                          ; encoding: [0x22,0x00,0x80,0x52]
	blr	x25                             ; encoding: [0x20,0x03,0x3f,0xd6]
; │└└
; │┌ @ range.jl:832 within `iterate`
; ││┌ @ promotion.jl:429 within `==`
	subs	x21, x21, #1                    ; encoding: [0xb5,0x06,0x00,0xf1]
                                        ; =1
; │└└
	b.ne	LBB0_4                          ; encoding: [0bAAA00001,A,A,0x54]
                                        ;   fixup A - offset: 0, value: LBB0_4, kind: fixup_aarch64_pcrel_branch19
	b	LBB0_1                          ; encoding: [A,A,A,0b000101AA]
                                        ;   fixup A - offset: 0, value: LBB0_1, kind: fixup_aarch64_pcrel_branch26
LBB0_7:                                 ; %L49
	ldr	x8, [sp, #24]                   ; encoding: [0xe8,0x0f,0x40,0xf9]
	str	x8, [x19]                       ; encoding: [0x68,0x02,0x00,0xf9]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
                                        ; encoding: [0xfd,0x7b,0x49,0xa9]
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
                                        ; encoding: [0xf4,0x4f,0x48,0xa9]
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
                                        ; encoding: [0xf6,0x57,0x47,0xa9]
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
                                        ; encoding: [0xf8,0x5f,0x46,0xa9]
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
                                        ; encoding: [0xfa,0x67,0x45,0xa9]
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
                                        ; encoding: [0xfc,0x6f,0x44,0xa9]
	add	sp, sp, #160                    ; encoding: [0xff,0x83,0x02,0x91]
                                        ; =160
	ret                                     ; encoding: [0xc0,0x03,0x5f,0xd6]
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
; └
                                        ; -- End function
.subsections_via_symbols

@gbaraldi
Copy link
Member

A bit more debugging shows that the nesting of the @threads loops aren't the issue. I can reproduce the deadlock with just this.

julia> function foo()
          Threads.@threads for i in 1:10
               rand()
           end
       end
foo (generic function with 1 method)

julia> for i in 1:1000
           println(i)
           for j in 1:10000
               foo()
           end
       end

@Denis-Titov
Copy link

FWIW On M1 Max, the above MWE freezes for me on Julia 1.6.4 or Julia 1.7.0-rc3 using Rosetta with >=8 threads and on native 1.7.0-rc3 with >=4 threads but works with smaller number of threads.

@aschleck
Copy link

Can confirm Denis-Titov's experience on another M1 Max. My program (and gbaraldi's MWE) run fine under Rosetta with <=7 threads on an M1 Max, but deadlock with >= 8.

@pazzo83
Copy link

pazzo83 commented Dec 3, 2021

Just ran into this issue in 1.7 on an M1 Max when trying to train an EvoTreeClassifier using the MLJ library - deadlocked with 4 and 8 threads:

[1] poptask(W::Base.InvasiveLinkedListSynchronized{Task})
@ Base ./task.jl:827
[2] wait()
@ Base ./task.jl:836
[3] wait(c::Base.GenericCondition{Base.Threads.SpinLock})
@ Base ./condition.jl:123
[4] _wait(t::Task)
@ Base ./task.jl:293
[5] wait
@ ./task.jl:332 [inlined]
[6] threading_run(func::Function)
@ Base.Threads ./threadingconstructs.jl:38
[7] macro expansion
@ ./threadingconstructs.jl:97 [inlined]
[8] split_set_threads!(out::Vector{UInt32}, left::Vector{UInt32}, right::Vector{UInt32}, 𝑖::SubArray{UInt32, 1, Vector{UInt32}, Tuple{UnitRange{Int64}}, true}, X_bin::Matrix{UInt8}, feat::Int64, cond_bin::UInt8, offset::Int64)
@ EvoTrees ~/.julia/packages/EvoTrees/2Sycd/src/find_split.jl:107

@gbaraldi
Copy link
Member

gbaraldi commented Dec 7, 2021

Doing a spindump shows that 3 threads are waiting on uv_cond_wait and one of them is stuck on a kevent on uv_run
On rosetta the spindump has a bunch of ??? functions and it stays stuck at 100% and not 0% like on arm, so i'm not sure if it's the same issue. One looks to be stuck at GC and the other at libuv.
Not sure if running this under TSan could help. I wasn't able to make it compile but maybe that's my fault.

Arm spindump Date/Time: 2021-12-06 17:43:54.778 -0300 End time: 2021-12-06 17:44:04.781 -0300 OS Version: macOS 12.0.1 (Build 21A559) Architecture: arm64e Report Version: 35 Share With Devs: Yes

Data Source: Stackshots
Shared Cache: A6162D66-93E3-3251-93CC-B11F7C8C830E slid base address 0x1b7b6c000, slide 0x37b6c000
Shared Cache: 9A25B4E4-A552-32E4-BF1A-8E79EB176368 slid base address 0x189d00000, slide 0x9d00000
Shared Cache: B5084610-AFE4-3485-BADE-628C4468B057 slid base address 0x7ff819acc000, slide 0x19acc000

Command: julia
Path: /Applications/Julia-1.7.app/Contents/Resources/julia/bin/julia
Codesigning ID: julia
Team ID: A427R7F42H
Architecture: arm64
Parent: julialauncher [10992]
Responsible: kitty [2363]
PID: 10993
Time Since Fork: 79s

Duration: 10.00s
Steps: 1001 (10ms sampling interval)

Hardware model: MacBookPro17,1
Active cpus: 8
HW page size: 16384
VM page size: 16384

Time Awake Since Boot: 31204s
Time Since Wake: 2758s

Fan speed: 0 rpm
Total CPU Time: 10.998s (18.1G cycles, 47.8G instructions, 0.38c/i)
Advisory levels: Battery -> 3, User -> 2, ThermalPressure -> 0, Combined -> 2
Free disk space: 701.19 GB/926.35 GB, low space threshold 3072 MB


Heavy format: stacks are sorted by count

Process: julia [10993]
UUID: 12A198DC-FF7D-3F47-A4AD-6930941AF76E
Path: /Applications/Julia-1.7.app/Contents/Resources/julia/bin/julia
Codesigning ID: julia
Team ID: A427R7F42H
Shared Cache: A6162D66-93E3-3251-93CC-B11F7C8C830E slid base address 0x1b7b6c000, slide 0x37b6c000
Architecture: arm64
Parent: julialauncher [10992]
Responsible: kitty [2363]
UID: 501
Footprint: 165.39 MB
Time Since Fork: 79s
Num samples: 1001 (1-1001)

Thread 0x373d6 DispatchQueue 8875881432 1001 samples (1-1001) priority 31 (base 31)
1001 start + 520 (dyld + 20724) [0x1030610f4]
1001 main + 12 (julia + 16236) [0x102ea7f6c]
1001 jl_repl_entrypoint + 180 (libjulia-internal.1.7.dylib + 877252) [0x1036922c4]
1001 true_main + 188 (libjulia-internal.1.7.dylib + 877532) [0x1036923dc]
1001 julia__start_44696 + 628 (client.jl:495 in sys.dylib + 3172) [0x11760cc64]
1001 julia_exec_options_20267 + 21684 (client.jl:309 in sys.dylib + 1050140) [0x11770c61c]
1001 julia_run_main_repl_28220 + 1744 (client.jl:379 in sys.dylib + 1004596) [0x117701434]
1001 invokelatest + 68 (essentials.jl:714 in sys.dylib + 1004596) [0x117701434]
1001 #invokelatest#2 + 68 (essentials.jl:716 in sys.dylib + 1004596) [0x117701434]
1001 jl_f__call_latest + 76 (libjulia-internal.1.7.dylib + 597016) [0x10364dc18]
1001 julia_YY.930_43774 + 1180 (client.jl:394 in sys.dylib + 366396) [0x11766573c]
1001 japi1_eval_user_input_47657 + 952 (REPL.jl:150 in sys.dylib + 3026660) [0x1178eeee4]
1001 eval + 36 (boot.jl:373 in sys.dylib + 3026660) [0x1178eeee4]
1001 jl_toplevel_eval_in + 156 (libjulia-internal.1.7.dylib + 743960) [0x103671a18]
1001 jl_toplevel_eval_flex + 5088 (libjulia-internal.1.7.dylib + 740532) [0x103670cb4]
1001 ??? [0x1251ae880]
1001 japi1__wait_41276 + 280 (task.jl:293 in sys.dylib + 357776) [0x117663590]
1001 julia_wait_26318 + 332 (condition.jl:123 in sys.dylib + 5627160) [0x117b69d18]
1001 julia_poptask_36803 + 288 (task.jl:827 in sys.dylib + 5501444) [0x117b4b204]
1001 jl_task_get_next + 964 (libjulia-internal.1.7.dylib + 808656) [0x1036816d0]
1001 uv_cond_wait + 32 (libjulia-internal.1.7.dylib + 1565768) [0x10373a448]
1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20672) [0x1b7e410c0]
*1001 psynch_cvcontinue + 0 (pthread + 18008) [0xfffffe000a56b258]

Thread 0x373d7 1001 samples (1-1001) priority 31 (base 31)
1001 thread_start + 8 (libsystem_pthread.dylib + 8912) [0x1b7e742d0]
1001 _pthread_start + 148 (libsystem_pthread.dylib + 29932) [0x1b7e794ec]
1001 kevent + 8 (libsystem_kernel.dylib + 30924) [0x1b7e438cc]
*1001 ??? (kernel.release.t8101 + 5668176) [0xfffffe0007e73d50]

Thread 0x373e7 1001 samples (1-1001) priority 31 (base 31)
1001 start_task + 328 (libjulia-internal.1.7.dylib + 665768) [0x10365e8a8]
1001 jl_finish_task + 252 (libjulia-internal.1.7.dylib + 661488) [0x10365d7f0]
1001 japi1_task_done_hook_19204 + 976 (task.jl:544 in sys.dylib + 743796) [0x1176c1974]
1001 julia_poptask_36803 + 288 (task.jl:827 in sys.dylib + 5501444) [0x117b4b204]
1001 jl_task_get_next + 964 (libjulia-internal.1.7.dylib + 808656) [0x1036816d0]
1001 uv_cond_wait + 32 (libjulia-internal.1.7.dylib + 1565768) [0x10373a448]
1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20672) [0x1b7e410c0]
*1001 psynch_cvcontinue + 0 (pthread + 18008) [0xfffffe000a56b258]

Thread 0x373e8 1001 samples (1-1001) priority 31 (base 31)
1001 start_task + 328 (libjulia-internal.1.7.dylib + 665768) [0x10365e8a8]
1001 jl_finish_task + 252 (libjulia-internal.1.7.dylib + 661488) [0x10365d7f0]
1001 japi1_task_done_hook_19204 + 976 (task.jl:544 in sys.dylib + 743796) [0x1176c1974]
1001 julia_poptask_36803 + 288 (task.jl:827 in sys.dylib + 5501444) [0x117b4b204]
1001 jl_task_get_next + 504 (libjulia-internal.1.7.dylib + 808196) [0x103681504]
1001 uv_run + 192 (libjulia-internal.1.7.dylib + 1487556) [0x1037272c4]
1001 kevent + 8 (libsystem_kernel.dylib + 30924) [0x1b7e438cc]
*1001 ??? (kernel.release.t8101 + 5668176) [0xfffffe0007e73d50]

Thread 0x373e9 1001 samples (1-1001) priority 31 (base 31)
1001 start_task + 328 (libjulia-internal.1.7.dylib + 665768) [0x10365e8a8]
1001 jl_finish_task + 252 (libjulia-internal.1.7.dylib + 661488) [0x10365d7f0]
1001 japi1_task_done_hook_19204 + 976 (task.jl:544 in sys.dylib + 743796) [0x1176c1974]
1001 julia_poptask_36803 + 288 (task.jl:827 in sys.dylib + 5501444) [0x117b4b204]
1001 jl_task_get_next + 964 (libjulia-internal.1.7.dylib + 808656) [0x1036816d0]
1001 uv_cond_wait + 32 (libjulia-internal.1.7.dylib + 1565768) [0x10373a448]
1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20672) [0x1b7e410c0]
*1001 psynch_cvcontinue + 0 (pthread + 18008) [0xfffffe000a56b258]

Thread 0x373ea 1001 samples (1-1001) priority 31 (base 31)
1001 thread_start + 8 (libsystem_pthread.dylib + 8912) [0x1b7e742d0]
1001 _pthread_start + 148 (libsystem_pthread.dylib + 29932) [0x1b7e794ec]
1001 mach_segv_listener + 40 (libjulia-internal.1.7.dylib + 878860) [0x10369290c]
1001 mach_msg_server + 316 (libsystem_kernel.dylib + 37488) [0x1b7e45270]
1001 mach_msg_trap + 8 (libsystem_kernel.dylib + 6484) [0x1b7e3d954]
*1001 ??? (kernel.release.t8101 + 217756) [0xfffffe000794129c]

Thread 0x373eb 1001 samples (1-1001) priority 31 (base 31)
1001 thread_start + 8 (libsystem_pthread.dylib + 8912) [0x1b7e742d0]
1001 pthread_start + 148 (libsystem_pthread.dylib + 29932) [0x1b7e794ec]
1001 blas_thread_server + 388 (libopenblas64
.dylib + 1466360) [0x110329ff8]
1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20672) [0x1b7e410c0]
*1001 psynch_cvcontinue + 0 (pthread + 18008) [0xfffffe000a56b258]

Thread 0x373ec 1001 samples (1-1001) priority 31 (base 31)
1001 thread_start + 8 (libsystem_pthread.dylib + 8912) [0x1b7e742d0]
1001 pthread_start + 148 (libsystem_pthread.dylib + 29932) [0x1b7e794ec]
1001 blas_thread_server + 388 (libopenblas64
.dylib + 1466360) [0x110329ff8]
1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20672) [0x1b7e410c0]
*1001 psynch_cvcontinue + 0 (pthread + 18008) [0xfffffe000a56b258]

Thread 0x373ed 1001 samples (1-1001) priority 31 (base 31)
1001 thread_start + 8 (libsystem_pthread.dylib + 8912) [0x1b7e742d0]
1001 pthread_start + 148 (libsystem_pthread.dylib + 29932) [0x1b7e794ec]
1001 blas_thread_server + 388 (libopenblas64
.dylib + 1466360) [0x110329ff8]
1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20672) [0x1b7e410c0]
*1001 psynch_cvcontinue + 0 (pthread + 18008) [0xfffffe000a56b258]

Binary Images:
0x102ea4000 - 0x102eaffff julia (0) <12A198DC-FF7D-3F47-A4AD-6930941AF76E> /Applications/Julia-1.7.app/Contents/Resources/julia/bin/julia
0x10305c000 - 0x1030cffff dyld (940) <86A8BA48-8BB4-3B30-9CDA-051F73C74F44> /usr/lib/dyld
0x1035bc000 - 0x103b1ffff libjulia-internal.1.7.dylib (0) /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/libjulia-internal.1.7.dylib
0x1101c4000 - 0x111463fff libopenblas64_.dylib (0) <5DF5737E-75F9-39AF-9244-74A82955C4E8> /Applications/Julia-1.7arm.app/Contents/Resources/julia/lib/julia/libopenblas64_.dylib
0x11760c000 - 0x12017ffff sys.dylib <8C663D27-AC21-30BF-B624-8CEA051C14A1> /Applications/Julia-1.7.app/Contents/Resources/julia/lib/julia/sys.dylib
0x1b7e3c000 - 0x1b7e71fff libsystem_kernel.dylib (8019.41.5) /usr/lib/system/libsystem_kernel.dylib
0x1b7e72000 - 0x1b7e7efff libsystem_pthread.dylib (485.40.4) <4786E19A-9312-38E6-80EF-9C1394548118> /usr/lib/system/libsystem_pthread.dylib
*0xfffffe000790c000 - 0xfffffe0008167fff kernel.release.t8101 (8019.41.5) <65055A0F-950D-365E-BE19-6B3D6230C622>__TEXT_EXEC /System/Library/Kernels/kernel.release.t8101
*0xfffffe000a566c00 - 0xfffffe000a56cc9f com.apple.kec.pthread 1.0 (1) __TEXT_EXEC /System/Library/Extensions/pthread.kext/Contents/MacOS/pthread

rosetta spindump Date/Time: 2021-12-06 17:41:17.057 -0300 End time: 2021-12-06 17:41:27.062 -0300 OS Version: macOS 12.0.1 (Build 21A559) Architecture: arm64e Report Version: 35 Share With Devs: Yes

Data Source: Stackshots
Shared Cache: A6162D66-93E3-3251-93CC-B11F7C8C830E slid base address 0x1b7b6c000, slide 0x37b6c000
Shared Cache: 9A25B4E4-A552-32E4-BF1A-8E79EB176368 slid base address 0x189d00000, slide 0x9d00000
Shared Cache: B5084610-AFE4-3485-BADE-628C4468B057 slid base address 0x7ff819acc000, slide 0x19acc000

Command: julia
Path: /Users/gabrielbaraldi/.julia/juliaup/julia-1.7.0+0~x64/bin/julia
Architecture: x86_64 (translated)
Parent: julialauncher [10933]
Responsible: kitty [2363]
PID: 10934
Time Since Fork: 299s

Duration: 10.00s
Steps: 1001 (10ms sampling interval)

Hardware model: MacBookPro17,1
Active cpus: 8
HW page size: 16384
VM page size: 16384

Time Awake Since Boot: 31046s
Time Since Wake: 2600s

Fan speed: 0 rpm
Total CPU Time: 21.436s (55.7G cycles, 145.8G instructions, 0.38c/i)
Advisory levels: Battery -> 3, User -> 2, ThermalPressure -> 0, Combined -> 2
Free disk space: 697.52 GB/926.35 GB, low space threshold 3072 MB


Heavy format: stacks are sorted by count

Process: julia [10934]
UUID: 99DE6B1C-DD4C-363B-AC10-7C7751CA028A
Path: /Users/gabrielbaraldi/.julia/juliaup/julia-1.7.0+0~x64/bin/julia
Shared Cache: B5084610-AFE4-3485-BADE-628C4468B057 slid base address 0x7ff819acc000, slide 0x19acc000
Architecture: x86_64 (translated)
Parent: julialauncher [10933]
Responsible: kitty [2363]
UID: 501
Footprint: 175.65 MB
Time Since Fork: 299s
Num samples: 1001 (1-1001)
CPU Time: 9.987s (31.3G cycles, 91.5G instructions, 0.34c/i)

Thread 0x367cd DispatchQueue 140704661143000 1001 samples (1-1001) priority 31 (base 31) cpu time 9.987s (31.3G cycles, 91.5G instructions, 0.34c/i)
1001 ??? [0xffffd70faf99bfe3]
1001 julia_wait_32420 + 357 (condition.jl:123 in sys.dylib + 6067077) [0x12832d385]
1001 julia_poptask_46314 + 212 (task.jl:827 in sys.dylib + 5457636) [0x1282986e4]
1001 jl_gc_pool_alloc + 41 (libjulia-internal.1.7.dylib + 921961) [0x10d9b5169]
999 jl_gc_collect + 178 (libjulia-internal.1.7.dylib + 937714) [0x10d9b8ef2] (running)
2 jl_gc_collect + 178 (libjulia-internal.1.7.dylib + 937714) [0x10d9b8ef2]
*1 ??? (kernel.release.t8101 + 308264) [0xfffffe0007957428] (runnable)
*1 ??? (kernel.release.t8101 + 69240) [0xfffffe000791ce78] (running)

Thread 0x367d0 Thread name "com.apple.rosetta.exceptionserver" 1001 samples (1-1001) priority 31 (base 31)
1001 ??? (runtime + 77988) [0x7ff7ffe690a4]
1001 ??? (runtime + 74460) [0x7ff7ffe682dc]
1001 ??? (runtime + 69136) [0x7ff7ffe66e10]
1001 ??? (runtime + 70192) [0x7ff7ffe67230]
1001 ??? (runtime + 114344) [0x7ff7ffe71ea8]
1001 ??? (runtime + 18660) [0x7ff7ffe5a8e4]
*1001 ??? (kernel.release.t8101 + 30712) [0xfffffe00079137f8]
*1001 ??? (kernel.release.t8101 + 1568016) [0xfffffe0007a8ad10]
*1001 ??? (kernel.release.t8101 + 1524124) [0xfffffe0007a8019c]
*1001 ??? (kernel.release.t8101 + 291636) [0xfffffe0007953334]
*1001 ??? (kernel.release.t8101 + 194848) [0xfffffe000793b920]
*1001 ??? (kernel.release.t8101 + 216620) [0xfffffe0007940e2c]
*1001 ??? (kernel.release.t8101 + 524964) [0xfffffe000798c2a4]
*1001 ??? (kernel.release.t8101 + 531352) [0xfffffe000798db98] (blocked by turnstile waiting for this process)

Thread 0x367d1 1001 samples (1-1001) priority 31 (base 31)
1001 thread_start + 15 (libsystem_pthread.dylib + 8239) [0x7ff819de502f]
1001 _pthread_start + 125 (libsystem_pthread.dylib + 25876) [0x7ff819de9514]
1001 ??? [0x7ff8aa26e940]
*1001 ??? (kernel.release.t8101 + 5668176) [0xfffffe0007e73d50]

Thread 0x367da 1001 samples (1-1001) priority 31 (base 31)
1001 japi1_task_done_hook_27068 + 1043 (task.jl:544 in sys.dylib + 805379) [0x127e28a03]
1001 julia_poptask_46314 + 243 (task.jl:827 in sys.dylib + 5457667) [0x128298703]
1001 jl_task_get_next + 243 (libjulia-internal.1.7.dylib + 909027) [0x10d9b1ee3]
1001 jl_process_events + 40 (libjulia-internal.1.7.dylib + 844424) [0x10d9a2288]
*1001 ??? (kernel.release.t8101 + 657548) [0xfffffe00079ac88c] (suspended)

Thread 0x367db 1001 samples (1-1001) priority 31 (base 31)
1001 japi1_task_done_hook_27068 + 1043 (task.jl:544 in sys.dylib + 805379) [0x127e28a03]
1001 julia_poptask_46314 + 243 (task.jl:827 in sys.dylib + 5457667) [0x128298703]
1001 jl_task_get_next + 682 (libjulia-internal.1.7.dylib + 909466) [0x10d9b209a]
*1001 ??? (kernel.release.t8101 + 657548) [0xfffffe00079ac88c] (suspended)

Thread 0x367dc 1001 samples (1-1001) priority 31 (base 31)
1001 japi1_task_done_hook_27068 + 1043 (task.jl:544 in sys.dylib + 805379) [0x127e28a03]
1001 julia_poptask_46314 + 243 (task.jl:827 in sys.dylib + 5457667) [0x128298703]
1001 jl_task_get_next + 682 (libjulia-internal.1.7.dylib + 909466) [0x10d9b209a]
*1001 ??? (kernel.release.t8101 + 657548) [0xfffffe00079ac88c] (suspended)

Thread 0x367dd 1001 samples (1-1001) priority 31 (base 31)
1001 japi1_task_done_hook_27068 + 1043 (task.jl:544 in sys.dylib + 805379) [0x127e28a03]
1001 julia_poptask_46314 + 243 (task.jl:827 in sys.dylib + 5457667) [0x128298703]
1001 jl_task_get_next + 682 (libjulia-internal.1.7.dylib + 909466) [0x10d9b209a]
*1001 ??? (kernel.release.t8101 + 657548) [0xfffffe00079ac88c] (suspended)

Thread 0x367de 1001 samples (1-1001) priority 31 (base 31)
1001 japi1_task_done_hook_27068 + 1043 (task.jl:544 in sys.dylib + 805379) [0x127e28a03]
1001 julia_poptask_46314 + 243 (task.jl:827 in sys.dylib + 5457667) [0x128298703]
1001 jl_task_get_next + 682 (libjulia-internal.1.7.dylib + 909466) [0x10d9b209a]
*1001 ??? (kernel.release.t8101 + 657548) [0xfffffe00079ac88c] (suspended)

Thread 0x367df 1001 samples (1-1001) priority 31 (base 31)
1001 japi1_task_done_hook_27068 + 1043 (task.jl:544 in sys.dylib + 805379) [0x127e28a03]
1001 julia_poptask_46314 + 243 (task.jl:827 in sys.dylib + 5457667) [0x128298703]
1001 jl_task_get_next + 243 (libjulia-internal.1.7.dylib + 909027) [0x10d9b1ee3]
1001 jl_process_events + 308 (libjulia-internal.1.7.dylib + 844692) [0x10d9a2394]
*1001 ??? (kernel.release.t8101 + 657548) [0xfffffe00079ac88c] (suspended)

Thread 0x367e0 1001 samples (1-1001) priority 31 (base 31)
1001 japi1_task_done_hook_27068 + 1043 (task.jl:544 in sys.dylib + 805379) [0x127e28a03]
1001 julia_poptask_46314 + 243 (task.jl:827 in sys.dylib + 5457667) [0x128298703]
1001 jl_task_get_next + 682 (libjulia-internal.1.7.dylib + 909466) [0x10d9b209a]
*1001 ??? (kernel.release.t8101 + 657548) [0xfffffe00079ac88c] (suspended)

Thread 0x367e1 1001 samples (1-1001) priority 31 (base 31)
1001 thread_start + 15 (libsystem_pthread.dylib + 8239) [0x7ff819de502f]
1001 _pthread_start + 125 (libsystem_pthread.dylib + 25876) [0x7ff819de9514]
1001 mach_segv_listener + 29 (libjulia-internal.1.7.dylib + 983661) [0x10d9c426d]
1001 mach_msg_server + 355 (libsystem_kernel.dylib + 27383) [0x7ff819db2af7]
1001 exc_server + 79 (libsystem_kernel.dylib + 84011) [0x7ff819dc082b]
1001 _Xexception_raise + 161 (libsystem_kernel.dylib + 83352) [0x7ff819dc0598]
1001 catch_exception_raise + 392 (libjulia-internal.1.7.dylib + 984104) [0x10d9c4428]
1001 thread_get_state + 130 (libsystem_kernel.dylib + 30639) [0x7ff819db37af]
1001 ??? (runtime + 18660) [0x7ff7ffe5a8e4]
*1001 ??? (kernel.release.t8101 + 217756) [0xfffffe000794129c]

Thread 0x367e2 1001 samples (1-1001) priority 31 (base 31)
1001 thread_start + 15 (libsystem_pthread.dylib + 8239) [0x7ff819de502f]
1001 pthread_start + 125 (libsystem_pthread.dylib + 25876) [0x7ff819de9514]
1001 blas_thread_server + 207 (libopenblas64
.0.3.13.dylib + 2321535) [0x1333c8c7f]
1001 ??? [0x7ff8aa26e940]
*1001 psynch_cvcontinue + 0 (pthread + 18008) [0xfffffe000a56b258]

Thread 0x367e3 1001 samples (1-1001) priority 31 (base 31)
1001 thread_start + 15 (libsystem_pthread.dylib + 8239) [0x7ff819de502f]
1001 pthread_start + 125 (libsystem_pthread.dylib + 25876) [0x7ff819de9514]
1001 blas_thread_server + 207 (libopenblas64
.0.3.13.dylib + 2321535) [0x1333c8c7f]
1001 ??? [0x7ff8aa26e940]
*1001 psynch_cvcontinue + 0 (pthread + 18008) [0xfffffe000a56b258]

Thread 0x367e4 1001 samples (1-1001) priority 31 (base 31)
1001 thread_start + 15 (libsystem_pthread.dylib + 8239) [0x7ff819de502f]
1001 pthread_start + 125 (libsystem_pthread.dylib + 25876) [0x7ff819de9514]
1001 blas_thread_server + 207 (libopenblas64
.0.3.13.dylib + 2321535) [0x1333c8c7f]
1001 ??? [0x7ff8aa26e940]
*1001 psynch_cvcontinue + 0 (pthread + 18008) [0xfffffe000a56b258]

Binary Images:
0x104c7d000 - 0x104c7efff julia <99DE6B1C-DD4C-363B-AC10-7C7751CA028A> /Users/gabrielbaraldi/.julia/juliaup/julia-1.7.0+0x64/bin/julia
0x10d8d4000 - 0x10de69fff libjulia-internal.1.7.dylib (0) <22F5D0F1-0A90-3AB6-BC07-B717309D44F0> /Users/gabrielbaraldi/.julia/juliaup/julia-1.7.0+0
x64/lib/julia/libjulia-internal.1.7.dylib
0x127d64000 - 0x131669fff sys.dylib <16D97451-6297-348C-BD65-4DB4E6CF05FE> /Users/gabrielbaraldi/.julia/juliaup/julia-1.7.0+0x64/lib/julia/sys.dylib
0x133192000 - 0x136c39fff libopenblas64_.0.3.13.dylib (0) <4B26F932-07C6-31E8-90B0-BB9810C7F6DE> /Users/gabrielbaraldi/.julia/juliaup/julia-1.7.0+0
x64/lib/julia/libopenblas64_.0.3.13.dylib
0x7ff7ffe56000 - 0x7ff7ffe95fff runtime (254.5.3) <9F5D65BE-D8D0-3979-BB05-E651A67E785C> /usr/libexec/rosetta/runtime
0x7ff819dac000 - 0x7ff819de2fff libsystem_kernel.dylib (8019.41.5) <12BD6F13-C452-35EE-9069-51BEFEF29F1A> /usr/lib/system/libsystem_kernel.dylib
0x7ff819de3000 - 0x7ff819deefff libsystem_pthread.dylib (485.40.4) <29A2750E-F31B-3630-8761-242A6BC3E99E> /usr/lib/system/libsystem_pthread.dylib
*0xfffffe000790c000 - 0xfffffe0008167fff kernel.release.t8101 (8019.41.5) <65055A0F-950D-365E-BE19-6B3D6230C622>__TEXT_EXEC /System/Library/Kernels/kernel.release.t8101
*0xfffffe000a566c00 - 0xfffffe000a56cc9f com.apple.kec.pthread 1.0 (1) __TEXT_EXEC /System/Library/Extensions/pthread.kext/Contents/MacOS/pthread

@dnadlinger
Copy link
Member

dnadlinger commented Dec 31, 2021

As is par for the course for such issues, it goes away when enabling JULIA_DEBUG_SLEEPWAKE… (@gbaraldi's test case runs until 1000 even with JULIA_NUM_THREADS=10 on a M1 Max).

@dnadlinger
Copy link
Member

dnadlinger commented Dec 31, 2021

TSAN finds some races for the above test case:

~/B/S/julia aarch64-darwin• [2]❱ MallocNanoZone=0 JULIA_NUM_THREADS=2 usr.tsan/bin/julia threadingtest.jl
1
2
3
4
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x000109ccd4a8 by thread T18:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.dylib:arm64+0x29e8c)
    #1 get_next_task partr.c:416 (libjulia-internal.1.dylib:arm64+0x94eb8)
    #2 ijl_task_get_next partr.c:441 (libjulia-internal.1.dylib:arm64+0x946bc)
    #3 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815f4)
    #4 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #5 julia_task_done_hook_39477 task.jl:587 (sys.dylib:arm64+0x80ad8)
    #6 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #9 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Previous atomic write of size 8 at 0x000109ccd4a8 by main thread:
    [failed to restore the stack]

  Thread T18 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)
SUMMARY: ThreadSanitizer: data race gf.c:2482 in ijl_apply_generic
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Write of size 8 at 0x000109cf57e0 by thread T18:
    #0 julia_popfirstNOT._26495 task.jl:639 (sys.dylib:arm64+0x58192c)
    #1 julia_trypoptask_53684 task.jl:858 (sys.dylib:arm64+0x581740)
    #2 jfptr_trypoptask_53685 <null>:12039620 (sys.dylib:arm64+0x58185c)
    #3 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #4 get_next_task partr.c:416 (libjulia-internal.1.dylib:arm64+0x94eb8)
    #5 ijl_task_get_next partr.c:441 (libjulia-internal.1.dylib:arm64+0x946bc)
    #6 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815f4)
    #7 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #8 julia_task_done_hook_39477 task.jl:587 (sys.dylib:arm64+0x80ad8)
    #9 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #12 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Previous read of size 8 at 0x000109cf57e0 by main thread:
    [failed to restore the stack]

  Thread T18 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race task.jl:639 in julia_popfirstNOT._26495
==================
More output
5
6
7
8
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Atomic write of size 8 at 0x00010a42e5c8 by main thread:
    #0 __tsan_atomic64_exchange <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 gc_mark_loop gc.c:2303 (libjulia-internal.1.dylib:arm64+0x9bb94)
    #2 _jl_gc_collect gc.c:3044 (libjulia-internal.1.dylib:arm64+0xa1b64)
    #3 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #4 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #5 <null> <null> (0x000141a6c344)
    #6 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #7 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #8 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #9 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #10 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #11 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #14 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #15 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #16 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #17 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #18 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #19 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #20 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #21 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #22 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #23 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #24 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #25 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 8 at 0x00010a42e5c8 by thread T29:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.dylib:arm64+0x29e8c)
    #1 get_next_task partr.c:416 (libjulia-internal.1.dylib:arm64+0x94eb8)
    #2 ijl_task_get_next partr.c:441 (libjulia-internal.1.dylib:arm64+0x946bc)
    #3 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815f4)
    #4 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #5 julia_task_done_hook_39477 task.jl:587 (sys.dylib:arm64+0x80ad8)
    #6 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #9 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Thread T29 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2303 in gc_mark_loop
==================
9
10
11
12
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Write of size 1 at 0x00012437aaf8 by main thread:
    #0 _jl_gc_collect gc.c:3024 (libjulia-internal.1.dylib:arm64+0xa0fc8)
    #1 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #2 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #3 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #4 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #5 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #6 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #8 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #9 <null> <null> (0x0001418543d4)
    #10 <null> <null> (0x000141a6c37c)
    #11 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #12 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #13 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #14 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #15 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #16 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #17 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #20 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #21 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #23 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #24 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #25 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #26 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #27 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #28 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #29 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #30 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic read of size 8 at 0x00012437aaf8 by thread T19:
    #0 __tsan_atomic64_load <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4f234)
    #1 julia_pushNOT._39071 task.jl:616 (sys.dylib:arm64+0x7b6610)
    #2 julia_enq_work_40202 task.jl:689 (sys.dylib:arm64+0x7b6ae8)
    #3 julia_YY.scheduleYY.595_44569 task.jl:753 (sys.dylib:arm64+0x6130e0)
    #4 julia_notify_27801 condition.jl:148 (sys.dylib:arm64+0x7a6288)
    #5 julia_task_done_hook_39477 task.jl:570 (sys.dylib:arm64+0x805c0)
    #6 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #9 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Location is global 'jl_system_image_data' at 0x00012001cf80 (sys.dylib+0x0000050ceaf8)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:3024 in _jl_gc_collect
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Atomic write of size 8 at 0x00010a46ebc8 by main thread:
    #0 __tsan_atomic64_exchange <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 _jl_gc_collect gc.c:3031 (libjulia-internal.1.dylib:arm64+0xa13bc)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 8 at 0x00010a46ebc8 by thread T19:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.dylib:arm64+0x29e8c)
    #1 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #2 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:3031 in _jl_gc_collect
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x000102a89a38 by main thread:
    #0 _jl_gc_collect gc.c:3031 (libjulia-internal.1.dylib:arm64+0xa1550)
    #1 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #2 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #3 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #4 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #5 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #6 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #8 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #9 <null> <null> (0x0001418543d4)
    #10 <null> <null> (0x000141a6c37c)
    #11 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #12 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #13 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #14 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #15 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #16 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #17 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #20 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #21 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #23 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #24 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #25 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #26 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #27 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #28 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #29 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #30 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x000102a89a38 by thread T31:
    #0 ijl_switch task.c:548 (libjulia-internal.1.dylib:arm64+0x58ad4)
    #1 julia_try_yieldto_28114 task.jl:814 (sys.dylib:arm64+0x555b58)
    #2 julia_wait_29885 task.jl:884 (sys.dylib:arm64+0x7a96c4)
    #3 julia_task_done_hook_39477 task.jl:587 (sys.dylib:arm64+0x80ad8)
    #4 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #5 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #6 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #7 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Location is heap block of size 15864 at 0x000102a88000 allocated by thread T2:
    #0 calloc <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x579c8)
    #1 jl_init_threadtls threading.c:303 (libjulia-internal.1.dylib:arm64+0x93338)
    #2 jl_threadfun partr.c:272 (libjulia-internal.1.dylib:arm64+0x93f28)

  Thread T31 (tid=0, finished) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Thread T2 (tid=934640, running) created by main thread at:
    #0 pthread_create <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x2cd48)
    #1 uv_thread_create_ex thread.c:250 (libjulia-internal.1.dylib:arm64+0x123f8c)
    #2 _finish_julia_init init.c:738 (libjulia-internal.1.dylib:arm64+0x57b14)
    #3 julia_init init.c:687 (libjulia-internal.1.dylib:arm64+0x56a0c)
    #4 jl_repl_entrypoint jlapi.c:700 (libjulia-internal.1.dylib:arm64+0xb23d4)
    #5 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #6 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:3031 in _jl_gc_collect
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x000102a89a40 by main thread:
    #0 _jl_gc_collect gc.c:3031 (libjulia-internal.1.dylib:arm64+0xa1650)
    #1 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #2 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #3 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #4 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #5 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #6 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #8 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #9 <null> <null> (0x0001418543d4)
    #10 <null> <null> (0x000141a6c37c)
    #11 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #12 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #13 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #14 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #15 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #16 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #17 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #20 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #21 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #23 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #24 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #25 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #26 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #27 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #28 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #29 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #30 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x000102a89a40 by thread T19:
    #0 start_task task.c:905 (libjulia-internal.1.dylib:arm64+0x5a280)

  Location is heap block of size 15864 at 0x000102a88000 allocated by thread T2:
    #0 calloc <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x579c8)
    #1 jl_init_threadtls threading.c:303 (libjulia-internal.1.dylib:arm64+0x93338)
    #2 jl_threadfun partr.c:272 (libjulia-internal.1.dylib:arm64+0x93f28)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Thread T2 (tid=934640, running) created by main thread at:
    #0 pthread_create <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x2cd48)
    #1 uv_thread_create_ex thread.c:250 (libjulia-internal.1.dylib:arm64+0x123f8c)
    #2 _finish_julia_init init.c:738 (libjulia-internal.1.dylib:arm64+0x57b14)
    #3 julia_init init.c:687 (libjulia-internal.1.dylib:arm64+0x56a0c)
    #4 jl_repl_entrypoint jlapi.c:700 (libjulia-internal.1.dylib:arm64+0xb23d4)
    #5 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #6 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:3031 in _jl_gc_collect
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x00010a46ec30 by main thread:
    #0 gc_mark_loop gc.c:2661 (libjulia-internal.1.dylib:arm64+0x9e560)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.dylib:arm64+0xa1b64)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00010a46ec30 by thread T19:
    #0 julia_enq_work_40202 task.jl (sys.dylib:arm64+0x7b6b14)
    #1 julia_YY.scheduleYY.595_44569 task.jl:753 (sys.dylib:arm64+0x6130e0)
    #2 julia_notify_27801 condition.jl:148 (sys.dylib:arm64+0x7a6288)
    #3 julia_task_done_hook_39477 task.jl:570 (sys.dylib:arm64+0x805c0)
    #4 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #5 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #6 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #7 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2661 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x00010a45fc50 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.dylib:arm64+0x9b6e8)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.dylib:arm64+0xa1b64)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic write of size 8 at 0x00010a45fc50 by thread T19:
    #0 __tsan_atomic64_store <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4fe20)
    #1 julia_notify_27801 condition.jl:147 (sys.dylib:arm64+0x7a6250)
    #2 julia_task_done_hook_39477 task.jl:570 (sys.dylib:arm64+0x805c0)
    #3 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #4 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #5 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #6 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x00010a45fc58 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.dylib:arm64+0x9b6e8)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.dylib:arm64+0xa1b64)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic write of size 8 at 0x00010a45fc58 by thread T19:
    #0 __tsan_atomic64_store <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4fe20)
    #1 julia_notify_27801 condition.jl:147 (sys.dylib:arm64+0x7a6240)
    #2 julia_task_done_hook_39477 task.jl:570 (sys.dylib:arm64+0x805c0)
    #3 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #4 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #5 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #6 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x00010a46ebf0 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.dylib:arm64+0x9b6e8)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.dylib:arm64+0xa1b64)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00010a46ebf0 by thread T19:
    #0 start_task task.c:933 (libjulia-internal.1.dylib:arm64+0x5a424)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Atomic write of size 8 at 0x00010a45fbe8 by main thread:
    #0 __tsan_atomic64_exchange <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 gc_mark_loop gc.c:2249 (libjulia-internal.1.dylib:arm64+0x9b744)
    #2 _jl_gc_collect gc.c:3044 (libjulia-internal.1.dylib:arm64+0xa1b64)
    #3 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #4 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #5 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #6 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #7 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #8 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #9 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #10 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #11 <null> <null> (0x0001418543d4)
    #12 <null> <null> (0x000141a6c37c)
    #13 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #14 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #15 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #16 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #17 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #18 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #19 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #20 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #21 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #22 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #23 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #24 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #25 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #26 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #27 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #28 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #29 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #30 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #31 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #32 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 8 at 0x00010a45fbe8 by thread T19:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.dylib:arm64+0x29618)
    #1 start_task task.c:924 (libjulia-internal.1.dylib:arm64+0x5a38c)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x00014f407ba0 by main thread:
    #0 gc_mark_loop gc.c:2296 (libjulia-internal.1.dylib:arm64+0x9bb1c)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.dylib:arm64+0xa1b64)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00014f407ba0 by thread T19:
    #0 julia_task_done_hook_39477 task.jl:558 (sys.dylib:arm64+0x803f0)
    #1 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #2 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #3 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #4 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2296 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x00014f407ba8 by main thread:
    #0 gc_mark_loop gc.c:2296 (libjulia-internal.1.dylib:arm64+0x9bb1c)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.dylib:arm64+0xa1b64)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00014f407ba8 by thread T19:
    #0 julia_task_done_hook_39477 task.jl:558 (sys.dylib:arm64+0x80400)
    #1 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #2 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #3 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #4 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2296 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x000106f00010 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.dylib:arm64+0x9b6e8)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.dylib:arm64+0xa1b64)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic write of size 8 at 0x000106f00010 by thread T19:
    #0 __tsan_atomic64_store <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4fe20)
    #1 julia_notify_27801 condition.jl:147 (sys.dylib:arm64+0x7a6264)
    #2 julia_task_done_hook_39477 task.jl:570 (sys.dylib:arm64+0x805c0)
    #3 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #4 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #5 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #6 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x000106f00018 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.dylib:arm64+0x9b6e8)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.dylib:arm64+0xa1b64)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic write of size 8 at 0x000106f00018 by thread T19:
    #0 __tsan_atomic64_store <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4fe20)
    #1 julia_notify_27801 condition.jl:147 (sys.dylib:arm64+0x7a6274)
    #2 julia_task_done_hook_39477 task.jl:570 (sys.dylib:arm64+0x805c0)
    #3 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #4 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #5 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #6 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x000106f00030 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.dylib:arm64+0x9b6e8)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.dylib:arm64+0xa1b64)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic write of size 8 at 0x000106f00030 by thread T19:
    #0 __tsan_atomic64_store <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4fe20)
    #1 julia_YY.scheduleYY.595_44569 task.jl:751 (sys.dylib:arm64+0x613020)
    #2 julia_notify_27801 condition.jl:148 (sys.dylib:arm64+0x7a6288)
    #3 julia_task_done_hook_39477 task.jl:570 (sys.dylib:arm64+0x805c0)
    #4 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #5 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #6 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #7 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x00012437ab00 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.dylib:arm64+0x9b6e8)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.dylib:arm64+0xa1b64)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic write of size 8 at 0x00012437ab00 by thread T19:
    #0 __tsan_atomic64_store <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4fe20)
    #1 julia_pushNOT._39071 task.jl:616 (sys.dylib:arm64+0x7b667c)
    #2 julia_enq_work_40202 task.jl:689 (sys.dylib:arm64+0x7b6ae8)
    #3 julia_YY.scheduleYY.595_44569 task.jl:753 (sys.dylib:arm64+0x6130e0)
    #4 julia_notify_27801 condition.jl:148 (sys.dylib:arm64+0x7a6288)
    #5 julia_task_done_hook_39477 task.jl:570 (sys.dylib:arm64+0x805c0)
    #6 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #9 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Location is global 'jl_system_image_data' at 0x00012001cf80 (sys.dylib+0x0000050ceb00)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x00012437ab08 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.dylib:arm64+0x9b6e8)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.dylib:arm64+0xa1b64)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic write of size 8 at 0x00012437ab08 by thread T19:
    #0 __tsan_atomic64_store <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4fe20)
    #1 julia_pushNOT._39071 task.jl:616 (sys.dylib:arm64+0x7b6600)
    #2 julia_enq_work_40202 task.jl:689 (sys.dylib:arm64+0x7b6ae8)
    #3 julia_YY.scheduleYY.595_44569 task.jl:753 (sys.dylib:arm64+0x6130e0)
    #4 julia_notify_27801 condition.jl:148 (sys.dylib:arm64+0x7a6288)
    #5 julia_task_done_hook_39477 task.jl:570 (sys.dylib:arm64+0x805c0)
    #6 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #9 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Location is global 'jl_system_image_data' at 0x00012001cf80 (sys.dylib+0x0000050ceb08)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x00010a46ea08 by main thread:
    #0 sweep_stack_pools gc-stacks.c:230 (libjulia-internal.1.dylib:arm64+0xa9f28)
    #1 _jl_gc_collect gc.c:3165 (libjulia-internal.1.dylib:arm64+0xa2e00)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00010a46ea08 by thread T31:
    #0 jl_release_task_stack gc-stacks.c:137 (libjulia-internal.1.dylib:arm64+0xa9be8)
    #1 ijl_switch task.c:548 (libjulia-internal.1.dylib:arm64+0x58b18)
    #2 julia_try_yieldto_28114 task.jl:814 (sys.dylib:arm64+0x555b58)
    #3 julia_wait_29885 task.jl:884 (sys.dylib:arm64+0x7a96c4)
    #4 julia_task_done_hook_39477 task.jl:587 (sys.dylib:arm64+0x80ad8)
    #5 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #6 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #7 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #8 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Thread T31 (tid=0, finished) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc-stacks.c:230 in sweep_stack_pools
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x00010a46ea00 by main thread:
    #0 sweep_stack_pools gc-stacks.c:237 (libjulia-internal.1.dylib:arm64+0xa9fd8)
    #1 _jl_gc_collect gc.c:3165 (libjulia-internal.1.dylib:arm64+0xa2e00)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00010a46ea00 by thread T19:
    #0 ijl_switch task.c:548 (libjulia-internal.1.dylib:arm64+0x58e84)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc-stacks.c:237 in sweep_stack_pools
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x00010a46ed28 by main thread:
    #0 sweep_stack_pools gc-stacks.c:223 (libjulia-internal.1.dylib:arm64+0xa9f8c)
    #1 _jl_gc_collect gc.c:3165 (libjulia-internal.1.dylib:arm64+0xa2e00)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00010a46ed28 by thread T31:
    #0 ijl_switch task.c:548 (libjulia-internal.1.dylib:arm64+0x58ac0)
    #1 julia_try_yieldto_28114 task.jl:814 (sys.dylib:arm64+0x555b58)
    #2 julia_wait_29885 task.jl:884 (sys.dylib:arm64+0x7a96c4)
    #3 julia_task_done_hook_39477 task.jl:587 (sys.dylib:arm64+0x80ad8)
    #4 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #5 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #6 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #7 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Thread T31 (tid=0, finished) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc-stacks.c:223 in sweep_stack_pools
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Write of size 1 at 0x00010a45fc68 by main thread:
    #0 gc_sweep_pool gc.c:1539 (libjulia-internal.1.dylib:arm64+0xa7940)
    #1 _jl_gc_collect gc.c:3170 (libjulia-internal.1.dylib:arm64+0xa2f54)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic read of size 8 at 0x00010a45fc68 by thread T19:
    #0 __tsan_atomic64_load <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4f234)
    #1 julia_task_done_hook_39477 task.jl:565 (sys.dylib:arm64+0x80454)
    #2 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #3 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #4 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #5 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:1539 in gc_sweep_pool
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Write of size 1 at 0x000106f00008 by main thread:
    #0 _jl_gc_collect gc.c:3181 (libjulia-internal.1.dylib:arm64+0xa3090)
    #1 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #2 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #3 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #4 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #5 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #6 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #8 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #9 <null> <null> (0x0001418543d4)
    #10 <null> <null> (0x000141a6c37c)
    #11 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #12 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #13 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #14 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #15 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #16 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #17 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #20 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #21 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #23 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #24 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #25 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #26 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #27 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #28 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #29 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #30 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic read of size 8 at 0x000106f00008 by thread T19:
    #0 __tsan_atomic64_load <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4f234)
    #1 julia_notify_27801 condition.jl:147 (sys.dylib:arm64+0x7a6164)
    #2 julia_task_done_hook_39477 task.jl:570 (sys.dylib:arm64+0x805c0)
    #3 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #4 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #5 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #6 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:3181 in _jl_gc_collect
==================
13
14
15
16
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Atomic write of size 8 at 0x00010a42a3e8 by main thread:
    #0 __tsan_atomic64_exchange <null>:12039620 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 gc_mark_loop gc.c:2303 (libjulia-internal.1.dylib:arm64+0x9bb94)
    #2 _jl_gc_collect gc.c:3044 (libjulia-internal.1.dylib:arm64+0xa1b64)
    #3 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #4 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #5 <null> <null> (0x000141854158)
    #6 <null> <null> (0x000141a6c37c)
    #7 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #8 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #9 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #10 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #11 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #12 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #13 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #16 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #17 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #20 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #21 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #23 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #24 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #25 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #26 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 8 at 0x00010a42a3e8 by thread T19:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.dylib:arm64+0x29e8c)
    #1 get_next_task partr.c:416 (libjulia-internal.1.dylib:arm64+0x94eb8)
    #2 ijl_task_get_next partr.c:441 (libjulia-internal.1.dylib:arm64+0x946bc)
    #3 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815f4)
    #4 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #5 julia_task_done_hook_39477 task.jl:587 (sys.dylib:arm64+0x80ad8)
    #6 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #9 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

  Thread T19 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.dylib:arm64+0x59c4c)
    #1 <null> <null> (0x000141854250)
    #2 <null> <null> (0x000141a6c37c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #8 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #11 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #12 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #13 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #15 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #16 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #17 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #19 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #21 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2303 in gc_mark_loop
==================
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[…]

On x86_64-linux, TSAN is completely quiet for this test case.

@dnadlinger
Copy link
Member

The test case appears to run without ever deadlocking on AWS Graviton2 (aarch64-linux) with 32 threads.

@dnadlinger
Copy link
Member

The deadlock issue reappears when commenting out this:

JULIA_DEBUG_SLEEPWAKE( return 1 ); // hammer on the sleep/wake logic much harder

@dnadlinger
Copy link
Member

No TSan violations on aarch64-linux/AWS Graviton2 either (apart from in the Ctrl-C signal handler) – very mysterious.

@gbaraldi
Copy link
Member

Can you build a TSan version on rosetta? Just for the extra data point?

@dnadlinger
Copy link
Member

I'm not sure I'll get around to compiling stuff in Rosetta – everything is quite slow with TSan, and I'm not sure what I'd learn from a Rosetta trace.

I did, however, re-run things on aarch64 with libuv also instrumented:

~/B/S/julia aarch64-darwin• ❱ TSAN_OPTIONS="history_size=7" MallocNanoZone=0 JULIA_NUM_THREADS=2 usr/bin/julia threadingtest.jl
1
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Atomic write of size 4 at 0x000108761188 by thread T18:
    #0 __tsan_atomic32_compare_exchange_val <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x55bec)
    #1 uv__async_io async.c:157 (libjulia-internal.1.8.dylib:arm64+0x123204)
    #2 uv__io_poll kqueue.c (libjulia-internal.1.8.dylib:arm64+0x13eae0)
    #3 uv__io_poll kqueue.c:80 (libjulia-internal.1.8.dylib:arm64+0x13e50c)
    #4 ijl_process_events jl_uv.c:209 (libjulia-internal.1.8.dylib:arm64+0x7c788)
    #5 ijl_task_get_next partr.c:543 (libjulia-internal.1.8.dylib:arm64+0x96b44)
    #6 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7558)
    #7 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #8 <null> <null> (0x000108efc61c)
    #9 <null> <null> (0x000108efca98)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #12 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Previous read of size 4 at 0x000108761188 by main thread:
    #0 uv_async_send async.c:65 (libjulia-internal.1.8.dylib:arm64+0x122d84)
    #1 JL_UV_LOCK jl_uv.c:63 (libjulia-internal.1.8.dylib:arm64+0x7bb30)
    #2 ijl_exit_threaded_region threading.c:549 (libjulia-internal.1.8.dylib:arm64+0x95c98)
    #3 <null> <null> (0x00014f03441c)
    #4 <null> <null> (0x00014f04037c)
    #5 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #6 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #7 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #8 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #9 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #10 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #11 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #12 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #13 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #14 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #15 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #16 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #17 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #18 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #19 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #20 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #21 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #22 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #23 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #24 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Location is global 'signal_async' at 0x000108761130 (libjulia-internal.1.8.dylib+0x0000003ad188)

  Thread T18 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race async.c:157 in uv__async_io
==================
More output
2
3
4
5
6
7
8
9
10
11
12
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Atomic write of size 8 at 0x00010ec17e08 by main thread:
    #0 __tsan_atomic64_exchange <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 gc_mark_loop gc.c:2303 (libjulia-internal.1.8.dylib:arm64+0x9dfd4)
    #2 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #3 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #4 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #5 ijl_new_task task.c:755 (libjulia-internal.1.8.dylib:arm64+0x5babc)
    #6 <null> <null> (0x00014f034254)
    #7 <null> <null> (0x00014f04037c)
    #8 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #9 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #10 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #11 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #12 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #13 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #14 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #15 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #16 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #17 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #18 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #21 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #22 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #25 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #26 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #27 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 8 at 0x00010ec17e08 by thread T20:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.8.dylib:arm64+0x2c1ec)
    #1 get_next_task partr.c:415 (libjulia-internal.1.8.dylib:arm64+0x972f8)
    #2 ijl_task_get_next partr.c:460 (libjulia-internal.1.8.dylib:arm64+0x96c10)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7558)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 <null> <null> (0x000108efc61c)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T20 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2303 in gc_mark_loop
==================
13
14
15
16
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00010ec886a8 by thread T21:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.8.dylib:arm64+0x2c1ec)
    #1 get_next_task partr.c:415 (libjulia-internal.1.8.dylib:arm64+0x972f8)
    #2 ijl_task_get_next partr.c:440 (libjulia-internal.1.8.dylib:arm64+0x96b5c)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7558)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 <null> <null> (0x000108efc61c)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Previous write of size 1 at 0x00010ec886a8 by main thread:
    #0 gc_sweep_pool gc.c:1539 (libjulia-internal.1.8.dylib:arm64+0xa9d80)
    #1 _jl_gc_collect gc.c:3170 (libjulia-internal.1.8.dylib:arm64+0xa5394)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 <null> <null> (0x00014f034158)
    #5 <null> <null> (0x00014f04037c)
    #6 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #7 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #8 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #9 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #10 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #11 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #14 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #15 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #16 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #17 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #18 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #19 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #20 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #21 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #22 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #23 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #24 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #25 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Thread T21 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gf.c:2482 in ijl_apply_generic
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Write of size 8 at 0x00010ec95970 by thread T21:
    #0 julia_popfirstNOT._31938 task.jl:639 (sys.dylib:arm64+0x5455e4)
    #1 <null> <null> (0x000110fe0048)
    #2 <null> <null> (0x000110fe0108)
    #3 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #4 get_next_task partr.c:415 (libjulia-internal.1.8.dylib:arm64+0x972f8)
    #5 ijl_task_get_next partr.c:440 (libjulia-internal.1.8.dylib:arm64+0x96b5c)
    #6 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7558)
    #7 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #8 <null> <null> (0x000108efc61c)
    #9 <null> <null> (0x000108efca98)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #12 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Previous read of size 8 at 0x00010ec95970 by main thread:
    #0 gc_mark_loop gc.c:2661 (libjulia-internal.1.8.dylib:arm64+0xa09a0)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 <null> <null> (0x00014f034158)
    #5 <null> <null> (0x00014f04037c)
    #6 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #7 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #8 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #9 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #10 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #11 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #14 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #15 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #16 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #17 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #18 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #19 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #20 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #21 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #22 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #23 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #24 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #25 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Thread T21 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race task.jl:639 in julia_popfirstNOT._31938
==================
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Atomic write of size 8 at 0x00010ec68ba8 by main thread:
    #0 __tsan_atomic64_exchange <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 gc_mark_loop gc.c:2303 (libjulia-internal.1.8.dylib:arm64+0x9dfd4)
    #2 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #3 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #4 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #5 <null> <null> (0x00014f040344)
    #6 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #7 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #8 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #9 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #10 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #11 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #14 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #15 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #16 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #17 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #18 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #19 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #20 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #21 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #22 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #23 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #24 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #25 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 8 at 0x00010ec68ba8 by thread T22:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.8.dylib:arm64+0x2c1ec)
    #1 get_next_task partr.c:415 (libjulia-internal.1.8.dylib:arm64+0x972f8)
    #2 ijl_task_get_next partr.c:440 (libjulia-internal.1.8.dylib:arm64+0x96b5c)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7558)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 <null> <null> (0x000108efc61c)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T22 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2303 in gc_mark_loop
==================
34
35
36
37
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Atomic write of size 8 at 0x00010ec64ae8 by main thread:
    #0 __tsan_atomic64_exchange <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 gc_mark_loop gc.c:2303 (libjulia-internal.1.8.dylib:arm64+0x9dfd4)
    #2 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #3 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #4 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #5 jl_gc_alloc gc.c:3315 (libjulia-internal.1.8.dylib:arm64+0xa6afc)
    #6 _new_array_ array.c:134 (libjulia-internal.1.8.dylib:arm64+0x5cb40)
    #7 _new_array array.c:200 (libjulia-internal.1.8.dylib:arm64+0x5db34)
    #8 ijl_alloc_array_1d array.c:448 (libjulia-internal.1.8.dylib:arm64+0x5dbc0)
    #9 <null> <null> (0x00014f0340d8)
    #10 <null> <null> (0x00014f04037c)
    #11 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #12 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #13 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #14 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #15 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #16 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #17 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #20 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #21 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #23 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #24 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #25 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #26 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #27 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #28 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #29 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #30 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 8 at 0x00010ec64ae8 by thread T27:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.8.dylib:arm64+0x2c1ec)
    #1 get_next_task partr.c:415 (libjulia-internal.1.8.dylib:arm64+0x972f8)
    #2 ijl_task_get_next partr.c:460 (libjulia-internal.1.8.dylib:arm64+0x96c10)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7558)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 <null> <null> (0x000108efc61c)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T27 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2303 in gc_mark_loop
==================
38
39
40
41
42
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00010ec45508 by thread T30:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.8.dylib:arm64+0x2c1ec)
    #1 get_next_task partr.c:415 (libjulia-internal.1.8.dylib:arm64+0x972f8)
    #2 ijl_task_get_next partr.c:440 (libjulia-internal.1.8.dylib:arm64+0x96b5c)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7558)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 <null> <null> (0x000108efc61c)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Previous atomic write of size 8 at 0x00010ec45508 by main thread:
    #0 __tsan_atomic64_exchange <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 gc_mark_loop gc.c:2303 (libjulia-internal.1.8.dylib:arm64+0x9dfd4)
    #2 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #3 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #4 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #5 <null> <null> (0x00014f034204)
    #6 <null> <null> (0x00014f04037c)
    #7 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #8 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #9 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #10 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #11 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #12 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #13 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #16 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #17 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #20 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #21 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #23 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #24 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #25 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #26 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Thread T30 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gf.c:2482 in ijl_apply_generic
==================
43
44
45
46
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00010ec4d128 by thread T25:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.8.dylib:arm64+0x2c1ec)
    #1 get_next_task partr.c:415 (libjulia-internal.1.8.dylib:arm64+0x972f8)
    #2 ijl_task_get_next partr.c:440 (libjulia-internal.1.8.dylib:arm64+0x96b5c)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7558)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 <null> <null> (0x000108efc61c)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Previous atomic write of size 8 at 0x00010ec4d128 by main thread:
    #0 __tsan_atomic64_exchange <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 gc_mark_loop gc.c:2303 (libjulia-internal.1.8.dylib:arm64+0x9dfd4)
    #2 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #3 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #4 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #5 <null> <null> (0x00014f034158)
    #6 <null> <null> (0x00014f04037c)
    #7 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #8 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #9 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #10 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #11 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #12 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #13 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #16 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #17 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #20 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #21 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #23 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #24 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #25 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #26 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Thread T25 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gf.c:2482 in ijl_apply_generic
==================
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Write of size 1 at 0x000122e6ed78 by main thread:
    #0 _jl_gc_collect gc.c:3024 (libjulia-internal.1.8.dylib:arm64+0xa3408)
    #1 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #2 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #6 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #9 <null> <null> (0x00014f0343d8)
    #10 <null> <null> (0x00014f04037c)
    #11 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #12 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #13 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #14 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #15 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #16 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #17 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #20 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #21 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #23 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #24 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #25 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #26 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #27 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #28 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #29 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #30 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic read of size 8 at 0x000122e6ed78 by thread T32:
    #0 __tsan_atomic64_load <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4f234)
    #1 julia_pushNOT._26537 task.jl:616 (sys.dylib:arm64+0x2b30c4)
    #2 julia_enq_work_31441 task.jl:689 (sys.dylib:arm64+0x56d8b4)
    #3 julia_YY.scheduleYY.595_30385 task.jl:753 (sys.dylib:arm64+0x2a7294)
    #4 julia_notify_20832 condition.jl:148 (sys.dylib:arm64+0x36a3cc)
    #5 <null> <null> (0x000108efc224)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Location is global 'jl_system_image_data' at 0x0001200b49c0 (sys.dylib+0x000003496d78)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:3024 in _jl_gc_collect
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Write of size 1 at 0x00010ae00008 by main thread:
    #0 _jl_gc_collect gc.c:3024 (libjulia-internal.1.8.dylib:arm64+0xa3408)
    #1 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #2 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #6 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #9 <null> <null> (0x00014f0343d8)
    #10 <null> <null> (0x00014f04037c)
    #11 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #12 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #13 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #14 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #15 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #16 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #17 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #20 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #21 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #23 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #24 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #25 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #26 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #27 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #28 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #29 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #30 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic read of size 8 at 0x00010ae00008 by thread T32:
    #0 __tsan_atomic64_load <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4f234)
    #1 julia_notify_20832 condition.jl:147 (sys.dylib:arm64+0x36a2a8)
    #2 <null> <null> (0x000108efc224)
    #3 <null> <null> (0x000108efca98)
    #4 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #5 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #6 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:3024 in _jl_gc_collect
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Atomic write of size 8 at 0x00010ec728a8 by main thread:
    #0 __tsan_atomic64_exchange <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 _jl_gc_collect gc.c:3031 (libjulia-internal.1.8.dylib:arm64+0xa37fc)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 8 at 0x00010ec728a8 by thread T32:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.8.dylib:arm64+0x2c1ec)
    #1 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #2 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:3031 in _jl_gc_collect
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x000106981a38 by main thread:
    #0 _jl_gc_collect gc.c:3031 (libjulia-internal.1.8.dylib:arm64+0xa3990)
    #1 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #2 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #6 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #9 <null> <null> (0x00014f0343d8)
    #10 <null> <null> (0x00014f04037c)
    #11 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #12 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #13 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #14 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #15 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #16 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #17 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #20 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #21 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #23 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #24 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #25 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #26 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #27 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #28 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #29 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #30 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x000106981a38 by thread T30:
    #0 ijl_switch task.c:548 (libjulia-internal.1.8.dylib:arm64+0x5ae34)
    #1 julia_try_yieldto_23236 task.jl:814 (sys.dylib:arm64+0x2a7910)
    #2 julia_wait_20337 task.jl:884 (sys.dylib:arm64+0x2a7778)
    #3 <null> <null> (0x000108efc61c)
    #4 <null> <null> (0x000108efca98)
    #5 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #6 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #7 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Location is heap block of size 15896 at 0x000106980000 allocated by thread T2:
    #0 calloc <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x579c8)
    #1 jl_init_threadtls threading.c:303 (libjulia-internal.1.8.dylib:arm64+0x95698)
    #2 jl_threadfun partr.c:271 (libjulia-internal.1.8.dylib:arm64+0x96288)

  Thread T30 (tid=0, finished) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Thread T2 (tid=1074203, running) created by main thread at:
    #0 pthread_create <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x2cd48)
    #1 uv_thread_create_ex thread.c:250 (libjulia-internal.1.8.dylib:arm64+0x137b44)
    #2 uv_thread_create thread.c:204 (libjulia-internal.1.8.dylib:arm64+0x137a74)
    #3 jl_start_threads threading.c:518 (libjulia-internal.1.8.dylib:arm64+0x95b10)
    #4 _finish_julia_init init.c:738 (libjulia-internal.1.8.dylib:arm64+0x59e74)
    #5 julia_init init.c:687 (libjulia-internal.1.8.dylib:arm64+0x58d6c)
    #6 jl_repl_entrypoint jlapi.c:700 (libjulia-internal.1.8.dylib:arm64+0xb4814)
    #7 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #8 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:3031 in _jl_gc_collect
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x000106981a40 by main thread:
    #0 _jl_gc_collect gc.c:3031 (libjulia-internal.1.8.dylib:arm64+0xa3a90)
    #1 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #2 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #6 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #9 <null> <null> (0x00014f0343d8)
    #10 <null> <null> (0x00014f04037c)
    #11 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #12 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #13 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #14 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #15 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #16 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #17 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #20 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #21 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #23 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #24 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #25 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #26 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #27 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #28 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #29 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #30 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x000106981a40 by thread T32:
    #0 start_task task.c:905 (libjulia-internal.1.8.dylib:arm64+0x5c5e0)

  Location is heap block of size 15896 at 0x000106980000 allocated by thread T2:
    #0 calloc <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x579c8)
    #1 jl_init_threadtls threading.c:303 (libjulia-internal.1.8.dylib:arm64+0x95698)
    #2 jl_threadfun partr.c:271 (libjulia-internal.1.8.dylib:arm64+0x96288)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Thread T2 (tid=1074203, running) created by main thread at:
    #0 pthread_create <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x2cd48)
    #1 uv_thread_create_ex thread.c:250 (libjulia-internal.1.8.dylib:arm64+0x137b44)
    #2 uv_thread_create thread.c:204 (libjulia-internal.1.8.dylib:arm64+0x137a74)
    #3 jl_start_threads threading.c:518 (libjulia-internal.1.8.dylib:arm64+0x95b10)
    #4 _finish_julia_init init.c:738 (libjulia-internal.1.8.dylib:arm64+0x59e74)
    #5 julia_init init.c:687 (libjulia-internal.1.8.dylib:arm64+0x58d6c)
    #6 jl_repl_entrypoint jlapi.c:700 (libjulia-internal.1.8.dylib:arm64+0xb4814)
    #7 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #8 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:3031 in _jl_gc_collect
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00010ec72910 by main thread:
    #0 gc_mark_loop gc.c:2661 (libjulia-internal.1.8.dylib:arm64+0xa09a0)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00010ec72910 by thread T32:
    #0 julia_wait_20337 task.jl:881 (sys.dylib:arm64+0x2a76cc)
    #1 <null> <null> (0x000108efc61c)
    #2 <null> <null> (0x000108efca98)
    #3 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #4 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #5 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2661 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00010ec566b0 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.8.dylib:arm64+0x9db28)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic write of size 8 at 0x00010ec566b0 by thread T32:
    #0 __tsan_atomic64_store <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4fe20)
    #1 julia_notify_20832 condition.jl:147 (sys.dylib:arm64+0x36a394)
    #2 <null> <null> (0x000108efc224)
    #3 <null> <null> (0x000108efca98)
    #4 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #5 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #6 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00010ec566b8 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.8.dylib:arm64+0x9db28)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic write of size 8 at 0x00010ec566b8 by thread T32:
    #0 __tsan_atomic64_store <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4fe20)
    #1 julia_notify_20832 condition.jl:147 (sys.dylib:arm64+0x36a384)
    #2 <null> <null> (0x000108efc224)
    #3 <null> <null> (0x000108efca98)
    #4 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #5 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #6 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00010ec728d0 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.8.dylib:arm64+0x9db28)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00010ec728d0 by thread T32:
    #0 start_task task.c:933 (libjulia-internal.1.8.dylib:arm64+0x5c784)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Atomic write of size 8 at 0x00010ec56648 by main thread:
    #0 __tsan_atomic64_exchange <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 gc_mark_loop gc.c:2249 (libjulia-internal.1.8.dylib:arm64+0x9db84)
    #2 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #3 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #4 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #5 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #6 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #7 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #8 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #9 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #10 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #11 <null> <null> (0x00014f0343d8)
    #12 <null> <null> (0x00014f04037c)
    #13 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #14 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #15 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #16 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #17 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #18 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #19 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #20 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #21 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #22 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #23 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #24 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #25 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #26 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #27 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #28 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #29 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #30 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #31 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #32 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 8 at 0x00010ec56648 by thread T32:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.8.dylib:arm64+0x2b978)
    #1 start_task task.c:924 (libjulia-internal.1.8.dylib:arm64+0x5c6ec)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Atomic write of size 8 at 0x00010ec215e8 by main thread:
    #0 __tsan_atomic64_exchange <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 gc_mark_loop gc.c:2303 (libjulia-internal.1.8.dylib:arm64+0x9dfd4)
    #2 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #3 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #4 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #5 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #6 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #7 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #8 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #9 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #10 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #11 <null> <null> (0x00014f0343d8)
    #12 <null> <null> (0x00014f04037c)
    #13 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #14 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #15 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #16 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #17 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #18 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #19 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #20 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #21 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #22 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #23 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #24 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #25 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #26 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #27 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #28 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #29 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #30 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #31 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #32 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 8 at 0x00010ec215e8 by thread T32:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.8.dylib:arm64+0x2c1ec)
    #1 get_next_task partr.c:415 (libjulia-internal.1.8.dylib:arm64+0x972f8)
    #2 ijl_task_get_next partr.c:440 (libjulia-internal.1.8.dylib:arm64+0x96a6c)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7558)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 <null> <null> (0x000108efc61c)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2303 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00014fb73ba0 by main thread:
    #0 gc_mark_loop gc.c:2296 (libjulia-internal.1.8.dylib:arm64+0x9df5c)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00014fb73ba0 by thread T32:
    #0 <null> <null> (0x000108efc094)
    #1 <null> <null> (0x000108efca98)
    #2 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #3 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #4 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2296 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00014fb73ba8 by main thread:
    #0 gc_mark_loop gc.c:2296 (libjulia-internal.1.8.dylib:arm64+0x9df5c)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00014fb73ba8 by thread T32:
    #0 <null> <null> (0x000108efc0a4)
    #1 <null> <null> (0x000108efca98)
    #2 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #3 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #4 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2296 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00010ae00010 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.8.dylib:arm64+0x9db28)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic write of size 8 at 0x00010ae00010 by thread T32:
    #0 __tsan_atomic64_store <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4fe20)
    #1 julia_notify_20832 condition.jl:147 (sys.dylib:arm64+0x36a3a8)
    #2 <null> <null> (0x000108efc224)
    #3 <null> <null> (0x000108efca98)
    #4 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #5 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #6 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00010ae00018 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.8.dylib:arm64+0x9db28)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic write of size 8 at 0x00010ae00018 by thread T32:
    #0 __tsan_atomic64_store <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4fe20)
    #1 julia_notify_20832 condition.jl:147 (sys.dylib:arm64+0x36a3b8)
    #2 <null> <null> (0x000108efc224)
    #3 <null> <null> (0x000108efca98)
    #4 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #5 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #6 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00010ae00030 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.8.dylib:arm64+0x9db28)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic write of size 8 at 0x00010ae00030 by thread T32:
    #0 __tsan_atomic64_store <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4fe20)
    #1 julia_YY.scheduleYY.595_30385 task.jl:751 (sys.dylib:arm64+0x2a71d4)
    #2 julia_notify_20832 condition.jl:148 (sys.dylib:arm64+0x36a3cc)
    #3 <null> <null> (0x000108efc224)
    #4 <null> <null> (0x000108efca98)
    #5 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #6 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #7 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x000122e6ed80 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.8.dylib:arm64+0x9db28)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic write of size 8 at 0x000122e6ed80 by thread T32:
    #0 __tsan_atomic64_store <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4fe20)
    #1 julia_pushNOT._26537 task.jl:616 (sys.dylib:arm64+0x2b3130)
    #2 julia_enq_work_31441 task.jl:689 (sys.dylib:arm64+0x56d8b4)
    #3 julia_YY.scheduleYY.595_30385 task.jl:753 (sys.dylib:arm64+0x2a7294)
    #4 julia_notify_20832 condition.jl:148 (sys.dylib:arm64+0x36a3cc)
    #5 <null> <null> (0x000108efc224)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Location is global 'jl_system_image_data' at 0x0001200b49c0 (sys.dylib+0x000003496d80)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x000122e6ed88 by main thread:
    #0 gc_mark_loop gc.c:2249 (libjulia-internal.1.8.dylib:arm64+0x9db28)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic write of size 8 at 0x000122e6ed88 by thread T32:
    #0 __tsan_atomic64_store <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4fe20)
    #1 julia_pushNOT._26537 task.jl:616 (sys.dylib:arm64+0x2b30b4)
    #2 julia_enq_work_31441 task.jl:689 (sys.dylib:arm64+0x56d8b4)
    #3 julia_YY.scheduleYY.595_30385 task.jl:753 (sys.dylib:arm64+0x2a7294)
    #4 julia_notify_20832 condition.jl:148 (sys.dylib:arm64+0x36a3cc)
    #5 <null> <null> (0x000108efc224)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Location is global 'jl_system_image_data' at 0x0001200b49c0 (sys.dylib+0x000003496d88)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x0001069813f0 by main thread:
    #0 sweep_stack_pools gc-stacks.c:198 (libjulia-internal.1.8.dylib:arm64+0xac2c0)
    #1 _jl_gc_collect gc.c:3165 (libjulia-internal.1.8.dylib:arm64+0xa5240)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x0001069813f0 by thread T30:
    #0 arraylist_pop arraylist.c:76 (libjulia-internal.1.8.dylib:arm64+0x119ff0)
    #1 ijl_malloc_stack gc-stacks.c:155 (libjulia-internal.1.8.dylib:arm64+0xac0e0)
    #2 ijl_switch task.c:548 (libjulia-internal.1.8.dylib:arm64+0x5ade4)
    #3 julia_try_yieldto_23236 task.jl:814 (sys.dylib:arm64+0x2a7910)
    #4 julia_wait_20337 task.jl:884 (sys.dylib:arm64+0x2a7778)
    #5 <null> <null> (0x000108efc61c)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Location is heap block of size 15896 at 0x000106980000 allocated by thread T2:
    #0 calloc <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x579c8)
    #1 jl_init_threadtls threading.c:303 (libjulia-internal.1.8.dylib:arm64+0x95698)
    #2 jl_threadfun partr.c:271 (libjulia-internal.1.8.dylib:arm64+0x96288)

  Thread T30 (tid=0, finished) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Thread T2 (tid=1074203, running) created by main thread at:
    #0 pthread_create <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x2cd48)
    #1 uv_thread_create_ex thread.c:250 (libjulia-internal.1.8.dylib:arm64+0x137b44)
    #2 uv_thread_create thread.c:204 (libjulia-internal.1.8.dylib:arm64+0x137a74)
    #3 jl_start_threads threading.c:518 (libjulia-internal.1.8.dylib:arm64+0x95b10)
    #4 _finish_julia_init init.c:738 (libjulia-internal.1.8.dylib:arm64+0x59e74)
    #5 julia_init init.c:687 (libjulia-internal.1.8.dylib:arm64+0x58d6c)
    #6 jl_repl_entrypoint jlapi.c:700 (libjulia-internal.1.8.dylib:arm64+0xb4814)
    #7 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #8 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc-stacks.c:198 in sweep_stack_pools
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x000106980128 by main thread:
    #0 sweep_stack_pools gc-stacks.c:215 (libjulia-internal.1.8.dylib:arm64+0xac318)
    #1 _jl_gc_collect gc.c:3165 (libjulia-internal.1.8.dylib:arm64+0xa5240)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x000106980128 by thread T30:
    #0 arraylist_push arraylist.c:69 (libjulia-internal.1.8.dylib:arm64+0x119f58)
    #1 ijl_malloc_stack gc-stacks.c:173 (libjulia-internal.1.8.dylib:arm64+0xac1b0)
    #2 ijl_switch task.c:548 (libjulia-internal.1.8.dylib:arm64+0x5ade4)
    #3 julia_try_yieldto_23236 task.jl:814 (sys.dylib:arm64+0x2a7910)
    #4 julia_wait_20337 task.jl:884 (sys.dylib:arm64+0x2a7778)
    #5 <null> <null> (0x000108efc61c)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Location is heap block of size 15896 at 0x000106980000 allocated by thread T2:
    #0 calloc <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x579c8)
    #1 jl_init_threadtls threading.c:303 (libjulia-internal.1.8.dylib:arm64+0x95698)
    #2 jl_threadfun partr.c:271 (libjulia-internal.1.8.dylib:arm64+0x96288)

  Thread T30 (tid=0, finished) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Thread T2 (tid=1074203, running) created by main thread at:
    #0 pthread_create <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x2cd48)
    #1 uv_thread_create_ex thread.c:250 (libjulia-internal.1.8.dylib:arm64+0x137b44)
    #2 uv_thread_create thread.c:204 (libjulia-internal.1.8.dylib:arm64+0x137a74)
    #3 jl_start_threads threading.c:518 (libjulia-internal.1.8.dylib:arm64+0x95b10)
    #4 _finish_julia_init init.c:738 (libjulia-internal.1.8.dylib:arm64+0x59e74)
    #5 julia_init init.c:687 (libjulia-internal.1.8.dylib:arm64+0x58d6c)
    #6 jl_repl_entrypoint jlapi.c:700 (libjulia-internal.1.8.dylib:arm64+0xb4814)
    #7 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #8 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc-stacks.c:215 in sweep_stack_pools
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00010ec726e8 by main thread:
    #0 sweep_stack_pools gc-stacks.c:230 (libjulia-internal.1.8.dylib:arm64+0xac368)
    #1 _jl_gc_collect gc.c:3165 (libjulia-internal.1.8.dylib:arm64+0xa5240)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00010ec726e8 by thread T30:
    #0 jl_release_task_stack gc-stacks.c:137 (libjulia-internal.1.8.dylib:arm64+0xac028)
    #1 ijl_switch task.c:548 (libjulia-internal.1.8.dylib:arm64+0x5ae78)
    #2 julia_try_yieldto_23236 task.jl:814 (sys.dylib:arm64+0x2a7910)
    #3 julia_wait_20337 task.jl:884 (sys.dylib:arm64+0x2a7778)
    #4 <null> <null> (0x000108efc61c)
    #5 <null> <null> (0x000108efca98)
    #6 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #7 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #8 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T30 (tid=0, finished) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc-stacks.c:230 in sweep_stack_pools
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00010ec726e0 by main thread:
    #0 sweep_stack_pools gc-stacks.c:237 (libjulia-internal.1.8.dylib:arm64+0xac418)
    #1 _jl_gc_collect gc.c:3165 (libjulia-internal.1.8.dylib:arm64+0xa5240)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00010ec726e0 by thread T32:
    #0 ijl_switch task.c:548 (libjulia-internal.1.8.dylib:arm64+0x5b1e4)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc-stacks.c:237 in sweep_stack_pools
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Write of size 8 at 0x00015891fed0 by main thread:
    #0 sweep_stack_pools gc-stacks.c:247 (libjulia-internal.1.8.dylib:arm64+0xac470)
    #1 _jl_gc_collect gc.c:3165 (libjulia-internal.1.8.dylib:arm64+0xa5240)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00015891fed0 by thread T30:
    #0 arraylist_push arraylist.c:70 (libjulia-internal.1.8.dylib:arm64+0x119f74)
    #1 ijl_malloc_stack gc-stacks.c:173 (libjulia-internal.1.8.dylib:arm64+0xac1b0)
    #2 ijl_switch task.c:548 (libjulia-internal.1.8.dylib:arm64+0x5ade4)
    #3 julia_try_yieldto_23236 task.jl:814 (sys.dylib:arm64+0x2a7910)
    #4 julia_wait_20337 task.jl:884 (sys.dylib:arm64+0x2a7778)
    #5 <null> <null> (0x000108efc61c)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Location is heap block of size 491520 at 0x0001588cc000 allocated by thread T21:
    #0 realloc <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x57900)
    #1 arraylist_push arraylist.c:69 (libjulia-internal.1.8.dylib:arm64+0x119f00)
    #2 ijl_malloc_stack gc-stacks.c:173 (libjulia-internal.1.8.dylib:arm64+0xac1b0)
    #3 ijl_switch task.c:548 (libjulia-internal.1.8.dylib:arm64+0x5ade4)
    #4 julia_try_yieldto_23236 task.jl:814 (sys.dylib:arm64+0x2a7910)
    #5 julia_wait_20337 task.jl:884 (sys.dylib:arm64+0x2a7778)
    #6 <null> <null> (0x000108efc61c)
    #7 <null> <null> (0x000108efca98)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #10 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T30 (tid=0, finished) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Thread T21 (tid=0, finished) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc-stacks.c:247 in sweep_stack_pools
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00010ec72a08 by main thread:
    #0 sweep_stack_pools gc-stacks.c:223 (libjulia-internal.1.8.dylib:arm64+0xac3cc)
    #1 _jl_gc_collect gc.c:3165 (libjulia-internal.1.8.dylib:arm64+0xa5240)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00010ec72a08 by thread T30:
    #0 ijl_switch task.c:548 (libjulia-internal.1.8.dylib:arm64+0x5ae20)
    #1 julia_try_yieldto_23236 task.jl:814 (sys.dylib:arm64+0x2a7910)
    #2 julia_wait_20337 task.jl:884 (sys.dylib:arm64+0x2a7778)
    #3 <null> <null> (0x000108efc61c)
    #4 <null> <null> (0x000108efca98)
    #5 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #6 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #7 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T30 (tid=0, finished) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc-stacks.c:223 in sweep_stack_pools
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Write of size 8 at 0x0001069805a0 by main thread:
    #0 gc_sweep_pool gc.c:1523 (libjulia-internal.1.8.dylib:arm64+0xa9474)
    #1 _jl_gc_collect gc.c:3170 (libjulia-internal.1.8.dylib:arm64+0xa5394)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 8 at 0x0001069805a0 by thread T32:
    #0 ijl_gc_pool_alloc gc.c:1217 (libjulia-internal.1.8.dylib:arm64+0x9c670)
    #1 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #2 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #3 <null> <null> (0x000108efc61c)
    #4 <null> <null> (0x000108efca98)
    #5 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #6 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #7 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Location is heap block of size 15896 at 0x000106980000 allocated by thread T2:
    #0 calloc <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x579c8)
    #1 jl_init_threadtls threading.c:303 (libjulia-internal.1.8.dylib:arm64+0x95698)
    #2 jl_threadfun partr.c:271 (libjulia-internal.1.8.dylib:arm64+0x96288)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Thread T2 (tid=1074203, running) created by main thread at:
    #0 pthread_create <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x2cd48)
    #1 uv_thread_create_ex thread.c:250 (libjulia-internal.1.8.dylib:arm64+0x137b44)
    #2 uv_thread_create thread.c:204 (libjulia-internal.1.8.dylib:arm64+0x137a74)
    #3 jl_start_threads threading.c:518 (libjulia-internal.1.8.dylib:arm64+0x95b10)
    #4 _finish_julia_init init.c:738 (libjulia-internal.1.8.dylib:arm64+0x59e74)
    #5 julia_init init.c:687 (libjulia-internal.1.8.dylib:arm64+0x58d6c)
    #6 jl_repl_entrypoint jlapi.c:700 (libjulia-internal.1.8.dylib:arm64+0xb4814)
    #7 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #8 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:1523 in gc_sweep_pool
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x0001069805a8 by main thread:
    #0 gc_sweep_pool gc.c:1526 (libjulia-internal.1.8.dylib:arm64+0xa9494)
    #1 _jl_gc_collect gc.c:3170 (libjulia-internal.1.8.dylib:arm64+0xa5394)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x0001069805a8 by thread T32:
    #0 ijl_gc_pool_alloc gc.c:1252 (libjulia-internal.1.8.dylib:arm64+0x9c728)
    #1 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #2 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #3 <null> <null> (0x000108efc61c)
    #4 <null> <null> (0x000108efca98)
    #5 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #6 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #7 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Location is heap block of size 15896 at 0x000106980000 allocated by thread T2:
    #0 calloc <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x579c8)
    #1 jl_init_threadtls threading.c:303 (libjulia-internal.1.8.dylib:arm64+0x95698)
    #2 jl_threadfun partr.c:271 (libjulia-internal.1.8.dylib:arm64+0x96288)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Thread T2 (tid=1074203, running) created by main thread at:
    #0 pthread_create <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x2cd48)
    #1 uv_thread_create_ex thread.c:250 (libjulia-internal.1.8.dylib:arm64+0x137b44)
    #2 uv_thread_create thread.c:204 (libjulia-internal.1.8.dylib:arm64+0x137a74)
    #3 jl_start_threads threading.c:518 (libjulia-internal.1.8.dylib:arm64+0x95b10)
    #4 _finish_julia_init init.c:738 (libjulia-internal.1.8.dylib:arm64+0x59e74)
    #5 julia_init init.c:687 (libjulia-internal.1.8.dylib:arm64+0x58d6c)
    #6 jl_repl_entrypoint jlapi.c:700 (libjulia-internal.1.8.dylib:arm64+0xb4814)
    #7 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #8 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:1526 in gc_sweep_pool
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Write of size 1 at 0x00010ec566c8 by main thread:
    #0 gc_sweep_pool gc.c:1539 (libjulia-internal.1.8.dylib:arm64+0xa9d80)
    #1 _jl_gc_collect gc.c:3170 (libjulia-internal.1.8.dylib:arm64+0xa5394)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous atomic read of size 8 at 0x00010ec566c8 by thread T32:
    #0 __tsan_atomic64_load <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x4f234)
    #1 <null> <null> (0x000108efc0f8)
    #2 <null> <null> (0x000108efca98)
    #3 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #4 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #5 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T32 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:1539 in gc_sweep_pool
==================
64
65
66
67
68
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Atomic write of size 8 at 0x00010ec15868 by main thread:
    #0 __tsan_atomic64_exchange <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 gc_mark_loop gc.c:2303 (libjulia-internal.1.8.dylib:arm64+0x9dfd4)
    #2 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #3 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #4 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #5 <null> <null> (0x00014f0341bc)
    #6 <null> <null> (0x00014f04037c)
    #7 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #8 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #9 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #10 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #11 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #12 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #13 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #16 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #17 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #20 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #21 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #23 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #24 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #25 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #26 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 8 at 0x00010ec15868 by thread T17:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.8.dylib:arm64+0x2c1ec)
    #1 get_next_task partr.c:415 (libjulia-internal.1.8.dylib:arm64+0x972f8)
    #2 ijl_task_get_next partr.c:440 (libjulia-internal.1.8.dylib:arm64+0x96b5c)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7558)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 <null> <null> (0x000108efc61c)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T17 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2303 in gc_mark_loop
==================
69
70
71
72
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Atomic write of size 8 at 0x00010ec70c88 by main thread:
    #0 __tsan_atomic64_exchange <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 _jl_gc_collect gc.c:3031 (libjulia-internal.1.8.dylib:arm64+0xa37fc)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 1 at 0x00010ec70c88 by thread T25:
    #0 jl_gc_wb julia.h:859 (libjulia-internal.1.8.dylib:arm64+0x5c7c0)
    #1 start_task task.c:934 (libjulia-internal.1.8.dylib:arm64+0x5c794)

  Thread T25 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:3031 in _jl_gc_collect
==================
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00010ec70cf0 by main thread:
    #0 gc_mark_loop gc.c:2661 (libjulia-internal.1.8.dylib:arm64+0xa09a0)
    #1 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7510)
    #5 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #6 julia_wait_20318 condition.jl:124 (sys.dylib:arm64+0x43e160)
    #7 jfptr_wait_20319 <null>:78050756 (sys.dylib:arm64+0x43e340)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #9 julia__wait_18410 task.jl:294 (sys.dylib:arm64+0x53e0)
    #10 <null> <null> (0x00014f0343d8)
    #11 <null> <null> (0x00014f04037c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #17 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #20 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #21 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #22 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #24 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #25 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #26 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #28 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #30 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00010ec70cf0 by thread T25:
    #0 julia_enq_work_31441 task.jl (sys.dylib:arm64+0x56d8e0)
    #1 julia_YY.scheduleYY.595_30385 task.jl:753 (sys.dylib:arm64+0x2a7294)
    #2 julia_notify_20832 condition.jl:148 (sys.dylib:arm64+0x36a3cc)
    #3 <null> <null> (0x000108efc224)
    #4 <null> <null> (0x000108efca98)
    #5 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #6 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #7 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T25 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2661 in gc_mark_loop
==================
73
74
75
76
77
78
79
80
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Atomic write of size 8 at 0x00010ebe66a8 by main thread:
    #0 __tsan_atomic64_exchange <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 gc_mark_loop gc.c:2303 (libjulia-internal.1.8.dylib:arm64+0x9dfd4)
    #2 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #3 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #4 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #5 <null> <null> (0x00014f034158)
    #6 <null> <null> (0x00014f04037c)
    #7 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #8 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #9 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #10 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #11 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #12 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #13 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #16 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #17 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #20 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #21 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #23 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #24 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #25 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #26 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 8 at 0x00010ebe66a8 by thread T29:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.8.dylib:arm64+0x2c1ec)
    #1 get_next_task partr.c:415 (libjulia-internal.1.8.dylib:arm64+0x972f8)
    #2 ijl_task_get_next partr.c:460 (libjulia-internal.1.8.dylib:arm64+0x96c10)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7558)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 <null> <null> (0x000108efc61c)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T29 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2303 in gc_mark_loop
==================
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Read of size 8 at 0x00010afe6288 by thread T18:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.8.dylib:arm64+0x2c1ec)
    #1 get_next_task partr.c:415 (libjulia-internal.1.8.dylib:arm64+0x972f8)
    #2 ijl_task_get_next partr.c:440 (libjulia-internal.1.8.dylib:arm64+0x96b5c)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7558)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 <null> <null> (0x000108efc61c)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Previous write of size 1 at 0x00010afe6288 by main thread:
    #0 gc_sweep_pool gc.c:1539 (libjulia-internal.1.8.dylib:arm64+0xa9d80)
    #1 _jl_gc_collect gc.c:3170 (libjulia-internal.1.8.dylib:arm64+0xa5394)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #4 <null> <null> (0x00014f0341bc)
    #5 <null> <null> (0x00014f04037c)
    #6 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #7 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #8 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #9 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #10 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #11 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #13 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #14 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #15 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #16 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #17 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #18 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #19 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #20 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #21 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #22 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #23 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #24 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #25 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Thread T18 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gf.c:2482 in ijl_apply_generic
==================
116
117
118
119
120
121
122
123
124
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Atomic write of size 8 at 0x00010afe69e8 by main thread:
    #0 __tsan_atomic64_exchange <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 gc_mark_loop gc.c:2303 (libjulia-internal.1.8.dylib:arm64+0x9dfd4)
    #2 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #3 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #4 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #5 jl_gc_alloc gc.c:3315 (libjulia-internal.1.8.dylib:arm64+0xa6afc)
    #6 _new_array_ array.c:134 (libjulia-internal.1.8.dylib:arm64+0x5cb40)
    #7 _new_array array.c:200 (libjulia-internal.1.8.dylib:arm64+0x5db34)
    #8 ijl_alloc_array_1d array.c:448 (libjulia-internal.1.8.dylib:arm64+0x5dbc0)
    #9 <null> <null> (0x00014f0340d8)
    #10 <null> <null> (0x00014f04037c)
    #11 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #12 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #13 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #14 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #15 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #16 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #17 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #20 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #21 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #23 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #24 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #25 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #26 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #27 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #28 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #29 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #30 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 8 at 0x00010afe69e8 by thread T16:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.8.dylib:arm64+0x2c1ec)
    #1 get_next_task partr.c:415 (libjulia-internal.1.8.dylib:arm64+0x972f8)
    #2 ijl_task_get_next partr.c:440 (libjulia-internal.1.8.dylib:arm64+0x96b5c)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7558)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 <null> <null> (0x000108efc61c)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T16 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2303 in gc_mark_loop
==================
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
==================
WARNING: ThreadSanitizer: data race (pid=61054)
  Atomic write of size 8 at 0x00010b033d48 by main thread:
    #0 __tsan_atomic64_exchange <null>:78050756 (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x5085c)
    #1 gc_mark_loop gc.c:2303 (libjulia-internal.1.8.dylib:arm64+0x9dfd4)
    #2 _jl_gc_collect gc.c:3044 (libjulia-internal.1.8.dylib:arm64+0xa3fa4)
    #3 ijl_gc_collect gc.c:3270 (libjulia-internal.1.8.dylib:arm64+0xa2dac)
    #4 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.8.dylib:arm64+0x9c5e8)
    #5 <null> <null> (0x00014f0341bc)
    #6 <null> <null> (0x00014f04037c)
    #7 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #8 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #9 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #10 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #11 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #12 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #13 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #16 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #17 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #20 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #21 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #22 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #23 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #24 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #25 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #26 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous read of size 8 at 0x00010b033d48 by thread T17:
    #0 ijl_apply_generic gf.c:2482 (libjulia-internal.1.8.dylib:arm64+0x2c1ec)
    #1 get_next_task partr.c:415 (libjulia-internal.1.8.dylib:arm64+0x972f8)
    #2 ijl_task_get_next partr.c:460 (libjulia-internal.1.8.dylib:arm64+0x96c10)
    #3 julia_poptask_22810 task.jl:874 (sys.dylib:arm64+0x2a7558)
    #4 julia_wait_20337 task.jl:883 (sys.dylib:arm64+0x2a7774)
    #5 <null> <null> (0x000108efc61c)
    #6 <null> <null> (0x000108efca98)
    #7 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #8 jl_finish_task task.c:253 (libjulia-internal.1.8.dylib:arm64+0x5a814)
    #9 start_task task.c:935 (libjulia-internal.1.8.dylib:arm64+0x5c79c)

  Thread T17 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:814 (libjulia-internal.1.8.dylib:arm64+0x5bfac)
    #1 <null> <null> (0x00014f034254)
    #2 <null> <null> (0x00014f04037c)
    #3 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #4 ijl_invoke gf.c:2311 (libjulia-internal.1.8.dylib:arm64+0x2b8d8)
    #5 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.8.dylib:arm64+0x799f0)
    #6 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.8.dylib:arm64+0x797c4)
    #7 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.8.dylib:arm64+0x7ade4)
    #8 japi1_include_string_26548 loading.jl:1251 (sys.dylib:arm64+0x1918a4)
    #9 jl_fptr_args gf.c:2067 (libjulia-internal.1.8.dylib:arm64+0x1e824)
    #10 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #11 japi1__include_20639 loading.jl:1308 (sys.dylib:arm64+0x36b634)
    #12 julia_include_18972 Base.jl:417 (sys.dylib:arm64+0x1cb7b8)
    #13 jfptr_include_18973 <null>:78050756 (sys.dylib:arm64+0x1cb808)
    #14 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #15 julia_exec_options_26124 client.jl:304 (sys.dylib:arm64+0x19804)
    #16 julia__start_18477 client.jl:506 (sys.dylib:arm64+0x19fb8)
    #17 jfptr__start_18478 <null>:78050756 (sys.dylib:arm64+0x1a174)
    #18 ijl_apply_generic gf.c:2486 (libjulia-internal.1.8.dylib:arm64+0x2c808)
    #19 true_main jlapi.c:562 (libjulia-internal.1.8.dylib:arm64+0xb49ac)
    #20 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.8.dylib:arm64+0xb4860)
    #21 jl_load_repl loader_lib.c:272 (libjulia.1.8.dylib:arm64+0x31a0)
    #22 main loader_exe.c:59 (julia:arm64+0x100003f4c)

SUMMARY: ThreadSanitizer: data race gc.c:2303 in gc_mark_loop
==================

The first one at first glance looks like a false positive – libuv appears to use volatile reads and GCC sync builtins instead of C11 memory model primitives, and the read in question is an opportunistic "relaxed" read, which is fine in practice, although probably undefined behaviour in principle in the C++ memory model – and the others are like before.

I'm still not sure whether there is an actual issue here, or whether this is just an instrumentation issue.

@gbaraldi
Copy link
Member

My idea with a Rosetta trace is to find out what is the common thing between running in rosetta and running in arm that triggers the deadlock, tho I have my suspicions that it's related to the big.Little design and running something in the economy cores, there were some other issues that were fixed by setting max cores = performance cores.

@dnadlinger
Copy link
Member

The issue occurs already with JULIA_NUM_THREADS=2 on my M1 Max machine.

As for commonalities, perhaps you could start by looking at the Rosetta version in a debugger?

@gbaraldi
Copy link
Member

gbaraldi commented Dec 31, 2021

I will try to build julia for x86 so I can do a debug build

@gbaraldi
Copy link
Member

As it turns out it's quite simple to build julia for x86 on the m1, just open a terminal via rosetta and it will lie to make building an x86 binary.

@dnadlinger
Copy link
Member

The TSan-reported races don't disappear with TSAN_OPTIONS="force_seq_cst_atomics=1". Still not sure whether they are even related to this issue.

@dnadlinger
Copy link
Member

More conspiracy theroies: Perhaps the difference between Linux and macOS is due to the CPU feature detection (e.g. the implementations of atomics)? #40876 Seems to indeed just be a conspiracy theory, though, as the test case still hung in a quick test with a change similar to #41924.

@chriselrod
Copy link
Contributor

is due to the CPU feature detection

I don't think this is any better on Linux?

@gbaraldi
Copy link
Member

gbaraldi commented Jan 7, 2022

I think it's not related to feature detection since it also happens in rosetta, running julia with tsan in rosetta/x86 I get https://gist.github.com/gbaraldi/ba9f20b83f12c5b8f194fd76eccbb77a which looks like the same as in arm64.

@dnadlinger
Copy link
Member

This appears to "fix" the issue, i.e. gets the above test case and test/threads.jl to pass on my M1 Max:

--- a/src/partr.c
+++ b/src/partr.c
@@ -458,6 +460,7 @@ JL_DLLEXPORT jl_task_t *jl_task_get_next(jl_value_t *trypoptask, jl_value_t *q)
                     jl_atomic_store(&ptls->sleep_check_state, not_sleeping); // let other threads know they don't need to wake us
                 continue;
             }
+            __sync_synchronize();
             task = get_next_task(trypoptask, q); // WARNING: this should not yield
             if (ptls != ct->ptls)
                 continue; // oops, get_next_task did yield--start over

Of course, this isn't an actually correct fix, but just papers over the issue by sprinkling a dmb ish near the area of interest, which is a pretty good hammer for a lot of nails. Perhaps it does point someone into the right direction, though (or might even help people test their stuff on M1 in the meantime).

@dnadlinger
Copy link
Member

Okay, I think I'll have to leave this issue here for a while, as I don't have the bandwidth to trace through all the runtime stack. There are definitely some relaxed loads around where some issues could be hiding (e.g. the usual relaxed loads/stores reordering past SC atomics trap on ARM), but I haven't succeeded in shrinking the area to look at much.

Just to add some final detail, the __sync_synchronize(); needs to be before the jl_apply({ trypoptask, q }) call for the issue to disappear. In particular, putting it before the actual jl_callptr_t invoke()ation inside _jl_invoke(…) works (but of course might also add barriers elsewhere), but just calling Thread.atomic_fence() at the beginning of trypoptask() doesn't.

@dnadlinger
Copy link
Member

dnadlinger commented Jan 9, 2022

Given that we use off-thread signals on Darwin to implement safe points (and call thread_suspend there, etc.), I'm not actually sure how ThreadSanitizer would detect the synchronisation point, even if it is/was behaving correctly.

@vchuravy vchuravy added the system:mac Affects only macOS label Jan 11, 2022
@vtjnash
Copy link
Member

vtjnash commented Jan 11, 2022

Most of those seem likely (mostly) benign, though we continue to work towards annotating them correctly. (If you are interested in fixing libuv, we would be happy to merge a PR there that switches everything to C11 atomics there).

But this one looks bad, as the GC is prohibited from running here:

SUMMARY: ThreadSanitizer: data race gc.c:2249 in gc_mark_loop
==================
==================
WARNING: ThreadSanitizer: data race (pid=29601)
  Read of size 8 at 0x00010a46ea08 by main thread:
    #0 sweep_stack_pools gc-stacks.c:230 (libjulia-internal.1.dylib:arm64+0xa9f28)
    #1 _jl_gc_collect gc.c:3165 (libjulia-internal.1.dylib:arm64+0xa2e00)
    #2 ijl_gc_collect gc.c:3270 (libjulia-internal.1.dylib:arm64+0xa096c)
    #3 ijl_gc_pool_alloc gc.c:1211 (libjulia-internal.1.dylib:arm64+0x9a1a8)
    #4 julia_poptask_26383 task.jl:874 (sys.dylib:arm64+0x5815ac)
    #5 julia_wait_29885 task.jl:883 (sys.dylib:arm64+0x7a96c0)
    #6 julia_wait_29858 condition.jl:124 (sys.dylib:arm64+0x7a7c20)
    #7 jfptr_wait_29859 <null>:12039620 (sys.dylib:arm64+0x7a7e00)
    #8 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #9 julia__wait_39308 task.jl:294 (sys.dylib:arm64+0x5bb38)
    #10 <null> <null> (0x0001418543d4)
    #11 <null> <null> (0x000141a6c37c)
    #12 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #13 ijl_invoke gf.c:2311 (libjulia-internal.1.dylib:arm64+0x29578)
    #14 jl_toplevel_eval_flex toplevel.c:879 (libjulia-internal.1.dylib:arm64+0x77690)
    #15 jl_toplevel_eval_flex toplevel.c:832 (libjulia-internal.1.dylib:arm64+0x77464)
    #16 ijl_toplevel_eval_in toplevel.c:947 (libjulia-internal.1.dylib:arm64+0x78a84)
    #17 japi1_include_string_52267 loading.jl:1251 (sys.dylib:arm64+0x6be5d8)
    #18 jl_fptr_args gf.c:2067 (libjulia-internal.1.dylib:arm64+0x1c4c4)
    #19 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #20 japi1__include_47576 loading.jl:1308 (sys.dylib:arm64+0x6bdffc)
    #21 julia_include_48590 Base.jl:417 (sys.dylib:arm64+0x6bd974)
    #22 jfptr_include_48591 <null>:12039620 (sys.dylib:arm64+0x6bd9c4)
    #23 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #24 julia_exec_options_44574 client.jl:304 (sys.dylib:arm64+0x1ecd18)
    #25 julia__start_23098 client.jl:506 (sys.dylib:arm64+0x1eefdc)
    #26 jfptr__start_23099 <null>:12039620 (sys.dylib:arm64+0x1ef1a8)
    #27 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #28 true_main jlapi.c:562 (libjulia-internal.1.dylib:arm64+0xb256c)
    #29 jl_repl_entrypoint jlapi.c:706 (libjulia-internal.1.dylib:arm64+0xb2420)
    #30 jl_load_repl loader_lib.c:272 (libjulia.dylib:arm64+0x31a0)
    #31 main loader_exe.c:59 (julia:arm64+0x100003f4c)

  Previous write of size 8 at 0x00010a46ea08 by thread T31:
    #0 jl_release_task_stack gc-stacks.c:137 (libjulia-internal.1.dylib:arm64+0xa9be8)
    #1 ijl_switch task.c:548 (libjulia-internal.1.dylib:arm64+0x58b18)
    #2 julia_try_yieldto_28114 task.jl:814 (sys.dylib:arm64+0x555b58)
    #3 julia_wait_29885 task.jl:884 (sys.dylib:arm64+0x7a96c4)
    #4 julia_task_done_hook_39477 task.jl:587 (sys.dylib:arm64+0x80ad8)
    #5 jfptr_task_done_hook_39478 <null>:12039620 (sys.dylib:arm64+0x80fc8)
    #6 ijl_apply_generic gf.c:2486 (libjulia-internal.1.dylib:arm64+0x2a4a8)
    #7 jl_finish_task task.c:253 (libjulia-internal.1.dylib:arm64+0x584b4)
    #8 start_task task.c:935 (libjulia-internal.1.dylib:arm64+0x5a43c)

But perhaps this is an annotation issue, as we were about to destroy that thread, so possibly the compiler did not realize our fibers are eventually synchronized for GC on a per-thread basis?

@vtjnash
Copy link
Member

vtjnash commented Jan 11, 2022

I am fairly sure that fence is needed slightly earlier at 6bba175#diff-12cc999d04343402aae8088cc67f9b6680cc9403d967e400e5235415e0040f47R473-R474

But also slightly later at
6bba175#diff-12cc999d04343402aae8088cc67f9b6680cc9403d967e400e5235415e0040f47R380-R381

On many platforms, doing seqcst on the operation or as a fence emit the same instructions, but not on AArch64 (https://www.cl.cam.ac.uk/~pes20/cpp/cpp0xmappings.html) where seqcst is translated to merely an acquire/release on that operation, and does not also emit the required dmb ish fence.

@giordano
Copy link
Contributor

giordano commented Jan 20, 2022

I built latest master + 6bba175, ran the MWE in the original post five times and I couldn't get it to hang with 1k iterations, while it used to reliably hang for me before ~200.

@hexaeder
Copy link
Contributor Author

Can confirm, does not work on master but works on master + cherry picked 38620a (which is the same commit after the rebase).
Great work you all!! Julia on Apple Silicon is really comming together! 🎉

@dnadlinger
Copy link
Member

dnadlinger commented Jan 27, 2022

Now on master: 6df6105.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multithreading Base.Threads and related functionality system:apple silicon Affects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chips system:mac Affects only macOS
Projects
None yet
Development

No branches or pull requests