JuliaLang / julia

The Julia Programming Language
https://julialang.org/
MIT License
45.88k stars 5.49k forks source link

Repeated segfaults on Windows integration tests #47957

Open MilesCranmer opened 1 year ago

MilesCranmer commented 1 year ago

I have been seeing segfaults on my Windows CI of SymbolicRegression.jl for maybe ~6 months now, and I am finally throwing in the towel and submitting a bug report.

What seems to be happening is the test suite will experience a segfault at some part of my test suite, randomly at some point through these integration test sets, which happen after the unit tests. The integration tests use multiprocessing, multithreading, and various other compute options, but they are not too strenuous and the Ubuntu and macOS tests always seem to pass fine.

I cannot reproduce these segfaults on a local copy of Windows; I only see them on GitHub actions' windows-latest machines. I usually see them on Julia 1.6.7 and Julia 1.7.3, although I have seen them on Julia 1.8.2 as well (but less frequently). If you have any recommendations for how I can get better traces of these segfaults, I would love to hear it. I know of the rr option on Linux, but it seems like there is no good equivalent for Windows.

Essentially, the Windows tests will randomly segfault someway through the integration tests. Here are a few examples:

  1. windows-latest, Julia 1.6.7, commit 367d155. Segfaults at this test (multi-threading; with a few different search settings) - https://github.com/MilesCranmer/SymbolicRegression.jl/blob/367d155f26c5a7f0faf26bf529b95f097f1f7f22/test/test_mixed.jl#L39.

    Press 'q' and then <enter> to stop execution early.
    Passed.
    Testing with batching=false and weighted=false, with multi-threading and crossover and use_frequency_in_tournament
    ERROR: Package SymbolicRegression errored during testing (exit code: 3221225477)
    Stacktrace:
    [1] pkgerror(msg::String)
    @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:55
    [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing)
    @ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1712
    [3] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, kwargs::Base.Iterators.Pairs{Symbol, IOContext{Base.PipeEndpoint}, Tuple{Symbol}, NamedTuple{(:io,), Tuple{IOContext{Base.PipeEndpoint}}}})
    @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:343
    [4] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{Base.PipeEndpoint}, kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:coverage,), Tuple{Bool}}})
    @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:80
    [5] test(; name::Nothing, uuid::Nothing, version::Nothing, url::Nothing, rev::Nothing, path::Nothing, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:coverage,), Tuple{Bool}}})
    @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:96
    [6] top-level scope
    @ none:1
    Started!
  2. windows-latest, Julia 1.7.3, commit 367d155. Segfaults at the same test, but a little later on:

    Testing with batching=false and weighted=false, with multi-threading and crossover and use_frequency_in_tournament
    Started!
    ERROR: Package SymbolicRegression errored during testing (exit code: 3221225477)
    Stacktrace:
    [1] pkgerror(msg::String)
    @ Pkg.Types C:\hostedtoolcache\windows\julia\1.7.3\x64\share\julia\stdlib\v1.7\Pkg\src\Types.jl:68
    [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool)
    @ Pkg.Operations C:\hostedtoolcache\windows\julia\1.7.3\x64\share\julia\stdlib\v1.7\Pkg\src\Operations.jl:1672
    [3] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::Base.Pairs{Symbol, IOContext{Base.PipeEndpoint}, Tuple{Symbol}, NamedTuple{(:io,), Tuple{IOContext{Base.PipeEndpoint}}}})
    @ Pkg.API C:\hostedtoolcache\windows\julia\1.7.3\x64\share\julia\stdlib\v1.7\Pkg\src\API.jl:421
    [4] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{Base.PipeEndpoint}, kwargs::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:coverage,), Tuple{Bool}}})
    @ Pkg.API C:\hostedtoolcache\windows\julia\1.7.3\x64\share\julia\stdlib\v1.7\Pkg\src\API.jl:149
    [5] test(; name::Nothing, uuid::Nothing, version::Nothing, url::Nothing, rev::Nothing, path::Nothing, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:coverage,), Tuple{Bool}}})
    @ Pkg.API C:\hostedtoolcache\windows\julia\1.7.3\x64\share\julia\stdlib\v1.7\Pkg\src\API.jl:164
    [6] top-level scope
    @ none:1

At this commit, the test passes for Julia 1.8.2. All other operating systems pass.

  1. windows-latest, Julia 1.6.7, commit 81f9544 same error as above.

  2. windows-latest, Julia 1.7.3, commit 81f9544. This one lasts longer than before. I think that this one segfaults here, which is the suite after the above test.

Testing entire pipeline on workers...Finished!
Started!
Passed.
Started!
ERROR: Package SymbolicRegression errored during testing (exit code: 3221225477)
Stacktrace:
 [1] pkgerror(msg::String)
   @ Pkg.Types C:\hostedtoolcache\windows\julia\1.7.3\x64\share\julia\stdlib\v1.7\Pkg\src\Types.jl:68
 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool)
   @ Pkg.Operations C:\hostedtoolcache\windows\julia\1.7.3\x64\share\julia\stdlib\v1.7\Pkg\src\Operations.jl:1672
 [3] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::Base.Pairs{Symbol, IOContext{Base.PipeEndpoint}, Tuple{Symbol}, NamedTuple{(:io,), Tuple{IOContext{Base.PipeEndpoint}}}})
   @ Pkg.API C:\hostedtoolcache\windows\julia\1.7.3\x64\share\julia\stdlib\v1.7\Pkg\src\API.jl:421
 [4] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{Base.PipeEndpoint}, kwargs::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:coverage,), Tuple{Bool}}})
   @ Pkg.API C:\hostedtoolcache\windows\julia\1.7.3\x64\share\julia\stdlib\v1.7\Pkg\src\API.jl:149
 [5] test(; name::Nothing, uuid::Nothing, version::Nothing, url::Nothing, rev::Nothing, path::Nothing, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:coverage,), Tuple{Bool}}})
   @ Pkg.API C:\hostedtoolcache\windows\julia\1.7.3\x64\share\julia\stdlib\v1.7\Pkg\src\API.jl:164
 [6] top-level scope
   @ none:1

Any help would be much appreciated.


These may or may not be related to these segfaults in the PyJulia frontend: https://github.com/MilesCranmer/PySR/issues/238.

MilesCranmer commented 1 year ago

I will also add that I have been running the test suite with --check-bounds=yes, and there do not appear to be any detected out of bounds errors.

vtjnash commented 1 year ago

It sounds like you are likely to have a data-race in the code, and either need to disable threading, or perhaps try ThreadSanitizer (on linux) to see if it can catch it

MilesCranmer commented 1 year ago

I never see an issue on Linux though, only Windows. Is there a tool to find data races on Windows? (Or maybe to see if the Linux run also experiences the data race, but simply does not segfault over it?)

I can't immediately think of anywhere there could be a race condition in the current code, but I will have a closer look. For the most part:

  1. Tasks do not share any mutable objects - each operates on an independent subset created for that task, before passing results back to the head node asynchronously.
  2. Tasks return work to separate channels: task content created here, then fetched here, then finally checked for completion here.

I suppose maybe there could be an issue of objects not being copied when passed to a thread, and so perhaps the head worker tries to access the same object before fetching...?

Is there any other thing you could think of other than a data race?


Edit: I found what look like a couple chances for data races: https://github.com/MilesCranmer/SymbolicRegression.jl/commit/538c402d9315c7ef29c049a1211403f2ab4c7c22. Let's see if that helps!


Edit 2: Nope, still getting segfaults even after that fix: https://github.com/MilesCranmer/SymbolicRegression.jl/actions/runs/3759279230/jobs/6388650870#step:7:880.

MilesCranmer commented 1 year ago

Are there any binaries with ThreadSanitizer built-in? I'm building from source and it's taking quite a while compared to a normal build... nearly 24 hours building now.

MilesCranmer commented 1 year ago

@vtjnash I seem to be unable to build Julia with thread-sanitizer. Would you happen to have any advice for using it? I can build with address sanitizer just fine (following this), but thread sanitizer, I encounter various problems. Presumably because that page has much more detailed instructions for address sanitizer, I am probably missing some flags which are not mentioned?


Rocky Linux 8.7

First building the toolchain (following https://docs.julialang.org/en/v1/devdocs/sanitizers/#Example-setup), then building with `make debug` for Julia 1.8.3 with the following `Make.user` ``` TOOLCHAIN_WORKTREE=/dev/shm/toolchain TOOLCHAIN=$(TOOLCHAIN_WORKTREE)/usr/tools # use our new toolchain USECLANG=1 override CC=$(TOOLCHAIN)/clang override CXX=$(TOOLCHAIN)/clang++ USE_BINARYBUILDER_LLVM=1 override SANITIZE=1 override SANITIZE_THREAD=1 ```

gives me the following error:

    ...
    LINK src/flisp/libflisp-debug.a
    LINK src/flisp/flisp-debug
    LINK usr/lib/libjulia-internal-debug.so.1.8
    LINK usr/lib/libjulia-internal-debug.so.1
    LINK usr/lib/libjulia-internal-debug.so
1 warning generated.
    LINK usr/lib/libjulia-codegen-debug.so.1.8
    LINK usr/lib/libjulia-codegen-debug.so.1
    LINK usr/lib/libjulia-codegen-debug.so
    JULIA usr/lib/julia/corecompiler.ji
/bin/sh: line 1: 112149 Segmentation fault      (core dumped) /dev/shm/thread_sanitizer_v3/usr/bin/julia-debug -C "native" --output-ji /dev/shm/thread_sa$itizer_v3/usr/lib/julia/corecompiler.ji.tmp --startup-file=no --warn-overwri$e=yes -g0 -O0 compiler/compiler.jl
make[1]: *** [sysimage.mk:61: /dev/shm/thread_sanitizer_v3/usr/lib/julia/cor$compiler.ji] Error 139
make: *** [Makefile:82: julia-sysimg-ji] Error 2

I also tried the following alternative env variables, with the same segfault:

JULIA_PRECOMPILE=1
override WITH_GC_DEBUG_ENV=1
override JULIA_BUILD_MODE=debug
export LBT_USE_RTLD_DEEPBIND=0

Each of these I commented out or left as is. Same error. I ran make cleanall each time and built from scratch.


macOS Ventura 13.1 (M1 Pro)

This takes over 24 hours to complete a single build, with the same combinations as above. It gets a bit further, but in the end, I segfault on building sys.jl.


Building just with ASAN

If I follow the tutorial on https://docs.julialang.org/en/v1/devdocs/sanitizers/#Example-setup exactly, for ASAN, I can actually build everything. It is only when I attempt to build TSAN do I get an error. Are there any flags not described in the docs which I am missing? Thanks.

MilesCranmer commented 1 year ago

Is it possible to build the current version of Julia with thread sanitizer? Here's a docker container which gives a reproducible segfault during the build:

FROM ubuntu:20.04

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y --no-install-recommends \
    build-essential \
    cmake \
    git \
    wget \
    ca-certificates \
    curl \
    gpg-agent \
    software-properties-common \
    python3 \
    python3-dev \
    tar \
    xz-utils \
    gfortran

RUN wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && ./llvm.sh 13

WORKDIR /toolchain
ENV TOOLCHAIN_WORKTREE=/toolchain

ARG JLVERSION=1.8.3
ARG PROCS=4

RUN git clone https://github.com/JuliaLang/julia ${TOOLCHAIN_WORKTREE} && \
    cd ${TOOLCHAIN_WORKTREE} && \
    git checkout v${JLVERSION}

# Build the toolchain
RUN echo "USE_BINARYBUILDER_LLVM=1" > ${TOOLCHAIN_WORKTREE}/Make.user && \
    echo "BUILD_LLVM_CLANG=1" >> ${TOOLCHAIN_WORKTREE}/Make.user

RUN cd ${TOOLCHAIN_WORKTREE} && make -j ${PROCS} -C deps install-llvm install-clang install-llvm-tools

WORKDIR /julia
ENV BUILDDIR=/julia
RUN git clone https://github.com/JuliaLang/julia ${BUILDDIR} && \
    cd ${BUILDDIR} && \
    git checkout v${JLVERSION}

# Put the above commands into /julia/Make.user:
RUN echo "USECLANG=1" > ${BUILDDIR}/Make.user && \
    echo "TOOLCHAIN_WORKTREE=/toolchain" >> ${BUILDDIR}/Make.user && \
    echo "TOOLCHAIN=\$(TOOLCHAIN_WORKTREE)/usr/tools" >> ${BUILDDIR}/Make.user && \
    echo "override CC=\$(TOOLCHAIN)/clang" >> ${BUILDDIR}/Make.user && \
    echo "override CXX=\$(TOOLCHAIN)/clang++" >> ${BUILDDIR}/Make.user && \
    echo "export ASAN_SYMBOLIZER_PATH=\$(TOOLCHAIN)/llvm-symbolizer" >> ${BUILDDIR}/Make.user && \
    echo "USE_BINARYBUILDER_LLVM=1" >> ${BUILDDIR}/Make.user && \
    echo "override SANITIZE=1" >> ${BUILDDIR}/Make.user && \
    echo "override SANITIZE_THREAD=1" >> ${BUILDDIR}/Make.user && \
    echo "override JULIA_BUILD_MODE=debug" >> ${BUILDDIR}/Make.user && \
    echo "JULIA_PRECOMPILE=1" >> ${BUILDDIR}/Make.user && \
    echo "export LBT_USE_RTLD_DEEPBIND=0" >> ${BUILDDIR}/Make.user

# Build:
RUN make -j ${PROCS} debug

You can run with, e.g., docker build --build-arg JLVERSION=1.8.3 --build-arg PROCS=8 -t sanitizedjulia ., and you will see the same segfault I am currently encountering:

1 warning generated.
    LINK usr/lib/libjulia-codegen-debug.so.1.8
    LINK usr/lib/libjulia-codegen-debug.so.1
    LINK usr/lib/libjulia-codegen-debug.so
    JULIA usr/libcorecompiler.ji
Segmentation fault (core dumped)
make[1]: *** [sysimage.mk:61: /julia/usr/lib/julia/corecompiler.ji] Error 139
make: *** [Makefile:82: julia-sysimg-ji] Error 2
The command '/bin/sh -c make -j ${PROCS} debug' returned a non-zero code: 2
MilesCranmer commented 1 year ago

Okay I finally got it working with TSAN after a couple of weeks of trying to build it.

However, TSAN does not raise a single warning when running my code. So it seems there are no data races after all.

Do you have any other tips for trying to debug this?

MilesCranmer commented 1 year ago

Sorry, I take that back. I was running Julia with 1 thread!

Looks like there are indeed some data races. Here are the outputs from a run of SymbolicRegression.EquationSearch, the main parallel loop. Any advice on how I should interpret this information?

WARNING: ThreadSanitizer: data race (pid=75535)
  Read of size 8 at 0x000146850e78 by thread T110:
    #0 <null> <null> (0x000390e65198)
    #1 <null> <null> (0x000390eac9a0)
    #2 <null> <null> (0x000390eb8250)
    #3 <null> <null> (0x000390ec40ec)
    #4 <null> <null> (0x000390ec4200)
    #5 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #6 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #7 <null> <null> (0x00038e6f87f4)
    #8 <null> <null> (0x00038e6f8e84)
    #9 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #10 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #11 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x8f37c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #12 start_task task.c:931 (libjulia-internal-debug.1.8.dylib:arm64+0x92d58) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)

  Previous write of size 8 at 0x000146850e78 by thread T116:
    #0 <null> <null> (0x000387494390)
    #1 <null> <null> (0x00038e6f8650)
    #2 <null> <null> (0x00038e6f8e84)
    #3 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #4 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #5 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x8f37c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #6 start_task task.c:931 (libjulia-internal-debug.1.8.dylib:arm64+0x92d58) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)

  Thread T110 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:820 (libjulia-internal-debug.1.8.dylib:arm64+0x91b28) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #1 <null> <null> (0x0003876373cc)
    #2 <null> <null> (0x0003876002a8)
    #3 <null> <null> (0x00038762420c)
    #4 <null> <null> (0x00014c4d0138)
    #5 <null> <null> (0x00014c4d01fc)
    #6 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #7 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #8 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x86a1c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #9 do_call interpreter.c:126 (libjulia-internal-debug.1.8.dylib:arm64+0x865a4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #10 eval_value interpreter.c:215 (libjulia-internal-debug.1.8.dylib:arm64+0x83b8c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #11 eval_stmt_value interpreter.c:166 (libjulia-internal-debug.1.8.dylib:arm64+0x85a54) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #12 eval_body interpreter.c:594 (libjulia-internal-debug.1.8.dylib:arm64+0x81de0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #13 jl_interpret_toplevel_thunk interpreter.c:750 (libjulia-internal-debug.1.8.dylib:arm64+0x82ebc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #14 jl_toplevel_eval_flex toplevel.c:906 (libjulia-internal-debug.1.8.dylib:arm64+0xd1034) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #15 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #16 ijl_toplevel_eval toplevel.c:915 (libjulia-internal-debug.1.8.dylib:arm64+0xd36e4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #17 ijl_toplevel_eval_in toplevel.c:965 (libjulia-internal-debug.1.8.dylib:arm64+0xd3b48) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #18 <null> <null> (0x00015ba08628)
    #19 <null> <null> (0x00015ba14440)
    #20 <null> <null> (0x00015ba20100)
    #21 <null> <null> (0x00015bbbd5f4)
    #22 <null> <null> (0x00015bbc8034)
    #23 <null> <null> (0x00015bbc8084)
    #24 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #25 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #26 <null> <null> (0x0001233ac89c)
    #27 <null> <null> (0x0001233ac9b8)
    #28 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #29 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #30 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x68118) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #31 jl_f__call_latest builtins.c:774 (libjulia-internal-debug.1.8.dylib:arm64+0x68074) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #32 <null> <null> (0x00012328483c)
    #33 <null> <null> (0x000123395878)
    #34 <null> <null> (0x0001233a0344)
    #35 <null> <null> (0x0001233a04f8)
    #36 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #37 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #38 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x137548) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #39 true_main jlapi.c:575 (libjulia-internal-debug.1.8.dylib:arm64+0x139880) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #40 jl_repl_entrypoint jlapi.c:719 (libjulia-internal-debug.1.8.dylib:arm64+0x139674) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #41 jl_load_repl loader_lib.c:471 (libjulia-debug.1.8.dylib:arm64+0x3010) (BuildId: e0d74e9cb12b3345a6bb92ce3ab1dc7732000000200000000100000000000b00)
    #42 main loader_exe.c:59 (julia-debug:arm64+0x100003eec) (BuildId: af341df0d9c53779904c6eb05a1a180b32000000200000000100000000000b00)

  Thread T116 (tid=0, running) created by main thread at:
    #0 ijl_new_task task.c:820 (libjulia-internal-debug.1.8.dylib:arm64+0x91b28) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #1 <null> <null> (0x0003876373cc)
    #2 <null> <null> (0x0003876002a8)
    #3 <null> <null> (0x00038762420c)
    #4 <null> <null> (0x00014c4d0138)
    #5 <null> <null> (0x00014c4d01fc)
    #6 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #7 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #8 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x86a1c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #9 do_call interpreter.c:126 (libjulia-internal-debug.1.8.dylib:arm64+0x865a4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #10 eval_value interpreter.c:215 (libjulia-internal-debug.1.8.dylib:arm64+0x83b8c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #11 eval_stmt_value interpreter.c:166 (libjulia-internal-debug.1.8.dylib:arm64+0x85a54) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #12 eval_body interpreter.c:594 (libjulia-internal-debug.1.8.dylib:arm64+0x81de0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #13 jl_interpret_toplevel_thunk interpreter.c:750 (libjulia-internal-debug.1.8.dylib:arm64+0x82ebc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #14 jl_toplevel_eval_flex toplevel.c:906 (libjulia-internal-debug.1.8.dylib:arm64+0xd1034) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #15 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #16 ijl_toplevel_eval toplevel.c:915 (libjulia-internal-debug.1.8.dylib:arm64+0xd36e4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #17 ijl_toplevel_eval_in toplevel.c:965 (libjulia-internal-debug.1.8.dylib:arm64+0xd3b48) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #18 <null> <null> (0x00015ba08628)
    #19 <null> <null> (0x00015ba14440)
    #20 <null> <null> (0x00015ba20100)
    #21 <null> <null> (0x00015bbbd5f4)
    #22 <null> <null> (0x00015bbc8034)
    #23 <null> <null> (0x00015bbc8084)
    #24 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #25 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #26 <null> <null> (0x0001233ac89c)
    #27 <null> <null> (0x0001233ac9b8)
    #28 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #29 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #30 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x68118) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #31 jl_f__call_latest builtins.c:774 (libjulia-internal-debug.1.8.dylib:arm64+0x68074) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #32 <null> <null> (0x00012328483c)
    #33 <null> <null> (0x000123395878)
    #34 <null> <null> (0x0001233a0344)
    #35 <null> <null> (0x0001233a04f8)
    #36 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #37 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #38 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x137548) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #39 true_main jlapi.c:575 (libjulia-internal-debug.1.8.dylib:arm64+0x139880) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #40 jl_repl_entrypoint jlapi.c:719 (libjulia-internal-debug.1.8.dylib:arm64+0x139674) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00)
    #41 jl_load_repl loader_lib.c:471 (libjulia-debug.1.8.dylib:arm64+0x3010) (BuildId: e0d74e9cb12b3345a6bb92ce3ab1dc7732000000200000000100000000000b00)
    #42 main loader_exe.c:59 (julia-debug:arm64+0x100003eec) (BuildId: af341df0d9c53779904c6eb05a1a180b32000000200000000100000000000b00)

SUMMARY: ThreadSanitizer: data race (<unknown module>)
Edit: more outputs ``` ================== WARNING: ThreadSanitizer: data race (pid=77090) Read of size 1 at 0x0002e0d7d598 by thread T329: #0 sweep_page gc.c:1379 (libjulia-internal-debug.1.8.dylib:arm64+0x11ebdc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #1 sweep_pool_page gc.c:1447 (libjulia-internal-debug.1.8.dylib:arm64+0x11e73c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #2 sweep_pool_pagetable0 gc.c:1467 (libjulia-internal-debug.1.8.dylib:arm64+0x11e588) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #3 sweep_pool_pagetable1 gc.c:1487 (libjulia-internal-debug.1.8.dylib:arm64+0x11e31c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #4 sweep_pool_pagetable gc.c:1517 (libjulia-internal-debug.1.8.dylib:arm64+0x11e084) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #5 gc_sweep_pool gc.c:1592 (libjulia-internal-debug.1.8.dylib:arm64+0x11cf98) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #6 _jl_gc_collect gc.c:3243 (libjulia-internal-debug.1.8.dylib:arm64+0x11677c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 ijl_gc_collect gc.c:3346 (libjulia-internal-debug.1.8.dylib:arm64+0x1155e8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 maybe_collect gc.c:903 (libjulia-internal-debug.1.8.dylib:arm64+0x117d04) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #9 jl_gc_pool_alloc_inner gc.c:1247 (libjulia-internal-debug.1.8.dylib:arm64+0x10e068) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #10 ijl_gc_pool_alloc gc.c:1296 (libjulia-internal-debug.1.8.dylib:arm64+0x10df70) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #11 (0x0003813ec2e8) #12 (0x0003813ec218) #13 (0x0003813ec1fc) #14 (0x0003816040c4) #15 (0x000388240578) #16 (0x00038a2d49a0) #17 (0x00038a2e0250) #18 (0x00038a2ec0ec) #19 (0x00038a2ec200) #20 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #21 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #22 (0x000388fd4770) #23 (0x000388fd4d80) #24 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #25 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #26 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x8f37c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #27 start_task task.c:931 (libjulia-internal-debug.1.8.dylib:arm64+0x92d58) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) Previous atomic write of size 8 at 0x0002e0d7d598 by thread T323: #0 (0x0003882402a8) #1 (0x00038a2d49a0) #2 (0x00038a2e0250) #3 (0x00038a2ec0ec) #4 (0x00038a2ec200) #5 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #6 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 (0x000388fd4770) #8 (0x000388fd4d80) #9 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #10 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #11 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x8f37c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #12 start_task task.c:931 (libjulia-internal-debug.1.8.dylib:arm64+0x92d58) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) Thread T329 (tid=0, running) created by main thread at: #0 ijl_new_task task.c:820 (libjulia-internal-debug.1.8.dylib:arm64+0x91b28) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #1 (0x000382fc75dc) #2 (0x000382f902a8) #3 (0x000382fb420c) #4 (0x000382fe0138) #5 (0x000382fe01fc) #6 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x86a1c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #9 do_call interpreter.c:126 (libjulia-internal-debug.1.8.dylib:arm64+0x865a4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #10 eval_value interpreter.c:215 (libjulia-internal-debug.1.8.dylib:arm64+0x83b8c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #11 eval_stmt_value interpreter.c:166 (libjulia-internal-debug.1.8.dylib:arm64+0x85a54) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #12 eval_body interpreter.c:594 (libjulia-internal-debug.1.8.dylib:arm64+0x81de0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #13 jl_interpret_toplevel_thunk interpreter.c:750 (libjulia-internal-debug.1.8.dylib:arm64+0x82ebc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #14 jl_toplevel_eval_flex toplevel.c:906 (libjulia-internal-debug.1.8.dylib:arm64+0xd1034) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #15 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #16 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #17 ijl_toplevel_eval toplevel.c:915 (libjulia-internal-debug.1.8.dylib:arm64+0xd36e4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #18 ijl_toplevel_eval_in toplevel.c:965 (libjulia-internal-debug.1.8.dylib:arm64+0xd3b48) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #19 (0x0001272dc058) #20 (0x0001272e8344) #21 (0x0001272e84f8) #22 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #23 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #24 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x137548) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #25 true_main jlapi.c:575 (libjulia-internal-debug.1.8.dylib:arm64+0x139880) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #26 jl_repl_entrypoint jlapi.c:719 (libjulia-internal-debug.1.8.dylib:arm64+0x139674) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #27 jl_load_repl loader_lib.c:471 (libjulia-debug.1.8.dylib:arm64+0x3010) (BuildId: e0d74e9cb12b3345a6bb92ce3ab1dc7732000000200000000100000000000b00) #28 main loader_exe.c:59 (julia-debug:arm64+0x100003eec) (BuildId: af341df0d9c53779904c6eb05a1a180b32000000200000000100000000000b00) Thread T323 (tid=0, running) created by main thread at: #0 ijl_new_task task.c:820 (libjulia-internal-debug.1.8.dylib:arm64+0x91b28) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #1 (0x000382fc75dc) #2 (0x000382f902a8) #3 (0x000382fb420c) #4 (0x000382fe0138) #5 (0x000382fe01fc) #6 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x86a1c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #9 do_call interpreter.c:126 (libjulia-internal-debug.1.8.dylib:arm64+0x865a4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #10 eval_value interpreter.c:215 (libjulia-internal-debug.1.8.dylib:arm64+0x83b8c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #11 eval_stmt_value interpreter.c:166 (libjulia-internal-debug.1.8.dylib:arm64+0x85a54) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #12 eval_body interpreter.c:594 (libjulia-internal-debug.1.8.dylib:arm64+0x81de0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #13 jl_interpret_toplevel_thunk interpreter.c:750 (libjulia-internal-debug.1.8.dylib:arm64+0x82ebc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #14 jl_toplevel_eval_flex toplevel.c:906 (libjulia-internal-debug.1.8.dylib:arm64+0xd1034) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #15 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #16 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #17 ijl_toplevel_eval toplevel.c:915 (libjulia-internal-debug.1.8.dylib:arm64+0xd36e4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #18 ijl_toplevel_eval_in toplevel.c:965 (libjulia-internal-debug.1.8.dylib:arm64+0xd3b48) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #19 (0x0001272dc058) #20 (0x0001272e8344) #21 (0x0001272e84f8) #22 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #23 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #24 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x137548) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #25 true_main jlapi.c:575 (libjulia-internal-debug.1.8.dylib:arm64+0x139880) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #26 jl_repl_entrypoint jlapi.c:719 (libjulia-internal-debug.1.8.dylib:arm64+0x139674) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #27 jl_load_repl loader_lib.c:471 (libjulia-debug.1.8.dylib:arm64+0x3010) (BuildId: e0d74e9cb12b3345a6bb92ce3ab1dc7732000000200000000100000000000b00) #28 main loader_exe.c:59 (julia-debug:arm64+0x100003eec) (BuildId: af341df0d9c53779904c6eb05a1a180b32000000200000000100000000000b00) SUMMARY: ThreadSanitizer: data race gc.c:1379 in sweep_page ================== ================== WARNING: ThreadSanitizer: data race (pid=77090) Read of size 2 at 0x0002c8ef2c00 by thread T329: #0 sweep_pool_page gc.c:1443 (libjulia-internal-debug.1.8.dylib:arm64+0x11e670) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #1 sweep_pool_pagetable0 gc.c:1467 (libjulia-internal-debug.1.8.dylib:arm64+0x11e588) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #2 sweep_pool_pagetable1 gc.c:1487 (libjulia-internal-debug.1.8.dylib:arm64+0x11e31c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #3 sweep_pool_pagetable gc.c:1517 (libjulia-internal-debug.1.8.dylib:arm64+0x11e084) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #4 gc_sweep_pool gc.c:1592 (libjulia-internal-debug.1.8.dylib:arm64+0x11cf98) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #5 _jl_gc_collect gc.c:3243 (libjulia-internal-debug.1.8.dylib:arm64+0x11677c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #6 ijl_gc_collect gc.c:3346 (libjulia-internal-debug.1.8.dylib:arm64+0x1155e8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 maybe_collect gc.c:903 (libjulia-internal-debug.1.8.dylib:arm64+0x117d04) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 jl_gc_pool_alloc_inner gc.c:1247 (libjulia-internal-debug.1.8.dylib:arm64+0x10e068) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #9 ijl_gc_pool_alloc gc.c:1296 (libjulia-internal-debug.1.8.dylib:arm64+0x10df70) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #10 (0x0003813ec2e8) #11 (0x0003813ec218) #12 (0x0003813ec1fc) #13 (0x0003816040c4) #14 (0x000388240578) #15 (0x00038a2d49a0) #16 (0x00038a2e0250) #17 (0x00038a2ec0ec) #18 (0x00038a2ec200) #19 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #20 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #21 (0x000388fd4770) #22 (0x000388fd4d80) #23 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #24 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #25 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x8f37c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #26 start_task task.c:931 (libjulia-internal-debug.1.8.dylib:arm64+0x92d58) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) Previous write of size 2 at 0x0002c8ef2c00 by thread T327: #0 add_page gc.c:1229 (libjulia-internal-debug.1.8.dylib:arm64+0x11ad74) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #1 jl_gc_pool_alloc_inner gc.c:1285 (libjulia-internal-debug.1.8.dylib:arm64+0x10e440) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #2 jl_gc_pool_alloc_noinline gc.c:1306 (libjulia-internal-debug.1.8.dylib:arm64+0x10e504) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #3 jl_gc_alloc_ julia_internal.h:368 (libjulia-internal-debug.1.8.dylib:arm64+0x10ce5c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #4 jl_gc_alloc gc.c:3391 (libjulia-internal-debug.1.8.dylib:arm64+0x117420) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #5 _new_array_ array.c:134 (libjulia-internal-debug.1.8.dylib:arm64+0x93b18) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #6 _new_array array.c:198 (libjulia-internal-debug.1.8.dylib:arm64+0x9630c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 ijl_alloc_array_1d array.c:436 (libjulia-internal-debug.1.8.dylib:arm64+0x9637c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 (0x000382ac00fc) #9 (0x000382ad84c0) #10 (0x00038a2c80f4) #11 (0x00038a2d45d8) #12 (0x00038a2e0250) #13 (0x00038a2ec0ec) #14 (0x00038a2ec200) #15 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #16 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #17 (0x000388fd4770) #18 (0x000388fd4d80) #19 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #20 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #21 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x8f37c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #22 start_task task.c:931 (libjulia-internal-debug.1.8.dylib:arm64+0x92d58) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) Location is heap block of size 163840 at 0x0002c8ed0000 allocated by main thread: #0 calloc :119543520 (libclang_rt.tsan_osx_dynamic.dylib:arm64+0x37200) (BuildId: cda2289819863a529ee50716abc15be132000000200000000100000000000b00) #1 gc_perm_alloc_large gc.c:3727 (libjulia-internal-debug.1.8.dylib:arm64+0x11953c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #2 jl_gc_perm_alloc_nolock gc.c:3757 (libjulia-internal-debug.1.8.dylib:arm64+0x119280) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #3 jl_gc_alloc_new_page gc-pages.c:94 (libjulia-internal-debug.1.8.dylib:arm64+0x122434) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #4 jl_gc_alloc_page gc-pages.c:222 (libjulia-internal-debug.1.8.dylib:arm64+0x121e04) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #5 add_page gc.c:1226 (libjulia-internal-debug.1.8.dylib:arm64+0x11acc0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #6 jl_gc_pool_alloc_inner gc.c:1285 (libjulia-internal-debug.1.8.dylib:arm64+0x10e440) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 jl_gc_pool_alloc_noinline gc.c:1306 (libjulia-internal-debug.1.8.dylib:arm64+0x10e504) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 jl_gc_alloc_ julia_internal.h:368 (libjulia-internal-debug.1.8.dylib:arm64+0x10ce5c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #9 jl_gc_alloc gc.c:3391 (libjulia-internal-debug.1.8.dylib:arm64+0x117420) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #10 ijl_new_struct datatype.c:1263 (libjulia-internal-debug.1.8.dylib:arm64+0xe1a5c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #11 ijl_type_union jltypes.c:517 (libjulia-internal-debug.1.8.dylib:arm64+0x20e64) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #12 inst_type_w_ jltypes.c:1778 (libjulia-internal-debug.1.8.dylib:arm64+0x246c4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #13 inst_type_w_ jltypes.c:1775 (libjulia-internal-debug.1.8.dylib:arm64+0x24604) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #14 ijl_instantiate_unionall jltypes.c:1065 (libjulia-internal-debug.1.8.dylib:arm64+0x23950) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #15 rename_unionall subtype.c:497 (libjulia-internal-debug.1.8.dylib:arm64+0x15306c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #16 unalias_unionall subtype.c:752 (libjulia-internal-debug.1.8.dylib:arm64+0x152720) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #17 subtype_unionall subtype.c:763 (libjulia-internal-debug.1.8.dylib:arm64+0x14faac) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #18 subtype subtype.c:1257 (libjulia-internal-debug.1.8.dylib:arm64+0x14ecd4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #19 subtype_left_var subtype.c:571 (libjulia-internal-debug.1.8.dylib:arm64+0x153500) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #20 var_lt subtype.c:612 (libjulia-internal-debug.1.8.dylib:arm64+0x150c28) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #21 subtype subtype.c:1228 (libjulia-internal-debug.1.8.dylib:arm64+0x14e808) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #22 subtype_tuple_tail subtype.c:1076 (libjulia-internal-debug.1.8.dylib:arm64+0x155c28) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #23 subtype_tuple subtype.c:1155 (libjulia-internal-debug.1.8.dylib:arm64+0x151d0c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #24 subtype subtype.c:1295 (libjulia-internal-debug.1.8.dylib:arm64+0x14f1d4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #25 subtype_unionall subtype.c:805 (libjulia-internal-debug.1.8.dylib:arm64+0x150204) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #26 subtype subtype.c:1254 (libjulia-internal-debug.1.8.dylib:arm64+0x14ec70) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #27 subtype_unionall subtype.c:805 (libjulia-internal-debug.1.8.dylib:arm64+0x150204) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #28 subtype subtype.c:1254 (libjulia-internal-debug.1.8.dylib:arm64+0x14ec70) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #29 subtype_unionall subtype.c:805 (libjulia-internal-debug.1.8.dylib:arm64+0x150204) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #30 subtype subtype.c:1254 (libjulia-internal-debug.1.8.dylib:arm64+0x14ec70) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #31 exists_subtype subtype.c:1391 (libjulia-internal-debug.1.8.dylib:arm64+0x14dab8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #32 forall_exists_subtype subtype.c:1419 (libjulia-internal-debug.1.8.dylib:arm64+0x1447ac) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #33 ijl_subtype_env subtype.c:1881 (libjulia-internal-debug.1.8.dylib:arm64+0x1441e8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #34 ijl_subtype subtype.c:1917 (libjulia-internal-debug.1.8.dylib:arm64+0x144968) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #35 subtype_tuple_tail subtype.c:1073 (libjulia-internal-debug.1.8.dylib:arm64+0x155bf8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #36 subtype_tuple subtype.c:1155 (libjulia-internal-debug.1.8.dylib:arm64+0x151d0c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #37 subtype subtype.c:1295 (libjulia-internal-debug.1.8.dylib:arm64+0x14f1d4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #38 exists_subtype subtype.c:1391 (libjulia-internal-debug.1.8.dylib:arm64+0x14dab8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #39 forall_exists_subtype subtype.c:1419 (libjulia-internal-debug.1.8.dylib:arm64+0x1447ac) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #40 ijl_types_equal subtype.c:1973 (libjulia-internal-debug.1.8.dylib:arm64+0x144cb0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #41 jl_specializations_get_linfo_ gf.c:129 (libjulia-internal-debug.1.8.dylib:arm64+0x35ee0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #42 ijl_specializations_get_linfo gf.c:189 (libjulia-internal-debug.1.8.dylib:arm64+0x35a7c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #43 jl_recache_method_instance dump.c:3231 (libjulia-internal-debug.1.8.dylib:arm64+0xba8e4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #44 jl_recache_other_ dump.c:3247 (libjulia-internal-debug.1.8.dylib:arm64+0xba4c4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #45 jl_recache_other dump.c:3264 (libjulia-internal-debug.1.8.dylib:arm64+0xb3a8c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #46 _jl_restore_incremental dump.c:3376 (libjulia-internal-debug.1.8.dylib:arm64+0xa68b8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #47 ijl_restore_incremental dump.c:3436 (libjulia-internal-debug.1.8.dylib:arm64+0xa6dd4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #48 (0x00012b9fcd94) #49 (0x00012fd90690) #50 (0x00013037d33c) #51 (0x00013038810c) #52 (0x00015248c5d4) #53 (0x00015248cc84) #54 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #55 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #56 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0xcd5a8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #57 call_require toplevel.c:462 (libjulia-internal-debug.1.8.dylib:arm64+0xd5ea4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #58 eval_import_path toplevel.c:499 (libjulia-internal-debug.1.8.dylib:arm64+0xd2bd8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #59 jl_toplevel_eval_flex toplevel.c:725 (libjulia-internal-debug.1.8.dylib:arm64+0xcf764) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #60 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #61 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #62 ijl_toplevel_eval toplevel.c:915 (libjulia-internal-debug.1.8.dylib:arm64+0xd36e4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #63 ijl_toplevel_eval_in toplevel.c:965 (libjulia-internal-debug.1.8.dylib:arm64+0xd3b48) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #64 (0x0001272dc058) #65 (0x0001272e8344) #66 (0x0001272e84f8) #67 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #68 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #69 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x137548) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #70 true_main jlapi.c:575 (libjulia-internal-debug.1.8.dylib:arm64+0x139880) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #71 jl_repl_entrypoint jlapi.c:719 (libjulia-internal-debug.1.8.dylib:arm64+0x139674) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #72 jl_load_repl loader_lib.c:471 (libjulia-debug.1.8.dylib:arm64+0x3010) (BuildId: e0d74e9cb12b3345a6bb92ce3ab1dc7732000000200000000100000000000b00) #73 main loader_exe.c:59 (julia-debug:arm64+0x100003eec) (BuildId: af341df0d9c53779904c6eb05a1a180b32000000200000000100000000000b00) Thread T329 (tid=0, running) created by main thread at: #0 ijl_new_task task.c:820 (libjulia-internal-debug.1.8.dylib:arm64+0x91b28) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #1 (0x000382fc75dc) #2 (0x000382f902a8) #3 (0x000382fb420c) #4 (0x000382fe0138) #5 (0x000382fe01fc) #6 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x86a1c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #9 do_call interpreter.c:126 (libjulia-internal-debug.1.8.dylib:arm64+0x865a4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #10 eval_value interpreter.c:215 (libjulia-internal-debug.1.8.dylib:arm64+0x83b8c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #11 eval_stmt_value interpreter.c:166 (libjulia-internal-debug.1.8.dylib:arm64+0x85a54) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #12 eval_body interpreter.c:594 (libjulia-internal-debug.1.8.dylib:arm64+0x81de0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #13 jl_interpret_toplevel_thunk interpreter.c:750 (libjulia-internal-debug.1.8.dylib:arm64+0x82ebc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #14 jl_toplevel_eval_flex toplevel.c:906 (libjulia-internal-debug.1.8.dylib:arm64+0xd1034) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #15 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #16 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #17 ijl_toplevel_eval toplevel.c:915 (libjulia-internal-debug.1.8.dylib:arm64+0xd36e4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #18 ijl_toplevel_eval_in toplevel.c:965 (libjulia-internal-debug.1.8.dylib:arm64+0xd3b48) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #19 (0x0001272dc058) #20 (0x0001272e8344) #21 (0x0001272e84f8) #22 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #23 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #24 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x137548) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #25 true_main jlapi.c:575 (libjulia-internal-debug.1.8.dylib:arm64+0x139880) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #26 jl_repl_entrypoint jlapi.c:719 (libjulia-internal-debug.1.8.dylib:arm64+0x139674) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #27 jl_load_repl loader_lib.c:471 (libjulia-debug.1.8.dylib:arm64+0x3010) (BuildId: e0d74e9cb12b3345a6bb92ce3ab1dc7732000000200000000100000000000b00) #28 main loader_exe.c:59 (julia-debug:arm64+0x100003eec) (BuildId: af341df0d9c53779904c6eb05a1a180b32000000200000000100000000000b00) Thread T327 (tid=0, running) created by main thread at: #0 ijl_new_task task.c:820 (libjulia-internal-debug.1.8.dylib:arm64+0x91b28) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #1 (0x000382fc75dc) #2 (0x000382f902a8) #3 (0x000382fb420c) #4 (0x000382fe0138) #5 (0x000382fe01fc) #6 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x86a1c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #9 do_call interpreter.c:126 (libjulia-internal-debug.1.8.dylib:arm64+0x865a4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #10 eval_value interpreter.c:215 (libjulia-internal-debug.1.8.dylib:arm64+0x83b8c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #11 eval_stmt_value interpreter.c:166 (libjulia-internal-debug.1.8.dylib:arm64+0x85a54) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #12 eval_body interpreter.c:594 (libjulia-internal-debug.1.8.dylib:arm64+0x81de0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #13 jl_interpret_toplevel_thunk interpreter.c:750 (libjulia-internal-debug.1.8.dylib:arm64+0x82ebc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #14 jl_toplevel_eval_flex toplevel.c:906 (libjulia-internal-debug.1.8.dylib:arm64+0xd1034) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #15 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #16 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #17 ijl_toplevel_eval toplevel.c:915 (libjulia-internal-debug.1.8.dylib:arm64+0xd36e4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #18 ijl_toplevel_eval_in toplevel.c:965 (libjulia-internal-debug.1.8.dylib:arm64+0xd3b48) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #19 (0x0001272dc058) #20 (0x0001272e8344) #21 (0x0001272e84f8) #22 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #23 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #24 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x137548) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #25 true_main jlapi.c:575 (libjulia-internal-debug.1.8.dylib:arm64+0x139880) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #26 jl_repl_entrypoint jlapi.c:719 (libjulia-internal-debug.1.8.dylib:arm64+0x139674) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #27 jl_load_repl loader_lib.c:471 (libjulia-debug.1.8.dylib:arm64+0x3010) (BuildId: e0d74e9cb12b3345a6bb92ce3ab1dc7732000000200000000100000000000b00) #28 main loader_exe.c:59 (julia-debug:arm64+0x100003eec) (BuildId: af341df0d9c53779904c6eb05a1a180b32000000200000000100000000000b00) SUMMARY: ThreadSanitizer: data race gc.c:1443 in sweep_pool_page ================== ================== WARNING: ThreadSanitizer: data race (pid=77090) Read of size 8 at 0x0002c8ef2c10 by thread T329: #0 sweep_page gc.c:1327 (libjulia-internal-debug.1.8.dylib:arm64+0x11e820) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #1 sweep_pool_page gc.c:1447 (libjulia-internal-debug.1.8.dylib:arm64+0x11e73c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #2 sweep_pool_pagetable0 gc.c:1467 (libjulia-internal-debug.1.8.dylib:arm64+0x11e588) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #3 sweep_pool_pagetable1 gc.c:1487 (libjulia-internal-debug.1.8.dylib:arm64+0x11e31c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #4 sweep_pool_pagetable gc.c:1517 (libjulia-internal-debug.1.8.dylib:arm64+0x11e084) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #5 gc_sweep_pool gc.c:1592 (libjulia-internal-debug.1.8.dylib:arm64+0x11cf98) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #6 _jl_gc_collect gc.c:3243 (libjulia-internal-debug.1.8.dylib:arm64+0x11677c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 ijl_gc_collect gc.c:3346 (libjulia-internal-debug.1.8.dylib:arm64+0x1155e8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 maybe_collect gc.c:903 (libjulia-internal-debug.1.8.dylib:arm64+0x117d04) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #9 jl_gc_pool_alloc_inner gc.c:1247 (libjulia-internal-debug.1.8.dylib:arm64+0x10e068) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #10 ijl_gc_pool_alloc gc.c:1296 (libjulia-internal-debug.1.8.dylib:arm64+0x10df70) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #11 (0x0003813ec2e8) #12 (0x0003813ec218) #13 (0x0003813ec1fc) #14 (0x0003816040c4) #15 (0x000388240578) #16 (0x00038a2d49a0) #17 (0x00038a2e0250) #18 (0x00038a2ec0ec) #19 (0x00038a2ec200) #20 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #21 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #22 (0x000388fd4770) #23 (0x000388fd4d80) #24 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #25 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #26 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x8f37c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #27 start_task task.c:931 (libjulia-internal-debug.1.8.dylib:arm64+0x92d58) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) Previous write of size 8 at 0x0002c8ef2c10 by thread T327: #0 add_page gc.c:1228 (libjulia-internal-debug.1.8.dylib:arm64+0x11ad40) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #1 jl_gc_pool_alloc_inner gc.c:1285 (libjulia-internal-debug.1.8.dylib:arm64+0x10e440) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #2 jl_gc_pool_alloc_noinline gc.c:1306 (libjulia-internal-debug.1.8.dylib:arm64+0x10e504) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #3 jl_gc_alloc_ julia_internal.h:368 (libjulia-internal-debug.1.8.dylib:arm64+0x10ce5c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #4 jl_gc_alloc gc.c:3391 (libjulia-internal-debug.1.8.dylib:arm64+0x117420) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #5 _new_array_ array.c:134 (libjulia-internal-debug.1.8.dylib:arm64+0x93b18) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #6 _new_array array.c:198 (libjulia-internal-debug.1.8.dylib:arm64+0x9630c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 ijl_alloc_array_1d array.c:436 (libjulia-internal-debug.1.8.dylib:arm64+0x9637c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 (0x000382ac00fc) #9 (0x000382ad84c0) #10 (0x00038a2c80f4) #11 (0x00038a2d45d8) #12 (0x00038a2e0250) #13 (0x00038a2ec0ec) #14 (0x00038a2ec200) #15 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #16 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #17 (0x000388fd4770) #18 (0x000388fd4d80) #19 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #20 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #21 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x8f37c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #22 start_task task.c:931 (libjulia-internal-debug.1.8.dylib:arm64+0x92d58) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) Location is heap block of size 163840 at 0x0002c8ed0000 allocated by main thread: #0 calloc :119543520 (libclang_rt.tsan_osx_dynamic.dylib:arm64+0x37200) (BuildId: cda2289819863a529ee50716abc15be132000000200000000100000000000b00) #1 gc_perm_alloc_large gc.c:3727 (libjulia-internal-debug.1.8.dylib:arm64+0x11953c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #2 jl_gc_perm_alloc_nolock gc.c:3757 (libjulia-internal-debug.1.8.dylib:arm64+0x119280) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #3 jl_gc_alloc_new_page gc-pages.c:94 (libjulia-internal-debug.1.8.dylib:arm64+0x122434) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #4 jl_gc_alloc_page gc-pages.c:222 (libjulia-internal-debug.1.8.dylib:arm64+0x121e04) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #5 add_page gc.c:1226 (libjulia-internal-debug.1.8.dylib:arm64+0x11acc0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #6 jl_gc_pool_alloc_inner gc.c:1285 (libjulia-internal-debug.1.8.dylib:arm64+0x10e440) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 jl_gc_pool_alloc_noinline gc.c:1306 (libjulia-internal-debug.1.8.dylib:arm64+0x10e504) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 jl_gc_alloc_ julia_internal.h:368 (libjulia-internal-debug.1.8.dylib:arm64+0x10ce5c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #9 jl_gc_alloc gc.c:3391 (libjulia-internal-debug.1.8.dylib:arm64+0x117420) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #10 ijl_new_struct datatype.c:1263 (libjulia-internal-debug.1.8.dylib:arm64+0xe1a5c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #11 ijl_type_union jltypes.c:517 (libjulia-internal-debug.1.8.dylib:arm64+0x20e64) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #12 inst_type_w_ jltypes.c:1778 (libjulia-internal-debug.1.8.dylib:arm64+0x246c4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #13 inst_type_w_ jltypes.c:1775 (libjulia-internal-debug.1.8.dylib:arm64+0x24604) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #14 ijl_instantiate_unionall jltypes.c:1065 (libjulia-internal-debug.1.8.dylib:arm64+0x23950) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #15 rename_unionall subtype.c:497 (libjulia-internal-debug.1.8.dylib:arm64+0x15306c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #16 unalias_unionall subtype.c:752 (libjulia-internal-debug.1.8.dylib:arm64+0x152720) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #17 subtype_unionall subtype.c:763 (libjulia-internal-debug.1.8.dylib:arm64+0x14faac) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #18 subtype subtype.c:1257 (libjulia-internal-debug.1.8.dylib:arm64+0x14ecd4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #19 subtype_left_var subtype.c:571 (libjulia-internal-debug.1.8.dylib:arm64+0x153500) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #20 var_lt subtype.c:612 (libjulia-internal-debug.1.8.dylib:arm64+0x150c28) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #21 subtype subtype.c:1228 (libjulia-internal-debug.1.8.dylib:arm64+0x14e808) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #22 subtype_tuple_tail subtype.c:1076 (libjulia-internal-debug.1.8.dylib:arm64+0x155c28) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #23 subtype_tuple subtype.c:1155 (libjulia-internal-debug.1.8.dylib:arm64+0x151d0c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #24 subtype subtype.c:1295 (libjulia-internal-debug.1.8.dylib:arm64+0x14f1d4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #25 subtype_unionall subtype.c:805 (libjulia-internal-debug.1.8.dylib:arm64+0x150204) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #26 subtype subtype.c:1254 (libjulia-internal-debug.1.8.dylib:arm64+0x14ec70) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #27 subtype_unionall subtype.c:805 (libjulia-internal-debug.1.8.dylib:arm64+0x150204) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #28 subtype subtype.c:1254 (libjulia-internal-debug.1.8.dylib:arm64+0x14ec70) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #29 subtype_unionall subtype.c:805 (libjulia-internal-debug.1.8.dylib:arm64+0x150204) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #30 subtype subtype.c:1254 (libjulia-internal-debug.1.8.dylib:arm64+0x14ec70) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #31 exists_subtype subtype.c:1391 (libjulia-internal-debug.1.8.dylib:arm64+0x14dab8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #32 forall_exists_subtype subtype.c:1419 (libjulia-internal-debug.1.8.dylib:arm64+0x1447ac) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #33 ijl_subtype_env subtype.c:1881 (libjulia-internal-debug.1.8.dylib:arm64+0x1441e8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #34 ijl_subtype subtype.c:1917 (libjulia-internal-debug.1.8.dylib:arm64+0x144968) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #35 subtype_tuple_tail subtype.c:1073 (libjulia-internal-debug.1.8.dylib:arm64+0x155bf8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #36 subtype_tuple subtype.c:1155 (libjulia-internal-debug.1.8.dylib:arm64+0x151d0c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #37 subtype subtype.c:1295 (libjulia-internal-debug.1.8.dylib:arm64+0x14f1d4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #38 exists_subtype subtype.c:1391 (libjulia-internal-debug.1.8.dylib:arm64+0x14dab8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #39 forall_exists_subtype subtype.c:1419 (libjulia-internal-debug.1.8.dylib:arm64+0x1447ac) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #40 ijl_types_equal subtype.c:1973 (libjulia-internal-debug.1.8.dylib:arm64+0x144cb0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #41 jl_specializations_get_linfo_ gf.c:129 (libjulia-internal-debug.1.8.dylib:arm64+0x35ee0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #42 ijl_specializations_get_linfo gf.c:189 (libjulia-internal-debug.1.8.dylib:arm64+0x35a7c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #43 jl_recache_method_instance dump.c:3231 (libjulia-internal-debug.1.8.dylib:arm64+0xba8e4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #44 jl_recache_other_ dump.c:3247 (libjulia-internal-debug.1.8.dylib:arm64+0xba4c4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #45 jl_recache_other dump.c:3264 (libjulia-internal-debug.1.8.dylib:arm64+0xb3a8c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #46 _jl_restore_incremental dump.c:3376 (libjulia-internal-debug.1.8.dylib:arm64+0xa68b8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #47 ijl_restore_incremental dump.c:3436 (libjulia-internal-debug.1.8.dylib:arm64+0xa6dd4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #48 (0x00012b9fcd94) #49 (0x00012fd90690) #50 (0x00013037d33c) #51 (0x00013038810c) #52 (0x00015248c5d4) #53 (0x00015248cc84) #54 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #55 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #56 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0xcd5a8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #57 call_require toplevel.c:462 (libjulia-internal-debug.1.8.dylib:arm64+0xd5ea4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #58 eval_import_path toplevel.c:499 (libjulia-internal-debug.1.8.dylib:arm64+0xd2bd8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #59 jl_toplevel_eval_flex toplevel.c:725 (libjulia-internal-debug.1.8.dylib:arm64+0xcf764) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #60 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #61 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #62 ijl_toplevel_eval toplevel.c:915 (libjulia-internal-debug.1.8.dylib:arm64+0xd36e4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #63 ijl_toplevel_eval_in toplevel.c:965 (libjulia-internal-debug.1.8.dylib:arm64+0xd3b48) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #64 (0x0001272dc058) #65 (0x0001272e8344) #66 (0x0001272e84f8) #67 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #68 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #69 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x137548) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #70 true_main jlapi.c:575 (libjulia-internal-debug.1.8.dylib:arm64+0x139880) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #71 jl_repl_entrypoint jlapi.c:719 (libjulia-internal-debug.1.8.dylib:arm64+0x139674) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #72 jl_load_repl loader_lib.c:471 (libjulia-debug.1.8.dylib:arm64+0x3010) (BuildId: e0d74e9cb12b3345a6bb92ce3ab1dc7732000000200000000100000000000b00) #73 main loader_exe.c:59 (julia-debug:arm64+0x100003eec) (BuildId: af341df0d9c53779904c6eb05a1a180b32000000200000000100000000000b00) Thread T329 (tid=0, running) created by main thread at: #0 ijl_new_task task.c:820 (libjulia-internal-debug.1.8.dylib:arm64+0x91b28) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #1 (0x000382fc75dc) #2 (0x000382f902a8) #3 (0x000382fb420c) #4 (0x000382fe0138) #5 (0x000382fe01fc) #6 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x86a1c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #9 do_call interpreter.c:126 (libjulia-internal-debug.1.8.dylib:arm64+0x865a4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #10 eval_value interpreter.c:215 (libjulia-internal-debug.1.8.dylib:arm64+0x83b8c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #11 eval_stmt_value interpreter.c:166 (libjulia-internal-debug.1.8.dylib:arm64+0x85a54) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #12 eval_body interpreter.c:594 (libjulia-internal-debug.1.8.dylib:arm64+0x81de0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #13 jl_interpret_toplevel_thunk interpreter.c:750 (libjulia-internal-debug.1.8.dylib:arm64+0x82ebc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #14 jl_toplevel_eval_flex toplevel.c:906 (libjulia-internal-debug.1.8.dylib:arm64+0xd1034) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #15 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #16 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #17 ijl_toplevel_eval toplevel.c:915 (libjulia-internal-debug.1.8.dylib:arm64+0xd36e4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #18 ijl_toplevel_eval_in toplevel.c:965 (libjulia-internal-debug.1.8.dylib:arm64+0xd3b48) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #19 (0x0001272dc058) #20 (0x0001272e8344) #21 (0x0001272e84f8) #22 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #23 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #24 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x137548) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #25 true_main jlapi.c:575 (libjulia-internal-debug.1.8.dylib:arm64+0x139880) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #26 jl_repl_entrypoint jlapi.c:719 (libjulia-internal-debug.1.8.dylib:arm64+0x139674) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #27 jl_load_repl loader_lib.c:471 (libjulia-debug.1.8.dylib:arm64+0x3010) (BuildId: e0d74e9cb12b3345a6bb92ce3ab1dc7732000000200000000100000000000b00) #28 main loader_exe.c:59 (julia-debug:arm64+0x100003eec) (BuildId: af341df0d9c53779904c6eb05a1a180b32000000200000000100000000000b00) Thread T327 (tid=0, running) created by main thread at: #0 ijl_new_task task.c:820 (libjulia-internal-debug.1.8.dylib:arm64+0x91b28) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #1 (0x000382fc75dc) #2 (0x000382f902a8) #3 (0x000382fb420c) #4 (0x000382fe0138) #5 (0x000382fe01fc) #6 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x86a1c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #9 do_call interpreter.c:126 (libjulia-internal-debug.1.8.dylib:arm64+0x865a4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #10 eval_value interpreter.c:215 (libjulia-internal-debug.1.8.dylib:arm64+0x83b8c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #11 eval_stmt_value interpreter.c:166 (libjulia-internal-debug.1.8.dylib:arm64+0x85a54) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #12 eval_body interpreter.c:594 (libjulia-internal-debug.1.8.dylib:arm64+0x81de0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #13 jl_interpret_toplevel_thunk interpreter.c:750 (libjulia-internal-debug.1.8.dylib:arm64+0x82ebc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #14 jl_toplevel_eval_flex toplevel.c:906 (libjulia-internal-debug.1.8.dylib:arm64+0xd1034) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #15 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #16 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #17 ijl_toplevel_eval toplevel.c:915 (libjulia-internal-debug.1.8.dylib:arm64+0xd36e4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #18 ijl_toplevel_eval_in toplevel.c:965 (libjulia-internal-debug.1.8.dylib:arm64+0xd3b48) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #19 (0x0001272dc058) #20 (0x0001272e8344) #21 (0x0001272e84f8) #22 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #23 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #24 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x137548) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #25 true_main jlapi.c:575 (libjulia-internal-debug.1.8.dylib:arm64+0x139880) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #26 jl_repl_entrypoint jlapi.c:719 (libjulia-internal-debug.1.8.dylib:arm64+0x139674) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #27 jl_load_repl loader_lib.c:471 (libjulia-debug.1.8.dylib:arm64+0x3010) (BuildId: e0d74e9cb12b3345a6bb92ce3ab1dc7732000000200000000100000000000b00) #28 main loader_exe.c:59 (julia-debug:arm64+0x100003eec) (BuildId: af341df0d9c53779904c6eb05a1a180b32000000200000000100000000000b00) SUMMARY: ThreadSanitizer: data race gc.c:1327 in sweep_page ================== ================== WARNING: ThreadSanitizer: data race (pid=77090) Write of size 8 at 0x0002e0d9c1c8 by thread T329: #0 sweep_page gc.c:1381 (libjulia-internal-debug.1.8.dylib:arm64+0x11ec20) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #1 sweep_pool_page gc.c:1447 (libjulia-internal-debug.1.8.dylib:arm64+0x11e73c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #2 sweep_pool_pagetable0 gc.c:1467 (libjulia-internal-debug.1.8.dylib:arm64+0x11e588) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #3 sweep_pool_pagetable1 gc.c:1487 (libjulia-internal-debug.1.8.dylib:arm64+0x11e31c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #4 sweep_pool_pagetable gc.c:1517 (libjulia-internal-debug.1.8.dylib:arm64+0x11e084) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #5 gc_sweep_pool gc.c:1592 (libjulia-internal-debug.1.8.dylib:arm64+0x11cf98) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #6 _jl_gc_collect gc.c:3243 (libjulia-internal-debug.1.8.dylib:arm64+0x11677c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 ijl_gc_collect gc.c:3346 (libjulia-internal-debug.1.8.dylib:arm64+0x1155e8) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 maybe_collect gc.c:903 (libjulia-internal-debug.1.8.dylib:arm64+0x117d04) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #9 jl_gc_pool_alloc_inner gc.c:1247 (libjulia-internal-debug.1.8.dylib:arm64+0x10e068) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #10 ijl_gc_pool_alloc gc.c:1296 (libjulia-internal-debug.1.8.dylib:arm64+0x10df70) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #11 (0x0003813ec2e8) #12 (0x0003813ec218) #13 (0x0003813ec1fc) #14 (0x0003816040c4) #15 (0x000388240578) #16 (0x00038a2d49a0) #17 (0x00038a2e0250) #18 (0x00038a2ec0ec) #19 (0x00038a2ec200) #20 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #21 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #22 (0x000388fd4770) #23 (0x000388fd4d80) #24 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #25 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #26 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x8f37c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #27 start_task task.c:931 (libjulia-internal-debug.1.8.dylib:arm64+0x92d58) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) Previous read of size 8 at 0x0002e0d9c1c8 by thread T319: #0 sig_match_fast gf.c:2396 (libjulia-internal-debug.1.8.dylib:arm64+0x4bc48) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #1 jl_lookup_generic_ gf.c:2476 (libjulia-internal-debug.1.8.dylib:arm64+0x4803c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #2 ijl_apply_generic gf.c:2555 (libjulia-internal-debug.1.8.dylib:arm64+0x47e08) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #3 (0x000382148110) #4 (0x0003926c41c0) #5 (0x0003926f4054) #6 (0x0003926f40a0) #7 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #9 (0x0003926dc0c8) #10 (0x0003926dc1d4) #11 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #12 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #13 (0x0003923cc310) #14 (0x0003924380bc) #15 (0x0003924d40e0) #16 (0x0003924d41c0) #17 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #18 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #19 (0x000382d24948) #20 (0x000382d547dc) #21 (0x000388fd48a8) #22 (0x000388fd4d80) #23 _jl_invoke gf.c:2358 (libjulia-internal-debug.1.8.dylib:arm64+0x47bfc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #24 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #25 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x8f37c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #26 start_task task.c:931 (libjulia-internal-debug.1.8.dylib:arm64+0x92d58) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) Thread T329 (tid=0, running) created by main thread at: #0 ijl_new_task task.c:820 (libjulia-internal-debug.1.8.dylib:arm64+0x91b28) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #1 (0x000382fc75dc) #2 (0x000382f902a8) #3 (0x000382fb420c) #4 (0x000382fe0138) #5 (0x000382fe01fc) #6 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x86a1c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #9 do_call interpreter.c:126 (libjulia-internal-debug.1.8.dylib:arm64+0x865a4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #10 eval_value interpreter.c:215 (libjulia-internal-debug.1.8.dylib:arm64+0x83b8c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #11 eval_stmt_value interpreter.c:166 (libjulia-internal-debug.1.8.dylib:arm64+0x85a54) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #12 eval_body interpreter.c:594 (libjulia-internal-debug.1.8.dylib:arm64+0x81de0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #13 jl_interpret_toplevel_thunk interpreter.c:750 (libjulia-internal-debug.1.8.dylib:arm64+0x82ebc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #14 jl_toplevel_eval_flex toplevel.c:906 (libjulia-internal-debug.1.8.dylib:arm64+0xd1034) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #15 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #16 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #17 ijl_toplevel_eval toplevel.c:915 (libjulia-internal-debug.1.8.dylib:arm64+0xd36e4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #18 ijl_toplevel_eval_in toplevel.c:965 (libjulia-internal-debug.1.8.dylib:arm64+0xd3b48) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #19 (0x0001272dc058) #20 (0x0001272e8344) #21 (0x0001272e84f8) #22 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #23 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #24 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x137548) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #25 true_main jlapi.c:575 (libjulia-internal-debug.1.8.dylib:arm64+0x139880) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #26 jl_repl_entrypoint jlapi.c:719 (libjulia-internal-debug.1.8.dylib:arm64+0x139674) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #27 jl_load_repl loader_lib.c:471 (libjulia-debug.1.8.dylib:arm64+0x3010) (BuildId: e0d74e9cb12b3345a6bb92ce3ab1dc7732000000200000000100000000000b00) #28 main loader_exe.c:59 (julia-debug:arm64+0x100003eec) (BuildId: af341df0d9c53779904c6eb05a1a180b32000000200000000100000000000b00) Thread T319 (tid=0, running) created by main thread at: #0 ijl_new_task task.c:820 (libjulia-internal-debug.1.8.dylib:arm64+0x91b28) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #1 (0x000382fc75dc) #2 (0x000382f902a8) #3 (0x000382fb420c) #4 (0x000382fe0138) #5 (0x000382fe01fc) #6 _jl_invoke gf.c:2377 (libjulia-internal-debug.1.8.dylib:arm64+0x47d34) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #7 ijl_apply_generic gf.c:2559 (libjulia-internal-debug.1.8.dylib:arm64+0x47e24) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #8 jl_apply julia.h:1843 (libjulia-internal-debug.1.8.dylib:arm64+0x86a1c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #9 do_call interpreter.c:126 (libjulia-internal-debug.1.8.dylib:arm64+0x865a4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #10 eval_value interpreter.c:215 (libjulia-internal-debug.1.8.dylib:arm64+0x83b8c) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #11 eval_stmt_value interpreter.c:166 (libjulia-internal-debug.1.8.dylib:arm64+0x85a54) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #12 eval_body interpreter.c:594 (libjulia-internal-debug.1.8.dylib:arm64+0x81de0) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #13 jl_interpret_toplevel_thunk interpreter.c:750 (libjulia-internal-debug.1.8.dylib:arm64+0x82ebc) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #14 jl_toplevel_eval_flex toplevel.c:906 (libjulia-internal-debug.1.8.dylib:arm64+0xd1034) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #15 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #16 jl_toplevel_eval_flex toplevel.c:850 (libjulia-internal-debug.1.8.dylib:arm64+0xd0798) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #17 ijl_toplevel_eval toplevel.c:915 (libjulia-internal-debug.1.8.dylib:arm64+0xd36e4) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #18 ijl_toplevel_eval_in toplevel.c:965 (libjulia-internal-debug.1.8.dylib:arm64+0xd3b48) (BuildId: df06725d5d78354dbf18495db0682ac632000000200000000100000000000b00) #19 (0x0001272dc058) #20 (0x0001272e8344) #21 (0x0001272e84f8) ```
vtjnash commented 1 year ago

Your best bet now is to run it under rr and figure out where those $PC were allocated and what functions they correspond to. There is some debugging tips in the devdocs manual, as well as often people on Slack who can answer questions on #internals or #multithreading

MilesCranmer commented 1 year ago

Thanks, will try.

Curiously I tried running the entire test suite under rr chaos mode, and there were no problems at all. It's only Windows where things actually crash (but sadly no rr for Windows).

MilesCranmer commented 1 year ago

I was never able to track down the bug. However it does seem like it's related to Distributed in the Windows CI as it tends to go away when the distributed computing tests are turned off.

Thus this may potentially be fixed by setting exeflags='--heap-size-hint=1G' when calling addprocs. Made an issue as it seems the interaction between the two is not yet defined: https://github.com/JuliaLang/julia/issues/50673