Skip to content

Stack traces short/missing on Darwin/ARM64 #39986

Closed

Description

I'm seeing stack traces with only a few layers, or none, on an M1 mac, with yesterday's master. @staticfloat suggests this is related to the "Unwinding from JIT frames doesn't work" item of #36617

julia> sqrt(-1)
ERROR: DomainError with -1.0:
sqrt will only return a complex result if called with a complex argument. Try sqrt(Complex(x)).
Stacktrace:
 [1] throw_complex_domainerror(f::Symbol, x::Float64)
   @ Base.Math ./math.jl:33

julia> Matrix{Int}([1 2; 3 4.5])
ERROR: InexactError: Int64(4.5)

julia> versioninfo()
Julia Version 1.7.0-DEV.685
Commit f3c66b3f9d (2021-03-10 18:21 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin20.3.0)
  CPU: Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, cyclone)
Environment:
  JULIA_NUM_THREADS = 4
  JULIA_EDITOR = "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    system:apple siliconAffects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chipssystem:armARMv7 and AArch64upstreamThe issue is with an upstream dependency, e.g. LLVM

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions