-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS build source crashes the OS (for both julia-1.8.0-beta3 and master) #45129
Comments
Is this only with M1 or also Intel? |
The console logs are full of this:
and when I said thousands per second, it's actually tens of thousands per second. And even when the Julia process is killed in time, it takes a while for the system to process all that and recover. |
If I run
The top of the backtrace:
Even if I tell lldb to |
So this happens with system unwind? This is what we're currently using in the official binaries: https://github.com/JuliaPackaging/Yggdrasil/tree/cc0b0caa2df2857cc9c00527732cb79c97ed35a1/L/LLVMLibUnwind/LLVMLibUnwind%4012.0.1. There are some patches there, I don't know if anything is relevant here. Might try not using system libunwind? |
|
Please reopen if still an issue. |
Now that #44584 is fixed (thanks @giordano !), we tried to build julia-1.8.0-beta3 from source as part of Homebrew again. It crashed our CI nodes, and does the same locally on my laptop: forced reboot was the only solution.
The crash occurs in this step:
cd /private/tmp/julia-20220430-38583-144297r/julia-1.8.0-beta3/base && /private/tmp/julia-20220430-38583-144297r/julia-1.8.0-beta3/usr/bin/julia -C "generic;cortex-a57;thunderx2t99;armv8.2-a,crypto,fullfp16,lse,rdm" --output-ji /private/tmp/julia-20220430-38583-144297r/julia-1.8.0-beta3/usr/lib/julia/corecompiler.ji.tmp --startup-file=no --warn-overwrite=yes -g0 -O0 compiler/compiler.jl
When this is running, we have the following:
julia
process, using ~100% CPUkernel_task
is using about ~200% CPU, and increasing fastanalyticsd
andlogd
are also furiously activeThis is 100% reproducible 😭
The build command-line is:
make VERBOSE=1 USE_BINARYBUILDER=0 prefix=/opt/homebrew/Cellar/julia/1.8.0-beta3 sysconfdir=/opt/homebrew/etc USE_SYSTEM_CSL=1 USE_SYSTEM_LIBUNWIND=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_OPENLIBM=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_GMP=1 USE_SYSTEM_MPFR=1 USE_SYSTEM_LIBSUITESPARSE=1 USE_SYSTEM_UTF8PROC=1 USE_SYSTEM_MBEDTLS=1 USE_SYSTEM_LIBSSH2=1 USE_SYSTEM_NGHTTP2=1 USE_SYSTEM_CURL=1 USE_SYSTEM_LIBGIT2=1 USE_SYSTEM_PATCHELF=1 USE_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 LIBBLAS=-lopenblas LIBBLASNAME=libopenblas LIBLAPACK=-lopenblas LIBLAPACKNAME=libopenblas USE_BLAS64=0 PYTHON=python3 MACOSX_VERSION_MIN=12 JULIA_CPU_TARGET=generic;cortex-a57;thunderx2t99;armv8.2-a,crypto,fullfp16,lse,rdm TAGGED_RELEASE_BANNER=Built by Homebrew (v1.8.0-beta3) install
The install is from
julia-1.8.0-beta3.tar.gz
source, with this patch applied: 5e74df5fThe text was updated successfully, but these errors were encountered: